/* The core layout is styled locally so it also works while the Tailwind CDN loads. */
:root{--green:#193d32;--green-2:#285444;--cream:#f6f4ed;--paper:#fffefa;--ink:#23352e;--muted:#6b766e;--line:#dedfd5;--gold:#b18b51;--red:#a23e32;--radius:14px;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:var(--cream);font-size:15px;line-height:1.6;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit;text-decoration:none}button:disabled{opacity:.5;cursor:not-allowed}button,a,input,select,textarea{touch-action:manipulation}[hidden]{display:none!important}img{max-width:100%;display:block}h1,h2,h3,p{margin:0}h1,h2,h3{font-weight:500}h1,h2{font-family:Georgia,"Times New Roman",serif;letter-spacing:-.045em;line-height:1.1}em{font-weight:400;color:#657c55}button:focus-visible,a:focus-visible{outline:3px solid var(--gold);outline-offset:4px}input:focus,select:focus,textarea:focus{outline:2px solid #7f9983;outline-offset:1px;border-color:var(--green)}.shell{max-width:1240px;margin:0 auto;padding-left:40px;padding-right:40px}.icon{height:20px;width:20px;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.icon-library{position:absolute;width:0;height:0;overflow:hidden}.muted{color:var(--muted)}.eyebrow{font-size:10px;font-weight:650;letter-spacing:.18em;line-height:1.6}.btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 20px;border-radius:7px;font-size:12px;font-weight:600;line-height:1.5;transition:background .18s,transform .18s;white-space:nowrap;min-height:46px}.btn:hover:not(:disabled){transform:translateY(-1px)}.btn-primary{background:var(--green);color:#fff}.btn-primary:hover:not(:disabled){background:var(--green-2)}.btn-outline{border-color:#d5d9ce;background:transparent;color:var(--green)}.btn-outline:hover:not(:disabled){background:#edf0e7}.btn-small{padding:10px 15px;min-height:42px}.text-link{display:inline-flex;align-items:center;gap:18px;font-weight:600;font-size:12px;border-bottom:1px solid #8b9c89;padding:0 0 7px}.site-header{border-bottom:1px solid #e5e5da;background:var(--cream)}.header-inner{min-height:100px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:flex;align-items:center;gap:11px;font-family:Georgia,serif;font-size:20px;letter-spacing:.1em;line-height:1.1}.brand img{border-radius:50%}.brand-sub{font-family:Inter,-apple-system,sans-serif;display:block;letter-spacing:.33em;font-size:9px;font-weight:600;margin-top:6px}.public-nav,.private-nav{display:flex;align-items:center;gap:34px}.nav-link{font-size:12px;font-weight:500;color:#516155}.nav-link:hover{color:var(--green)}.hero{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding-top:32px;padding-bottom:28px}.hero-copy{padding:52px 0 40px;align-self:center}.hero-copy .eyebrow{display:flex;align-items:center;gap:12px;color:#62705f}.little-line{width:24px;height:1px;background:var(--gold)}.hero h1{font-size:clamp(48px,5.8vw,78px);margin:26px 0 24px;line-height:1.035}.hero-description{font-size:15px;line-height:1.9;color:#6d766b;margin-bottom:30px}.hero-footnote{display:flex;align-items:center;gap:8px;font-size:10px;color:#7a8274;margin-top:50px}.hero-footnote .icon{width:16px;height:16px}.hero-image{min-height:530px;position:relative;overflow:hidden;border-radius:12px 12px 90px 12px;background:#79816b}.hero-image>img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0;object-position:50% 50%}.hero-image::after{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,rgba(19,39,27,.78))}.photo-caption{position:absolute;bottom:51px;left:30px;z-index:1;display:flex;align-items:center;gap:12px;color:#fff;font-family:Georgia,serif;font-size:20px;line-height:1.4}.photo-caption span:not(.caption-mark){font-family:Inter,-apple-system,sans-serif;display:block;font-size:7px;letter-spacing:.16em;margin-top:5px;opacity:.8}.caption-mark{width:45px;height:45px;border:1px solid #ffffff99;display:grid;place-items:center;border-radius:50%;font-size:17px;letter-spacing:-.13em;padding-right:3px}.photo-note{position:absolute;bottom:22px;left:30px;color:#ffffffa8;z-index:1;font-size:8px;letter-spacing:.03em}.farm-strip{display:flex;align-items:center;justify-content:space-around;padding-top:25px;padding-bottom:25px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);max-width:1160px}.farm-strip span{display:flex;align-items:center;gap:10px;font-size:11px;color:#63735e}.farm-strip .icon{color:#7c8f6c;width:19px;height:19px}.about-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding-top:80px;padding-bottom:80px}.section-number{color:#7c896f;margin-bottom:22px}.about-section h2,.sale-section h2{font-size:43px}.about-copy{padding-top:28px;max-width:470px}.about-copy p{font-size:13px;color:#75806e;line-height:1.9;margin-bottom:17px}.about-copy .text-link{margin-top:9px}.sale-section{display:grid;grid-template-columns:1fr 1fr;gap:60px;padding-top:48px;padding-bottom:70px;position:relative}.sale-section::before{content:"";position:absolute;top:0;left:40px;right:40px;height:1px;background:var(--line)}.sale-card{background:var(--paper);border:1px solid var(--line);border-radius:var(--radius);padding:27px 28px 0;align-self:center}.sale-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:25px}.soft-icon{display:grid;place-items:center;width:38px;height:38px;background:#edf0e7;border-radius:9px;color:#6b805b}.pill{font-size:9px;background:#f3efdf;color:#887348;border:1px solid #e7dfc8;padding:4px 9px;border-radius:50px}.sale-card h3{font-family:Georgia,serif;font-size:23px;letter-spacing:-.025em}.sale-card p{font-size:12px;color:#7c8576;margin:12px 0 23px;line-height:1.85}.sale-card-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e9eade;padding:15px 0;font-size:10px;color:#85907b}.sale-card-footer .icon{width:15px;height:15px}.contact-section{background:var(--green);color:var(--cream);border-radius:12px;max-width:1160px;display:flex;align-items:center;justify-content:space-between;padding:46px 50px;margin-bottom:70px}.contact-section .eyebrow{color:#aebea4;font-size:9px;margin-bottom:14px}.contact-section h2{font-size:43px;margin-bottom:14px}.contact-section em{color:#bdc8a5}.contact-section p:not(.eyebrow){font-size:12px;color:#b2c0b1}.contact-mark{font-family:Georgia,serif;letter-spacing:-.14em;font-size:75px;line-height:1.2;text-align:center;color:#c9d0b2;padding-right:10px}.contact-mark span{display:block;font-family:Inter,-apple-system,sans-serif;font-size:7px;letter-spacing:.23em;line-height:2.5}.site-footer{border-top:1px solid var(--line)}.footer-inner{padding-top:24px;padding-bottom:24px;display:flex;justify-content:space-between;align-items:center;gap:16px;color:#7a8375;font-size:10px}.footer-brand{font-size:10px;letter-spacing:.13em;color:var(--green);font-weight:650}.private-label{font-size:11px;color:#78816e;display:flex;align-items:center;gap:8px}.status-dot{width:6px;height:6px;border-radius:50%;background:#7c9660}.dashboard{padding-top:45px;padding-bottom:40px;min-height:calc(100vh - 180px)}.dashboard-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.dashboard-heading h1{font-size:38px;margin:12px 0 10px}.dashboard-heading .eyebrow{font-size:9px;color:#7d8a72}.dashboard-heading>.btn{align-self:flex-end;margin-bottom:3px}.dashboard-heading .muted{font-size:12px}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px;margin-bottom:30px}.stat-card{border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:22px 23px 18px}.stat-card.stat-featured{background:var(--green);color:#fff;border-color:var(--green)}.stat-label{display:flex;align-items:center;justify-content:space-between;font-size:11px;font-weight:500;color:#73816a}.stat-featured .stat-label{color:#c1ceb8}.stat-label .icon{width:19px;height:19px}.stat-value{font-size:37px;font-family:Georgia,serif;line-height:1.4;margin:9px 0 3px}.stat-card>span{font-size:9px;color:#96a08d}.stat-featured>span{color:#a6b99d}.stat-dot{width:8px;height:8px;border-radius:50%}.dot-cow{background:#a3b68d}.dot-bull{background:#ae8e6b}.dot-calf{background:#c7b571}.records-panel{border:1px solid var(--line);border-radius:12px;background:var(--paper);overflow:hidden}.records-heading{display:flex;align-items:center;justify-content:space-between;padding:25px 25px 20px;gap:20px}.records-heading h2{font-family:Inter,-apple-system,sans-serif;font-size:16px;letter-spacing:-.025em;font-weight:600;display:flex;align-items:center;gap:9px}.count-badge{font-family:Inter,-apple-system,sans-serif;font-size:10px;background:#eef1e8;color:#7b8c6e;padding:2px 7px;border-radius:5px;letter-spacing:0}.records-heading .muted{font-size:10px;margin-top:4px}.record-actions{display:flex;gap:10px}.record-actions .btn{font-size:10px;gap:7px}.record-actions .icon{width:16px;height:16px}.filter-bar{display:grid;grid-template-columns:1fr 160px 190px;gap:12px;padding:0 25px 22px}.filter-bar select{background-color:#fdfdf8;font-size:11px}.search-field{position:relative}.search-field .icon{position:absolute;left:13px;top:13px;color:#8b9680;width:17px;height:17px}.search-field input{padding-left:39px;font-size:11px}.filter-bar input,.filter-bar select{height:43px}.table-wrap{width:100%;overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left;font-size:12px}thead{background:#f4f5ee;border-top:1px solid #e6e7dc;border-bottom:1px solid #e6e7dc}th{font-size:9px;letter-spacing:.07em;text-transform:uppercase;font-weight:500;color:#839076;padding:14px 20px;white-space:nowrap}th:first-child,td:first-child{padding-left:25px}td{padding:17px 20px;border-bottom:1px solid #eef0e6;color:#7a8770;white-space:nowrap}tbody tr:last-child td{border-bottom:0}tbody tr:hover{background:#f7f8f2}.animal-link{border:0;background:transparent;padding:0;display:flex;align-items:center;gap:11px;text-align:left;min-height:42px;color:var(--green)}.animal-avatar{display:grid;place-items:center;width:36px;height:36px;background:#ecefe3;color:#8a9e72;border-radius:9px}.animal-avatar .icon{width:22px;height:22px}.animal-link strong{display:block;font-size:12px;font-weight:600}.animal-link small{display:block;font-size:10px;color:#96a08b;margin-top:2px}.sex-badge{font-size:10px;background:#f0f3e9;color:#849773;border:1px solid #e1e8d8;padding:4px 9px;border-radius:5px}.sex-bull{background:#f4eee6;color:#a58865;border-color:#e9dfd0}.sex-calf{background:#f6f1dd;color:#ac9b58;border-color:#ebe3c6}.sex-steer{background:#edf0f1;color:#7d8a91;border-color:#dce2e6}.sex-heifer{background:#f4ebee;color:#a78a95;border-color:#e9dde1}.edit-button{border:0;background:transparent;color:#87997b;padding:9px;display:flex}.edit-button .icon{height:17px;width:17px}.records-footer{border-top:1px solid var(--line);padding:15px 25px;display:flex;justify-content:space-between;align-items:center;font-size:9px;color:#98a18e;gap:15px}.records-footer>span:last-child{display:flex;align-items:center;gap:5px}.records-footer .icon{width:12px;height:12px}.loading-state,.empty-state{text-align:center;padding:55px 20px;font-size:12px;color:#849275}.loading-state{display:flex;justify-content:center;align-items:center;gap:10px}.spinner{border:2px solid #dce3d3;border-top-color:var(--green);height:18px;width:18px;border-radius:50%;display:inline-block;animation:spin 1s linear infinite}.empty-icon{height:64px;width:64px;border-radius:50%;display:grid;place-items:center;background:#f1f3e9;margin:0 auto 20px;color:#899d76}.empty-icon .icon{height:32px;width:32px}.empty-state h3{font-family:Georgia,serif;font-size:25px;letter-spacing:-.03em;color:var(--green)}.empty-state p{margin:10px auto 22px;max-width:370px}.dashboard-note{display:flex;align-items:center;justify-content:center;gap:8px;font-size:10px;color:#96a186;margin:24px 0 30px}.dashboard-note .icon{height:15px;width:15px}.install-note{font-size:10px;line-height:1.8;color:#8a957e;display:flex;align-items:center;gap:20px;max-width:720px;margin:0 auto;text-align:center}.install-note .btn{font-size:10px}.inline-error{margin:0 25px 20px}.inline-error,.form-error,.notice{background:#f9eee8;color:#994d3c;border:1px solid #ead4c7;border-radius:6px;padding:12px 14px;font-size:12px;line-height:1.7}.notice{background:#f6f2df;color:#7f7249;border-color:#e5dfc3;margin:20px 0}.form-error{margin:15px 0 5px}.icon-button{width:38px;height:38px;display:grid;place-items:center;border:0;background:transparent;color:#7d8970;border-radius:50%;flex-shrink:0}.icon-button:hover{background:#eff1e7}dialog{border:1px solid #e0e3d7;background:var(--paper);color:var(--ink);border-radius:16px;padding:0;box-shadow:0 30px 90px #0d271d33;max-height:calc(100dvh - 32px);width:calc(100% - 32px);max-width:720px;margin:auto}dialog::backdrop{background:#142a25a8;backdrop-filter:blur(4px)}body.modal-open{overflow:hidden}.login-dialog{max-width:440px;padding:22px 32px 30px}.dialog-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-right:-14px}.dialog-top .eyebrow{font-size:8px;color:#8a987d}.login-icon{width:44px;height:44px;display:grid;place-items:center;background:#edf2e5;color:#7c9468;border-radius:11px;margin:20px 0 22px}.login-dialog h2{font-size:37px}.login-dialog>.muted{font-size:12px;margin:12px 0 25px}label{display:block;font-size:11px;font-weight:500;margin-bottom:7px;color:#53654c}input,select,textarea{width:100%;border:1px solid #dce1d3;border-radius:6px;background:#fffefa;color:var(--ink);padding:10px 12px;font-size:12px;min-height:44px;line-height:1.5}input::placeholder,textarea::placeholder{color:#a6ad9c}select{padding-right:26px}textarea{resize:vertical;min-height:90px}#login-form label:not(:first-child){margin-top:17px}.full-width{width:100%}#login-submit{margin-top:23px}.login-footnote{margin:23px 0 0;font-size:9px;color:#97a08d;line-height:1.85;text-align:center}.login-footnote .icon{height:11px;width:11px;display:inline-block;vertical-align:middle;margin-right:3px}.animal-dialog-header{padding:24px 28px;border-bottom:1px solid #e6e8dc;display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.animal-dialog-header .eyebrow{font-size:8px;color:#94a087}.animal-dialog-header h2{font-size:30px;margin-top:12px}.animal-dialog-header .muted{font-size:11px;margin-top:8px}.animal-form-body{padding:20px 28px 28px}.required-note{font-size:9px;color:#9ca58f;margin-bottom:18px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.form-grid label>span:not(.optional){color:#9a8d64}.optional{font-weight:400;color:#a1aa95;font-size:9px;margin-left:4px}.span-two{grid-column:1/-1}.animal-dialog-footer{border-top:1px solid #e6e8dc;padding:18px 28px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfcf6;position:sticky;bottom:0}.form-footer-actions{display:flex;gap:10px;margin-left:auto}.btn-danger{border:1px solid #e6d4ca;background:#fffaf7;color:var(--red)}.btn-danger-solid{background:var(--red);color:#fff}.btn-danger-solid:hover{background:#853024}.record-meta{font-size:9px;color:#a4ad97;line-height:1.8;margin-top:15px}.delete-dialog{max-width:420px;padding:28px}.delete-dialog h2{font-size:28px;margin-bottom:16px}.delete-dialog p{font-size:12px;line-height:1.8;margin-bottom:12px;overflow-wrap:anywhere}.delete-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.toast{position:fixed;bottom:max(24px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);max-width:calc(100vw - 32px);width:max-content;z-index:200;background:var(--green);color:#fff;padding:13px 22px;font-size:12px;border-radius:9px;box-shadow:0 8px 30px #16332930;line-height:1.6}.toast.toast-error{background:var(--red)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link{position:fixed;left:16px;top:-80px;padding:12px 18px;background:var(--green);color:white;border-radius:6px;z-index:300}.skip-link:focus{top:16px}.noscript{position:fixed;bottom:0;left:0;right:0;padding:15px;background:#8a382e;color:#fff;text-align:center;font-size:13px}@keyframes spin{to{transform:rotate(360deg)}}
@media(min-width:1250px){.hero{gap:70px}.hero-image{min-height:560px}}
@media(max-width:1000px){.shell{padding-left:28px;padding-right:28px}.hero{gap:28px}.hero h1{font-size:61px}.hero-image{min-height:490px}.hero-description{font-size:13px}.contact-section{margin-left:28px;margin-right:28px}.farm-strip{margin:0 28px;padding-left:10px;padding-right:10px}.about-section,.sale-section{gap:38px}.about-section h2,.sale-section h2{font-size:36px}.sale-section::before{left:28px;right:28px}.dashboard-heading h1{font-size:31px}.stat-card{padding:18px}.filter-bar{grid-template-columns:1fr 140px 160px}th,td{padding-left:14px;padding-right:14px}.private-label{display:none}}
@media(max-width:760px){.header-inner{min-height:80px}.brand{font-size:17px;gap:9px}.brand img{height:36px;width:36px}.brand-sub{font-size:8px}.public-nav{gap:15px}.nav-link{display:none}.hero{grid-template-columns:1fr;gap:25px;padding-top:12px;padding-bottom:28px}.hero-copy{padding:32px 0 0}.hero-copy .eyebrow{font-size:9px}.hero h1{font-size:67px;margin:24px 0 20px}.hero-description{font-size:14px}.hero-footnote{display:none}.hero-image{min-height:370px;border-bottom-right-radius:65px}.hero-image>img{object-position:50% 55%}.farm-strip{gap:20px;padding:20px 0;justify-content:space-between;overflow:hidden}.farm-strip span{font-size:9px;gap:7px;flex-direction:column;text-align:center}.farm-strip .icon{height:20px;width:20px}.about-section,.sale-section{grid-template-columns:1fr;gap:22px;padding-top:45px;padding-bottom:45px}.about-copy{padding-top:0;max-width:none}.about-section h2,.sale-section h2{font-size:37px}.section-number{margin-bottom:18px}.about-copy p{font-size:13px}.sale-section{gap:28px}.contact-section{padding:30px;gap:20px;margin-bottom:40px}.contact-mark{font-size:55px}.contact-mark span{display:none}.contact-section h2{font-size:35px}.contact-section p:not(.eyebrow){font-size:11px}.contact-section .eyebrow{font-size:7px}.footer-inner{flex-wrap:wrap;gap:10px;font-size:9px}.footer-inner>span:nth-child(2){display:none}.dashboard{padding-top:28px}.dashboard-heading{display:block}.dashboard-heading h1{font-size:33px;max-width:350px}.dashboard-heading>.btn{margin-top:21px;min-height:44px}.stats-grid{grid-template-columns:1fr 1fr;gap:12px;margin-bottom:22px}.stat-card{padding:17px 18px 15px}.stat-value{font-size:33px;margin:7px 0 0}.stat-card>span{font-size:9px}.stat-label{font-size:10px}.records-heading{padding:20px 18px;display:block}.record-actions{margin-top:16px}.filter-bar{padding:0 18px 20px;grid-template-columns:1fr 1fr;gap:10px}.filter-bar>.search-field{grid-column:1/-1}.filter-bar select{width:100%}.records-footer{padding:14px 18px}.records-footer>span:last-child{font-size:8px}.dashboard-note{font-size:9px;line-height:1.7;align-items:flex-start;text-align:center;padding:0 8px}.dashboard-note .icon{margin-top:2px}.install-note{font-size:9px;display:block}.install-note .btn{margin-top:12px}thead{display:none}tbody,tr,td{display:block}tbody tr{padding:18px;position:relative;border-top:1px solid #ecefe3;display:grid;grid-template-columns:1fr 1fr;gap:9px 15px}td{border:0;padding:0;font-size:11px;min-width:0;white-space:normal;overflow-wrap:anywhere}td:first-child{padding:0;grid-column:1/-1;margin-bottom:8px;padding-right:35px}td:nth-child(n+2):nth-child(-n+5){display:flex;align-items:center;gap:6px}td:nth-child(n+2):nth-child(-n+5)::before{content:attr(data-label);font-size:9px;color:#a2ab95;flex-shrink:0}td:last-child{position:absolute;top:21px;right:12px}.animal-link{max-width:100%}.animal-link>span:last-child{overflow-wrap:anywhere}.animal-link strong{font-size:13px}.animal-link small{font-size:10px}.sex-badge{padding:2px 7px;font-size:9px}.animal-dialog-header{padding:20px}.animal-dialog-header h2{font-size:27px}.animal-form-body{padding:16px 20px 24px}.animal-dialog-footer{padding:15px 20px}.animal-dialog-footer .btn{padding:11px 14px;font-size:11px}.animal-dialog-footer .btn .icon{width:16px;height:16px}.form-grid{gap:16px 14px}.inline-error{margin-left:18px;margin-right:18px}}
@media(max-width:400px){.shell{padding-left:20px;padding-right:20px}.hero h1{font-size:58px}.hero-image{min-height:320px}.brand{font-size:16px}.brand img{width:32px;height:32px}.header-inner{gap:10px}.public-nav .btn{padding:10px 12px;font-size:11px}.contact-section{margin-left:20px;margin-right:20px;padding:27px}.contact-mark{display:none}.farm-strip{margin-left:20px;margin-right:20px}.sale-section::before{left:20px;right:20px}.form-grid{grid-template-columns:1fr}.span-two{grid-column:auto}.animal-dialog-footer .btn{padding:10px}.animal-dialog-footer .btn-danger .icon{display:none}.form-footer-actions{gap:7px}.login-dialog{padding-left:24px;padding-right:24px}.dashboard-heading h1{font-size:30px}.records-footer>span:last-child{display:none}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Readable data and form text, including on phones in bright light. */
.hero-footnote,.about-copy p,.sale-card p,.sale-card-footer,.footer-inner,.contact-section p:not(.eyebrow),.private-label,.stat-label,.stat-card>span,.records-heading .muted,.records-footer,.dashboard-note,.install-note,.required-note,.record-meta,.login-footnote,.optional,.dialog-top .eyebrow,.animal-dialog-header .eyebrow{color:#687461}
.stat-featured .stat-label,.stat-featured>span,.contact-section p:not(.eyebrow){color:#c1ceb7}
td,th,.animal-link small,.filter-bar input,.filter-bar select{color:#596b50}
.sex-badge{color:#586d48}.sex-bull{color:#806340}.sex-calf{color:#7b692d}.sex-steer{color:#536871}.sex-heifer{color:#7f5b6a}
@media(max-width:760px){input,select,textarea,.filter-bar input,.filter-bar select{font-size:16px}.search-field .icon{top:14px}.filter-bar input::placeholder{font-size:13px}.animal-dialog-header h2{overflow-wrap:anywhere}.animal-link strong,.animal-link small{white-space:normal}td:nth-child(n+2):nth-child(-n+5)::before{color:#687461}.install-note{color:#687461}}
/* Private farm workspace */
.workspace-tabs{display:flex;gap:6px;border-bottom:1px solid var(--line);padding:0 0 12px;margin:0 0 28px;overflow-x:auto}
.workspace-tabs>button{flex:1;min-width:135px;min-height:48px;border:1px solid transparent;background:transparent;border-radius:8px;padding:12px 17px;color:#687461;font-size:12px;font-weight:600;white-space:nowrap}
.workspace-tabs>button:hover{background:#ecefe5;color:var(--green)}
.workspace-tabs>button[aria-selected="true"]{background:var(--green);color:#fff}
.stats-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.dot-feedlot{background:#8c9c65}
.animal-flags{margin:0;padding:15px 16px;border:1px solid #dce1d3;border-radius:9px;background:#f8faf2;min-width:0}
.animal-flags legend{font-size:12px;font-weight:600;color:var(--green);padding:0 6px}
.checkbox-label{display:flex;align-items:center;gap:11px;min-height:44px;font-size:12px;margin:0;padding:7px 0;cursor:pointer}
.checkbox-label input[type="checkbox"]{width:20px;height:20px;min-height:20px;flex-shrink:0;padding:0;margin:0;accent-color:var(--green)}
.checkbox-label small{display:block;font-size:10px;color:#687461;line-height:1.6;font-weight:400;margin-top:2px}
.animal-flags .form-grid{margin-top:15px;padding-top:15px;border-top:1px solid #e2e7d7}
.kid-workspace .workspace-tabs{display:grid;grid-template-columns:1fr}
.hero-image{background:#f6f4ed}
.hero-image>.farm-photo-fallback{object-fit:cover}
.public-sale-section{grid-template-columns:1fr 1fr;gap:28px 60px}
.public-sale-intro{align-self:center;color:#687461;font-size:13px;line-height:1.9;max-width:440px}
.public-sale-intro p{margin-bottom:18px}
.public-sales-status{grid-column:1/-1;font-size:11px;color:#687461;margin:0}
.public-sales-grid{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.public-animal-card{background:var(--paper);border:1px solid var(--line);border-radius:13px;overflow:hidden;min-width:0}
.public-animal-photo{position:relative;aspect-ratio:3/2;overflow:hidden;background:#f6f4ed}
.public-animal-photo img{width:100%;height:100%;object-fit:cover}
.public-listed-badge{position:absolute;left:17px;bottom:16px;background:var(--green);color:#fff;border:1px solid #ffffff30;border-radius:5px;padding:5px 10px;font-size:9px;font-weight:600;letter-spacing:.04em}
.public-animal-copy{padding:25px}
.public-animal-copy .eyebrow{color:#7c896f;font-size:8px;margin-bottom:10px}
.public-animal-copy h3{font:500 27px/1.2 Georgia,serif;letter-spacing:-.025em;overflow-wrap:anywhere}
.public-animal-details{display:grid;grid-template-columns:1fr 1fr;gap:15px 20px;padding:20px 0;margin:0}
.public-animal-details div{min-width:0}
.public-animal-details dt{font-size:9px;color:#687461;font-weight:500;margin-bottom:3px}
.public-animal-details dd{font-size:12px;color:#435b3b;margin:0;overflow-wrap:anywhere}
.public-animal-notes{font-size:12px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;color:#687461;border-top:1px solid #e6e8dc;padding-top:17px;margin:0}
.public-sales-message{grid-column:1/-1;border:1px solid var(--line);border-radius:12px;background:var(--paper);padding:32px;text-align:center;color:#687461;font-size:12px;line-height:1.9}
.public-sales-message>.icon{width:30px;height:30px;color:#879b71;margin:0 auto 16px}
.public-sales-message h3{font:500 25px/1.3 Georgia,serif;color:var(--green);margin-bottom:10px}
.vaccination-add-actions{display:flex;gap:9px;align-items:center;flex-wrap:wrap}
.herd-animal-cell{display:flex;align-items:center;gap:12px}
.herd-pickbox>.herd-select,.select-visible-label>input{width:18px;height:18px;min-height:18px;flex-shrink:0;margin:0;padding:0;accent-color:var(--green)}
.select-visible-label{display:flex;align-items:center;gap:12px;margin:0;font-size:9px;font-weight:500;letter-spacing:.07em;text-transform:uppercase;cursor:pointer}
@media(max-width:760px){.public-sale-section{grid-template-columns:1fr;gap:24px}.public-sales-grid{grid-template-columns:1fr;gap:20px}.public-sale-intro{max-width:none}.public-animal-copy{padding:22px}.public-animal-copy h3{font-size:25px}.public-sales-message{padding:27px 22px}.herd-pickbox>.herd-select{width:23px;height:23px;min-height:23px}.herd-animal-cell{gap:13px}}
@media(max-width:760px){.stats-grid{grid-template-columns:1fr 1fr}.checkbox-label{font-size:13px}}
.workspace-panel:focus-visible{outline:2px solid #8ca37b;outline-offset:5px;border-radius:12px}
.calving-filters{display:grid;grid-template-columns:1fr 1fr 1.7fr;align-items:end;gap:15px;border-top:1px solid #eceee4;padding:18px 25px 23px;background:#fbfcf6}
.calving-filters label,.sort-label{font-size:10px;font-weight:600;color:#596b50;margin-bottom:8px;display:block}
.calving-filters select{font-size:11px}
.sort-options{display:flex;align-items:center;gap:5px;flex-wrap:wrap}
.sort-options button{background:transparent;border:1px solid #dce1d3;border-radius:5px;color:#687461;min-height:44px;padding:8px 9px;font-size:10px;white-space:nowrap}
.sort-options button[aria-pressed="true"]{background:#e7eddf;border-color:#abbf97;color:#31512c}
.sort-options .sort-direction{font-size:9px;border-style:dashed;flex:1}
.field-help{font-size:10px;color:#687461;line-height:1.7;margin:7px 0 0}
.breeding-fields{padding:15px;border:1px solid #dce1d3;border-radius:9px;min-width:0;margin:2px 0 0;background:#f7f9f0}
.breeding-fields legend{font-size:12px;font-weight:600;padding:0 6px;color:var(--green)}
.breeding-fields .field-help{margin:0 0 15px}
.breeding-disabled{opacity:.7}
.animal-health{border-top:1px solid var(--line);margin-top:27px;padding-top:23px}
.animal-health-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}
.animal-health-heading h3{font-size:14px;font-weight:600;color:var(--green)}
.animal-health-heading .btn{font-size:10px;padding:10px}
.calving-date{display:block;font-size:9px;color:#687461;margin-top:3px}
@media(min-width:761px){#herd-table-wrap table{min-width:970px}#herd-table-wrap th,#herd-table-wrap td{padding-left:14px;padding-right:14px}#herd-table-wrap td:first-child,#herd-table-wrap th:first-child{padding-left:25px}}
@media(max-width:1100px){.calving-filters{grid-template-columns:1fr 1fr}.herd-sort{grid-column:1/-1}.sort-options .sort-direction{flex:0}}
@media(max-width:760px){.workspace-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:22px}.workspace-tabs>button{min-width:0;padding:10px 8px;font-size:11px;min-height:45px}.calving-filters{padding:17px 18px 21px;gap:12px}.calving-filters label{font-size:9px}.calving-filters select{font-size:16px}#herd-rows td:nth-child(n+2):nth-child(-n+7){display:flex;align-items:flex-start;gap:7px}#herd-rows td:nth-child(n+2):nth-child(-n+7)::before{content:attr(data-label);font-size:9px;color:#687461;flex-shrink:0;line-height:1.9}#herd-rows td:nth-child(5){flex-wrap:wrap}#herd-rows .calving-date{width:100%;font-size:10px;margin:0}.sort-options button{font-size:11px;padding:8px 10px}.sort-options .sort-direction{font-size:10px}.animal-health-heading{align-items:flex-start}.animal-health-heading h3{font-size:12px}.animal-health-heading .btn{font-size:9px}.field-help{font-size:10px}}

/* Private health, rental, and sale records. */
.workspace-panel{outline-offset:5px}.workspace-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:28px 0}.workspace-heading h2{font-size:36px;margin:11px 0}.workspace-heading .eyebrow{font-size:9px;color:#687461}.workspace-heading .muted{font-size:12px;max-width:600px}.workspace-heading>.btn{flex-shrink:0}.workspace-panel .records-heading h3{font-size:16px;font-weight:600;letter-spacing:-.02em}.workspace-panel .records-heading .muted{font-size:11px}.record-filters{grid-template-columns:minmax(200px,1fr) 185px 225px}.record-filters.two-filters{grid-template-columns:minmax(200px,1fr) 225px}.records-summary{padding:0 25px 15px;color:#596b50;font-size:11px}.record-list{padding:0 25px 24px;display:grid;gap:14px}.record-card{border:1px solid #dfe4d6;border-radius:10px;padding:20px;background:#fffefa;min-width:0;overflow-wrap:anywhere}.record-card-head,.record-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.record-card h3,.record-card h4{font-size:16px;font-weight:600;line-height:1.5;color:var(--green);letter-spacing:-.02em}.record-card .record-subtitle,.record-card small{font-size:11px;color:#687461;display:block;margin-top:4px}.record-card .record-actions{gap:8px;flex-shrink:0}.record-card .record-actions .btn{font-size:11px;min-height:42px}.record-details,.record-card dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 22px;margin:19px 0 0}.record-details>div,.record-card dl>div{min-width:0}.record-details dt,.record-card dt,.record-detail-label{display:block;text-transform:uppercase;letter-spacing:.06em;font-size:9px;color:#687461;margin-bottom:5px}.record-details dd,.record-card dd,.record-detail-value{font-size:12px;color:#344d2e;margin:0;line-height:1.8}.record-notes{white-space:pre-wrap;color:#596b50;font-size:12px;line-height:1.8;border-top:1px solid #e7ebdf;margin-top:17px;padding-top:14px}.record-badges{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:8px}.due-badge,.record-badge,.status-badge{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid #dbe4d1;border-radius:5px;background:#edf3e6;color:#4c663c;font-size:10px;font-weight:600;line-height:1.5}.due-badge.overdue,.due-overdue,.badge-overdue,.record-badge.overdue{background:#fbece7;border-color:#edc9bd;color:#9a3f2f}.due-badge.upcoming,.due-upcoming,.badge-upcoming,.record-badge.upcoming{background:#fff5d5;border-color:#e8d99c;color:#806417}.due-badge.current,.due-current,.badge-current{background:#edf3e6;border-color:#dbe4d1;color:#4c663c}.due-badge.unscheduled,.due-unscheduled,.badge-unscheduled{background:#f1f2ee;border-color:#dfe3d8;color:#687461}.record-badge.sold,.record-badge.returned,.status-returned{background:#e9f1e3;color:#4b643c}.record-badge.listed,.status-active{background:#f6f0dd;color:#796026}.record-empty{padding:35px 20px 45px;text-align:center;color:#687461}.record-empty>.icon{width:36px;height:36px;color:#879b72;margin:0 auto 15px}.record-empty h3{font-size:22px;font-family:Georgia,serif;color:var(--green);letter-spacing:-.03em}.record-empty p{font-size:12px;margin-top:10px}.records-help{font-size:11px;color:#687461;line-height:1.8;border-top:1px solid var(--line);padding:15px 25px;background:#fafbf5}.calculated-field{display:flex;align-items:center;width:100%;min-height:44px;padding:10px 12px;border:1px solid #dce1d3;border-radius:6px;background:#f0f4e9;color:var(--green);font-size:14px;font-weight:600}.field-hint{font-size:10px;line-height:1.7;color:#687461;margin-top:6px}.profile-health{border-top:1px solid #e0e5d6;padding-top:24px;margin-top:24px}.profile-health-heading{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:16px}.profile-health-heading h3{font-size:17px;font-weight:600}.profile-health .record-card{padding:15px}.profile-health .record-list{padding:0;gap:12px}.profile-health .record-details{grid-template-columns:repeat(2,minmax(0,1fr))}.health-history-item{padding:14px 0;border-top:1px solid #e6eadd;font-size:12px;line-height:1.8}.health-history-item:first-child{border-top:0}.health-history-item strong{font-weight:600;color:var(--green)}.health-history-item .muted{font-size:11px}.health-history-note{font-size:11px;line-height:1.8;color:#687461;margin:10px 0}
@media(max-width:1000px){.record-filters{grid-template-columns:minmax(150px,1fr) 160px 185px}.record-filters.two-filters{grid-template-columns:minmax(180px,1fr) 185px}.record-details,.record-card dl{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.workspace-heading{display:block;margin-top:24px}.workspace-heading h2{font-size:30px}.workspace-heading>.btn{margin-top:18px}.record-filters,.record-filters.two-filters{grid-template-columns:1fr 1fr}.record-filters>.search-field{grid-column:1/-1}.record-filters.two-filters>div:last-child{grid-column:1/-1}.records-summary{padding-left:18px;padding-right:18px}.record-list{padding:0 18px 20px}.record-card{padding:17px}.record-card-head,.record-card-header{gap:10px;flex-wrap:wrap}.record-card .record-actions{margin:0;justify-content:flex-end}.record-details,.record-card dl{gap:14px}.record-card .record-actions .btn{padding:8px 11px;min-height:42px}.records-help{padding:15px 18px}.record-dialog input,.record-dialog select,.record-dialog textarea{font-size:16px}.profile-health-heading{align-items:flex-start;flex-direction:column}.profile-health .record-card{padding:13px}.record-dialog .animal-dialog-header h2{overflow-wrap:anywhere}}
@media(max-width:400px){.record-filters,.record-filters.two-filters{grid-template-columns:1fr}.record-details,.record-card dl{grid-template-columns:1fr 1fr}.record-list{padding-left:12px;padding-right:12px}.record-card{padding:14px}.record-card .record-actions{width:100%;justify-content:flex-start}.record-card h3{font-size:15px}}

/* Classes emitted by records.js. */
.record-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.record-card-heading>div{min-width:0}.record-card-heading h3{font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.02em;margin-top:4px}.record-kicker{display:block;font-size:11px;color:#687461;line-height:1.7}.record-card-heading .record-badges{margin-top:0;justify-content:flex-end;flex-shrink:0}.record-badge-danger{background:#fbece7;border-color:#edc9bd;color:#9a3f2f}.record-badge-warning{background:#fff5d5;border-color:#e8d99c;color:#806417}.record-badge-success{background:#edf3e6;border-color:#dbe4d1;color:#4c663c}.record-badge-neutral{background:#f1f2ee;border-color:#dfe3d8;color:#59664f}.record-note{white-space:pre-wrap;overflow-wrap:anywhere;color:#596b50;font-size:12px;line-height:1.8;border-top:1px solid #e7ebdf;margin-top:17px;padding-top:14px}.record-card-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #e7ebdf;margin-top:18px;padding-top:14px}.record-card-footer>span{font-size:10px;color:#687461}.record-card-footer .btn{min-height:42px}.animal-health-entry{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:16px 0;border-top:1px solid #e1e6d7;overflow-wrap:anywhere}.animal-health-entry:first-child{border-top:0}.animal-health-entry>div:first-child{min-width:0}.animal-health-entry strong{display:block;font-size:13px;font-weight:600;color:var(--green);line-height:1.7}.animal-health-entry p{font-size:11px;color:#687461;line-height:1.8;margin-top:4px}.animal-health-entry .record-note{padding-top:8px;margin-top:8px}.animal-health-actions{display:flex;align-items:flex-end;flex-direction:column;gap:10px;flex-shrink:0}.animal-health-actions .btn{font-size:11px;min-height:42px;padding:9px 12px}
@media(max-width:760px){.record-card-heading{flex-direction:column;gap:10px}.record-card-heading .record-badges{justify-content:flex-start}.record-card-heading h3{font-size:15px}.record-card-footer{align-items:flex-start;gap:10px}.record-card-footer>span{font-size:10px;padding-top:5px}.animal-health-entry{flex-direction:column;gap:12px}.animal-health-actions{width:100%;align-items:center;justify-content:space-between;flex-direction:row;flex-wrap:wrap}.animal-health-actions .btn{margin-left:auto}}

/* Feedlot and 4-H project workspace. */
.project-panel{outline-offset:5px}.project-toolbar{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;padding:24px 25px 20px}.project-toolbar>.search-field{max-width:450px;width:100%}.project-toolbar .search-field input{font-size:12px}.project-animal-choice{width:min(100%,400px)}.project-animal-choice label{font-size:11px;color:#53654c}.project-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.project-actions .btn,.project-log-footer .btn{min-height:44px}.project-status{font-size:11px;color:#687461;padding:0 25px 16px}.project-profile{margin:0 25px 24px}.project-profile:empty{display:none}.project-list{display:grid;gap:14px;padding:0 25px 24px}.project-card,.project-log-card{min-width:0;overflow-wrap:anywhere;border:1px solid #dfe4d6;border-radius:10px;padding:20px;background:#fffefa}.project-card-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.project-card-heading>div{min-width:0}.project-card h3,.project-card h4,.project-log-card h3{font-size:16px;color:var(--green);line-height:1.5;font-weight:600;letter-spacing:-.02em}.project-card p,.project-log-card p{font-size:12px;color:#596b50;line-height:1.8}.project-card .muted,.project-log-card .muted{font-size:11px;color:#687461}.project-details{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 22px;margin:20px 0 0}.project-details>div{min-width:0}.project-details dt{font-size:9px;letter-spacing:.07em;text-transform:uppercase;color:#687461;margin-bottom:6px}.project-details dd{font-size:12px;color:#344d2e;margin:0;line-height:1.8}.project-note{white-space:pre-wrap;overflow-wrap:anywhere;color:#596b50;font-size:12px;line-height:1.8;border-top:1px solid #e7ebdf;margin-top:16px;padding-top:13px}.project-note strong{display:block;font-size:11px;font-weight:600;color:var(--green);margin-bottom:5px}.project-badge{display:inline-flex;align-items:center;gap:4px;padding:5px 9px;border:1px solid #dbe4d1;border-radius:5px;background:#edf3e6;color:#4c663c;font-size:10px;font-weight:600;line-height:1.5;white-space:nowrap}.project-logs-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 25px 16px;padding-top:22px;border-top:1px solid #e1e6d7}.project-logs-heading h3{font-size:17px;font-weight:600;color:var(--green);letter-spacing:-.02em}.project-log-footer{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid #e7ebdf;padding-top:14px;margin-top:17px}.project-log-footer>span{font-size:10px;color:#687461}.project-dialog input[readonly]{background:#f0f3e9;color:#53654c}.project-dialog .field-hint{margin-top:18px}.project-profile .project-card{background:#f5f7ee;border-color:#dbe3cf}.project-profile .project-actions{margin-top:18px}
@media(max-width:1000px){.project-details{grid-template-columns:repeat(2,minmax(0,1fr))}.fourh-toolbar{align-items:flex-end}.project-logs-heading{align-items:flex-start;flex-direction:column}.project-logs-heading .project-actions{width:100%}}
@media(max-width:760px){.project-toolbar{padding:20px 18px;flex-direction:column;align-items:stretch;gap:15px}.project-toolbar>.search-field,.project-animal-choice{max-width:none;width:100%}.project-toolbar .search-field input,.project-dialog input,.project-dialog select,.project-dialog textarea,.project-animal-choice select{font-size:16px}.project-toolbar>.project-actions{justify-content:space-between}.project-status{padding-left:18px;padding-right:18px}.project-profile{margin-left:18px;margin-right:18px}.project-list{padding-left:18px;padding-right:18px}.project-card,.project-log-card{padding:17px}.project-card-heading{flex-wrap:wrap;gap:12px}.project-details{gap:14px 16px}.project-logs-heading{margin-left:18px;margin-right:18px}.project-logs-heading .project-actions{gap:8px}.project-logs-heading .project-actions .btn{font-size:11px;padding:10px 12px}.project-log-footer{align-items:flex-start;flex-wrap:wrap}.project-log-footer>.project-actions{margin-left:auto}.project-log-footer>span{padding-top:5px}}
@media(max-width:400px){.project-list{padding-left:12px;padding-right:12px}.project-card,.project-log-card{padding:14px}.project-card h3,.project-log-card h3{font-size:15px}.project-details{grid-template-columns:1fr 1fr}.project-logs-heading .project-actions{align-items:stretch;flex-direction:column}.project-logs-heading .project-actions .btn{justify-content:center}.project-dialog .animal-dialog-footer{gap:8px}}

.project-kicker{display:block;font-size:11px;color:#687461;line-height:1.7;margin-bottom:4px}.project-profile-note,.project-profile-prompt{font-size:12px;color:#687461;line-height:1.8;margin-top:16px}.project-card>.project-actions{margin-top:18px}

.herd-pickbox{display:flex;align-items:center;justify-content:center;min-height:44px;width:30px;flex-shrink:0;margin:0;cursor:pointer}
@media(max-width:760px){.herd-pickbox{width:44px;min-height:44px}.herd-animal-cell{gap:7px}}

/* Selected cattle actions and batch vaccination picker. */
.bulk-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 25px 24px;padding:18px 20px;border:1px solid #cbd9bc;border-radius:10px;background:#edf3e5}.bulk-selection-status{min-width:0;color:var(--green)}.bulk-selection-status strong{display:inline-block;font-size:13px;font-weight:600}.bulk-hidden-selection{display:inline-block;margin-left:9px;font-size:11px;color:#806417;background:#fff5d5;border:1px solid #e8d99c;border-radius:5px;padding:3px 7px}.bulk-help{font-size:11px;color:#596b50;line-height:1.8;margin:7px 0 0}.bulk-group-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;flex-shrink:0;max-width:58%}.bulk-group-actions .btn,.bulk-picker-actions .btn{min-height:44px}.bulk-dialog .animal-dialog-header h2{font-size:29px;overflow-wrap:anywhere}.bulk-panel{border:1px solid #dce4d1;background:#f5f8ee;padding:18px;border-radius:10px;margin-bottom:25px}.bulk-picker-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.bulk-picker-heading h3,.bulk-treatment-details h3{font-size:16px;font-weight:600;color:var(--green);letter-spacing:-.02em}.bulk-selection-count{font-size:11px;font-weight:600;color:#49613b;white-space:nowrap;background:#e5eddc;border:1px solid #d5e0c9;border-radius:5px;padding:5px 9px}.bulk-filter-grid{display:grid;grid-template-columns:minmax(180px,1fr) 120px 150px;gap:12px;margin:17px 0 13px}.bulk-filter-grid label{font-size:10px;color:#53654c}.bulk-filter-grid input,.bulk-filter-grid select{font-size:12px;min-height:44px;background:#fffefa}.bulk-picker-actions{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:15px}.bulk-picker-actions .btn{font-size:10px;padding:9px 12px}.bulk-animal-list{max-height:240px;overflow-y:auto;border:1px solid #d9e3cc;border-radius:7px;background:#fffefa;overscroll-behavior:contain}.bulk-animal-list:empty{display:none}.bulk-animal-option{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;margin:0;padding:10px 13px;min-height:48px;border-bottom:1px solid #e6ecdf;cursor:pointer;color:var(--green);font-size:12px;overflow-wrap:anywhere}.bulk-animal-option:last-child{border-bottom:0}.bulk-animal-option:hover{background:#f0f6e8}.bulk-animal-option:has(input:checked){background:#eaf2df}.bulk-animal-option:focus-within{outline:2px solid #7f9983;outline-offset:-2px}.bulk-animal-option input[type=checkbox],.bulk-checkbox{width:20px;height:20px;min-height:20px;margin:0;padding:0;border-radius:4px;accent-color:var(--green);cursor:pointer}.bulk-animal-caption{display:block;color:#687461;font-size:10px;line-height:1.8;font-weight:400}.bulk-animal-option strong{font-size:12px;font-weight:600}.bulk-picker-empty{text-align:center;margin:0;padding:15px;border:1px dashed #d9e3cc;border-radius:7px}.bulk-treatment-details>.required-note{margin-top:9px;margin-bottom:17px}.bulk-confirm-count{display:inline-block;font-size:12px;font-weight:600;color:#49613b;padding:6px 10px;border:1px solid #d7e3cb;border-radius:6px;background:#edf4e4;margin-bottom:22px}.bulk-confirm-help{margin-top:18px}.bulk-dialog .form-footer-actions{flex-wrap:wrap}.bulk-dialog .animal-dialog-footer .btn{min-height:44px}
@media(max-width:1100px){.bulk-bar{align-items:flex-start;flex-direction:column;gap:15px}.bulk-group-actions{max-width:none;justify-content:flex-start}.bulk-filter-grid{grid-template-columns:minmax(150px,1fr) 115px 140px}}
@media(max-width:760px){.bulk-bar{margin-left:18px;margin-right:18px;padding:16px}.bulk-group-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:8px}.bulk-group-actions .btn{font-size:10px;padding:10px 9px;white-space:normal}.bulk-panel{padding:15px}.bulk-filter-grid{grid-template-columns:1fr 1fr;gap:11px}.bulk-picker-search{grid-column:1/-1}.bulk-filter-grid input,.bulk-filter-grid select,.bulk-dialog input,.bulk-dialog select,.bulk-dialog textarea{font-size:16px}.bulk-animal-option{min-height:52px;gap:11px}.bulk-animal-caption{font-size:11px}.bulk-picker-actions .btn{font-size:10px}.bulk-dialog .animal-dialog-header h2{font-size:27px}.bulk-dialog .animal-dialog-footer .btn{font-size:11px;white-space:normal}.bulk-picker-heading{gap:9px}.bulk-picker-heading h3{font-size:15px}.bulk-selection-count{font-size:10px}.bulk-hidden-selection{margin-left:0;margin-top:6px;display:table}}
@media(max-width:400px){.bulk-bar{margin-left:12px;margin-right:12px}.bulk-group-actions .btn{font-size:10px;padding-left:7px;padding-right:7px}.bulk-panel{padding:12px}.bulk-picker-actions{display:grid;grid-template-columns:1fr 1fr}.bulk-picker-actions .btn{padding-left:8px;padding-right:8px}.bulk-dialog .animal-dialog-footer .form-footer-actions{width:100%}.bulk-dialog .animal-dialog-footer .btn{flex:1}.bulk-picker-heading{align-items:flex-start;flex-direction:column}}

.mobile-herd-selection{display:none}.mobile-herd-selection label{margin:0;min-height:44px;display:flex;align-items:center;gap:11px;padding:11px 13px;cursor:pointer;font-size:12px;font-weight:500;color:var(--green)}.mobile-herd-selection input[type=checkbox]{flex-shrink:0;width:20px;height:20px;min-height:20px;margin:0;accent-color:var(--green)}.mobile-herd-selection label:focus-within{outline:2px solid #7f9983;outline-offset:2px;border-radius:6px}
@media(max-width:760px){.mobile-herd-selection{display:block;margin:0 18px 17px;background:#f4f7ec;border:1px solid #dce5d1;border-radius:8px}.mobile-herd-selection label{min-height:48px;font-size:12px}}
@media(max-width:400px){.mobile-herd-selection{margin-left:12px;margin-right:12px}}

.bulk-selection-count{white-space:normal;overflow-wrap:anywhere;text-align:right;max-width:100%}@media(max-width:400px){.bulk-selection-count{text-align:left}}

.bulk-eligibility-help{padding:0 25px 16px;color:#687461;font-size:10px;line-height:1.8;margin:0}
@media(max-width:760px){.bulk-eligibility-help{padding:0 18px 14px;font-size:10px}}

/* Farm-controlled public visibility switches beneath animal details. */
.showcase-pills{display:flex;align-items:center;flex-wrap:wrap;gap:6px;max-width:100%;margin-top:8px}.showcase-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;min-height:44px;padding:8px 10px;border:1px solid #cbd7c0;border-radius:7px;background:#f5f7ef;color:#56694b;font:inherit;font-size:10px;font-weight:600;line-height:1.4;text-align:center;white-space:nowrap;cursor:pointer;transition:background .15s,border-color .15s,color .15s}.showcase-pill-dot{display:block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:#a4b597}.showcase-pill:hover:not(:disabled){border-color:#8fa77a;background:#ebf1e2;color:#344f2b}.showcase-pill.is-active{background:#193d32;border-color:#193d32;color:#fffefa}.showcase-pill.is-active .showcase-pill-dot{background:#bfd49f}.showcase-pill.is-active:hover:not(:disabled){background:#285444;border-color:#285444;color:#fffefa}.showcase-pill:focus-visible{outline:3px solid #b18b51;outline-offset:3px}.showcase-pill:disabled{opacity:.5;cursor:not-allowed}.showcase-pill:disabled .showcase-pill-dot{opacity:.7}
@media(max-width:760px){.showcase-pills{gap:7px;margin-top:10px}.showcase-pill{min-height:44px;padding:9px 10px;font-size:11px}.showcase-pill-dot{width:7px;height:7px}}
@media(max-width:400px){.showcase-pills{gap:6px}.showcase-pill{padding-left:9px;padding-right:9px;font-size:11px}}
@media(prefers-reduced-motion:reduce){.showcase-pill{transition:none}}

/* Opt-in public showcases and Nic's farm contact card. */
.public-inquiry{margin-top:20px;font-size:11px;width:100%;white-space:normal;text-align:center}
.public-showcase-fields>.field-help{margin:0 0 12px}
.public-showcase-fields>div:last-child{margin-top:17px}
.animal-photo-preview{border:1px solid var(--line);padding:15px;border-radius:9px;background:#f8faf2}
.animal-photo-preview h3{font-size:12px;font-weight:600;margin-bottom:12px}
.animal-photo-preview img{max-height:260px;width:100%;object-fit:contain;border-radius:7px;background:#e6ecdc}
.contact-section p.farm-contact-name{font-size:21px;font-weight:600;color:#f6f4ed;margin:20px 0 4px}
.farm-contact-phone{display:inline-block;color:#f6f4ed;font-size:25px;letter-spacing:.01em;border-bottom:1px solid #aabb99;line-height:1.5}
.contact-section p.farm-contact-caption{font-size:10px;margin:8px 0 0;color:#c1ceb7}
.contact-section p.contact-animal-context{font-size:12px;color:#e2e7d4;margin:13px 0 0;max-width:490px;overflow-wrap:anywhere}
.farm-contact-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:23px}
.btn-contact{background:#f6f4ed;color:var(--green)}
.btn-contact-outline{border-color:#779176;color:#f6f4ed;background:transparent}
.public-nav{gap:24px}
@media(min-width:761px){#herd-rows td:first-child{min-width:300px;max-width:365px}.public-sale-section h2{font-size:40px}}
@media(max-width:1000px) and (min-width:761px){.public-nav{gap:16px}.nav-link{font-size:11px}}
@media(max-width:760px){.public-sale-section h2{font-size:36px}.farm-contact-phone{font-size:24px}.contact-section p.farm-contact-name{font-size:19px}.public-inquiry{font-size:12px}.farm-contact-actions .btn{font-size:11px}}

/* Real farm imagery and neutral local raster fallbacks. */
.section-ranch-banner{display:block;grid-column:1/-1;width:100%;height:auto;aspect-ratio:14/5;object-fit:cover;border:1px solid var(--line);border-radius:12px;background:#f6f4ed}
.animal-photo,.public-animal-image{display:block;width:100%;height:auto;object-fit:cover;background:#f6f4ed}
.herd-animal-photo,.animal-avatar-photo{display:block;flex-shrink:0;width:46px;height:46px;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#f6f4ed}
.animal-profile-photo{display:block;width:100%;max-height:360px;aspect-ratio:3/2;object-fit:cover;border:1px solid var(--line);border-radius:10px;background:#f6f4ed;margin-bottom:20px}
.project-animal-photo,.project-profile-photo{display:block;width:100%;height:auto;max-height:290px;aspect-ratio:3/2;object-fit:cover;border:1px solid var(--line);border-radius:8px;background:#f6f4ed;margin-bottom:18px}
.project-profile-photo{max-height:360px}
.brand .ranch-logo,.brand img{object-fit:contain;background:#f6f4ed;border-radius:6px}
@media(max-width:760px){.section-ranch-banner{border-radius:9px;aspect-ratio:14/6}.herd-animal-photo,.animal-avatar-photo{width:48px;height:48px}.project-animal-photo,.project-profile-photo{max-height:260px;margin-bottom:16px}.animal-profile-photo{max-height:280px}}

.footer-brand{display:inline-flex;align-items:center;gap:11px}.footer-brand>img{width:44px;height:44px;object-fit:contain;background:#f6f4ed;border-radius:5px;flex-shrink:0}

/* Animal gallery near the top of the Add/Edit Animal form. */
.animal-photo-uploader{border:1px solid #dfe5d6;padding:18px;border-radius:12px;margin:10px 0 2px;min-width:0;background:#f9fbf4}.animal-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.animal-photo-heading h3{font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.02em;color:var(--green)}.animal-photo-optional{font-size:10px;color:#687461;white-space:nowrap}.animal-photo-preview-wrap{overflow:hidden;border:1px solid #dce4d1;border-radius:10px;background:#eef2e5;max-width:100%;margin-bottom:17px}.animal-photo-preview-wrap img{display:block;width:100%;max-height:310px;aspect-ratio:4/3;object-fit:contain;object-position:center}.animal-photo-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.animal-photo-file-field{min-width:0;flex:1}.animal-photo-file-field label{font-size:11px;font-weight:500;color:#53654c;margin-bottom:7px}.animal-photo-file-field input[type=file]{display:block;max-width:100%;min-height:44px;padding:8px;font-size:12px;line-height:1.6;border:1px solid #dce1d3;border-radius:6px;background:#fffefa;color:#53654c}.animal-photo-file-field input[type=file]::file-selector-button{min-height:30px;border:1px solid #d5dec9;border-radius:4px;padding:5px 9px;margin-right:9px;background:#eef3e6;color:#405b33;font:inherit;font-size:11px;cursor:pointer}.animal-photo-actions .btn{min-height:44px;flex-shrink:0}.animal-photo-help,.animal-photo-status{font-size:11px;line-height:1.8;color:#596b50;overflow-wrap:anywhere}.animal-photo-help{margin-top:13px}.animal-photo-status{margin-top:8px}.animal-photo-status:empty{display:none}.animal-photo-uploader .form-error{margin-top:12px}.animal-photo-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.animal-photo-gallery:empty{display:none}.animal-gallery-item{border:1px solid #d7dfcd;border-radius:9px;overflow:hidden;min-width:0;background:#fff}.animal-gallery-selected{border-color:#6e8d5c;box-shadow:0 0 0 2px #6e8d5c24}.animal-gallery-view{display:block;padding:0;border:0;background:#edf2e6;width:100%;cursor:pointer}.animal-gallery-view img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}.animal-gallery-view:focus-visible{outline:3px solid #8caa76;outline-offset:-3px}.animal-gallery-item-copy{padding:10px}.animal-gallery-badge{font-size:10px;font-weight:600;color:#375a2b;display:block}.animal-gallery-state{font-size:9px;color:#6e7e61;display:block;line-height:1.6;margin-top:3px}.animal-gallery-error{font-size:9px;line-height:1.6;color:#a34c35;overflow-wrap:anywhere;margin-top:5px}.animal-gallery-item-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.animal-gallery-item-actions .btn{padding:7px 8px;min-height:38px;font-size:9px;flex:1}
@media(max-width:760px){.animal-photo-uploader{padding:14px;margin-top:8px}.animal-photo-actions{flex-direction:column;align-items:stretch;gap:12px}.animal-photo-file-field input[type=file]{font-size:16px;min-height:48px}.animal-photo-file-field input[type=file]::file-selector-button{min-height:32px;font-size:12px}.animal-photo-actions .btn{align-self:flex-start;min-height:44px}.animal-photo-preview-wrap img{max-height:280px}.animal-photo-help,.animal-photo-status{font-size:11px}.animal-photo-heading h3{font-size:15px}.animal-photo-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.animal-gallery-item-copy{padding:9px}.animal-gallery-item-actions{gap:5px}.animal-gallery-item-actions .btn{min-height:44px;font-size:9px;padding:7px 6px}}

/* Ranch workflow controls retain the existing farm palette. */
.dashboard-workflow-actions{display:flex;gap:10px;flex-wrap:wrap;align-items:center;justify-content:flex-end}.ranch-workflow-toolbar{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap;padding:18px 25px;background:#f8faf3;border-top:1px solid var(--line)}.status-filter-field{min-width:210px;flex:1}.status-filter-field>label{font-size:10px;font-weight:600;color:#596b50;margin-bottom:8px;display:block}.status-filter-field>select{font-size:12px}.calving-filter-check{display:flex;align-items:center;gap:9px;min-height:44px;font-size:11px;margin:0}.calving-filter-check>input{width:20px;height:20px;min-height:20px;margin:0;padding:0;accent-color:var(--green)}.ranch-workflow-actions{display:flex;gap:8px;flex-wrap:wrap}.workflow-help{flex-basis:100%;font-size:10px;line-height:1.8;color:#687461;margin:0}.herd-status-badge{display:inline-block;padding:3px 7px;margin-top:6px;border-radius:5px;border:1px solid #d4dfc9;font-size:9px;line-height:1.5}.status-active{color:#31512c;background:#eef4e6}.status-history{color:#735d45;background:#f5eee4;border-color:#e1d5c3}.calving-completed{color:#63735c;font-style:italic}.animal-status-fields{padding:15px;margin:0;border:1px solid #dce1d3;border-radius:9px;min-width:0;background:#f7f9f0}.animal-status-fields legend{font-size:12px;font-weight:600;padding:0 6px;color:var(--green)}.animal-status-fields>#animal-exit-fields{margin-top:14px}.sort-options [data-herd-sort=expected_calving_date]{white-space:normal;text-align:left}.calving-filters .sort-options{gap:6px}
@media(max-width:760px){.dashboard-workflow-actions{justify-content:flex-start;width:100%}.dashboard-workflow-actions .btn{min-height:45px;font-size:12px}.ranch-workflow-toolbar{padding:17px 18px;gap:12px}.status-filter-field{flex-basis:100%;min-width:0}.status-filter-field>select{font-size:16px}.ranch-workflow-actions{width:100%}.ranch-workflow-actions>.btn{flex:1;font-size:10px;min-height:44px}.workflow-help{font-size:10px}.calving-filter-check{font-size:12px}.herd-status-badge{font-size:10px}}

/* Quick chute entry and breeding estimates. */
.preg-entry-dialog{max-width:660px}.preg-entry-estimate{font-size:12px;line-height:1.8;color:var(--green);margin:10px 0 0}.calving-history{white-space:pre-line;background:#f1f4e9;border:1px solid #dce3d1;border-radius:7px;padding:11px 13px;overflow-wrap:anywhere}.calving-completed{color:#687461}.calving-active{color:var(--green)}.herd-workflow-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.herd-workflow-actions .btn{min-height:44px}.herd-workflow-help{font-size:10px;color:#687461;line-height:1.8;margin:10px 0 0}.preg-entry-actions{flex-wrap:wrap}.preg-entry-actions .btn{min-height:44px}
@media(max-width:760px){.herd-workflow-actions{align-items:stretch;gap:8px}.herd-workflow-actions .btn{font-size:11px;flex:1}.preg-entry-actions{width:100%;display:grid;grid-template-columns:1fr 1fr;gap:9px}.preg-entry-actions>.btn:first-child{grid-column:1/-1}.preg-entry-actions .btn{padding:12px 10px;font-size:11px}.preg-entry-dialog input,.preg-entry-dialog select{font-size:16px}}

/* Bulk herd status and compact project status labels. */
.bulk-status-dialog .animal-dialog-header h2{font-size:29px;overflow-wrap:anywhere}.bulk-status-count{display:inline-block;font-size:12px;font-weight:600;line-height:1.7;color:#49613b;padding:6px 10px;border:1px solid #d7e3cb;border-radius:6px;background:#edf4e4;margin-bottom:22px}.bulk-status-help{font-size:11px;color:#596b50;line-height:1.8;margin-top:18px}.bulk-status-dialog .btn,#bulk-set-herd-status{min-height:44px}.bulk-status-dialog .form-error{margin-top:14px}.project-herd-status{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 9px;border:1px solid #dfe3d7;border-radius:5px;background:#f1f3ed;color:#59664f;font-size:10px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.project-herd-status.is-active,.project-herd-status.status-active{border-color:#d3e0c7;background:#eaf2e1;color:#4b643c}.project-herd-status.is-inactive,.project-herd-status.status-inactive{border-color:#e5d8c8;background:#f4eee5;color:#7a6244}
@media(max-width:760px){.bulk-status-dialog input,.bulk-status-dialog select,.bulk-status-dialog textarea{font-size:16px;min-height:44px}.bulk-status-dialog .animal-dialog-header h2{font-size:27px}.bulk-status-dialog .animal-dialog-footer .btn{font-size:11px;min-height:44px}.project-herd-status{font-size:10px}}
@media(max-width:400px){.bulk-status-dialog .form-footer-actions{width:100%;gap:8px}.bulk-status-dialog .form-footer-actions .btn{flex:1;white-space:normal}}

.project-status-badges{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:7px}.project-log-card .project-card-heading{flex-wrap:wrap}

/* Spreadsheet import wizard. Editable sheets remain horizontally scrollable on phones. */
.import-dialog{width:min(1180px,calc(100vw - 28px));max-width:1180px}.import-dialog .animal-form-body{padding-top:22px}.import-source-panel{border:1px solid #dce3d4;border-radius:10px;background:#f8faf3;padding:20px}.import-source-panel h3,.import-review h3{font-size:17px;font-weight:600;line-height:1.5;color:var(--green);margin:0 0 9px}.import-help{font-size:11px;line-height:1.8;color:#62735b;margin:10px 0;overflow-wrap:anywhere}.import-source-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:16px}.import-source-grid>*{min-width:0}.import-source-grid input[type=file]{font-size:12px;min-height:46px;padding:9px;max-width:100%;background:white}.import-source-grid input[type=file]::file-selector-button{padding:7px 9px;margin-right:8px;border:1px solid #d5deca;border-radius:5px;background:#eaf0e1;color:#344f2d;font:inherit;cursor:pointer}.import-select-label input,.import-table input[type=checkbox]{width:19px;height:19px;min-height:19px;margin:0;flex-shrink:0;padding:0;accent-color:var(--green)}.import-status{font-size:12px;line-height:1.8;color:#415e35;white-space:pre-wrap;margin:20px 0}.import-status:empty{display:none}.import-review{border-top:1px solid var(--line);padding-top:22px;margin-top:24px;min-width:0}.import-review-heading{margin-bottom:12px}.import-summary{font-size:12px;color:#596c4f;margin:6px 0}.import-review-controls{display:flex;gap:15px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin:16px 0}.import-select-label{display:flex;align-items:center;gap:9px;font-size:11px;line-height:1.6;margin:0;cursor:pointer}.import-add-column{display:flex;gap:8px;align-items:center;max-width:100%}.import-add-column select{font-size:11px;min-height:42px;width:auto;max-width:230px}.import-table-wrap{width:100%;overflow:auto;border:1px solid var(--line);border-radius:9px;max-height:460px;scrollbar-gutter:stable}.import-table{width:max-content;min-width:100%;border-collapse:collapse;margin:0}.import-table thead{position:sticky;top:0;z-index:1;background:#edf2e6}.import-table th,.import-table td{padding:9px;border-bottom:1px solid #e2e7d9;text-align:left;vertical-align:top}.import-table thead th{font-size:10px;text-transform:none;letter-spacing:0;white-space:nowrap;color:#526348}.import-table tbody th{font-size:11px;min-width:35px;color:#6d7d60}.import-table td input[type=text]{min-height:42px;min-width:145px;width:180px;padding:9px 10px;font-size:12px;box-sizing:border-box;background:white;border:1px solid #dce1d3;border-radius:5px}.import-table td input[data-import-field=notes],.import-table td input[data-import-field=exit_reason]{width:260px}.import-table td input:focus{outline:2px solid #8eaa7b;outline-offset:1px}.import-table .import-row-review{min-width:190px;max-width:260px;font-size:10px;line-height:1.7;color:#627458}.import-invalid-row{background:#fff1e9}.import-invalid-row .import-row-review{color:#9c4c30}.import-pagination{display:flex;gap:12px;align-items:center;justify-content:flex-end;margin-top:14px}.import-pagination>span{font-size:10px;color:#687760}.import-table-wrap:focus-visible{outline:2px solid #8eaa7b;outline-offset:3px}
@media(max-width:760px){.import-dialog{width:calc(100vw - 18px);max-height:calc(100dvh - 18px)}.import-dialog .animal-form-body{padding-left:16px;padding-right:16px}.import-source-panel{padding:16px}.import-source-grid{grid-template-columns:1fr;gap:16px}.import-source-grid input[type=file],.import-source-grid input,.import-source-grid select{font-size:16px}.import-review-controls{align-items:stretch;gap:13px}.import-add-column{width:100%}.import-add-column select{flex:1;max-width:none;font-size:16px}.import-table td input[type=text]{font-size:16px;min-width:150px;min-height:44px}.import-table-wrap{max-height:390px}.import-table input[type=checkbox],.import-select-label input{width:23px;height:23px;min-height:23px}.import-pagination{justify-content:space-between;gap:8px}}
/* Keep spreadsheet previews as tables despite legacy mobile herd card rules. */
@media(max-width:760px){#import-dialog .import-table{display:table}#import-dialog .import-table thead{display:table-header-group}#import-dialog .import-table tbody{display:table-row-group}#import-dialog .import-table tr{display:table-row;position:static;padding:0;margin:0;border:0;grid-template-columns:none;gap:0}#import-dialog .import-table th,#import-dialog .import-table td{display:table-cell;position:static;top:auto;right:auto;bottom:auto;left:auto;padding:9px;margin:0;grid-column:auto;align-items:normal;gap:normal}#import-dialog .import-table td::before{content:none;display:none}#import-dialog .import-table tr.import-invalid-row{background:#fff1e9}}

/* Four thumb-friendly dashboard shortcuts, visible across administrator tabs. */
.ranch-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.ranch-summary-grid>.summary-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0;min-height:184px;width:100%;appearance:none;font:inherit;padding:20px 21px 17px;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.ranch-summary-grid>.summary-card:not(:disabled):hover{transform:translateY(-2px);box-shadow:0 8px 22px #193d3214;border-color:#95aa83}
.ranch-summary-grid>.summary-card:not(:disabled):active{transform:translateY(0) scale(.985)}
.ranch-summary-grid>.summary-card:focus-visible{outline:3px solid var(--gold);outline-offset:4px;box-shadow:0 0 0 2px var(--cream)}
.ranch-summary-grid>.summary-card:disabled{opacity:.7;cursor:wait}
.ranch-summary-grid .stat-label{font-size:12px;line-height:1.5;gap:10px;color:#596b50}
.ranch-summary-grid .stat-value{display:block;font-family:Georgia,"Times New Roman",serif;font-size:42px;line-height:1.15;color:var(--green);margin:13px 0 10px}
.ranch-summary-grid .stat-detail{display:block;min-height:30px;font-size:11px;line-height:1.65;color:#62735b;white-space:normal;overflow-wrap:anywhere}
.ranch-summary-grid .stat-view-hint{display:flex;align-items:center;gap:7px;line-height:1.5;font-size:10px;font-weight:600;color:#5a7450;margin-top:auto;padding-top:12px}
.stat-view-hint>.icon{width:15px;height:15px;transition:transform .16s ease}
.summary-card:hover:not(:disabled) .stat-view-hint>.icon{transform:translateX(3px)}
.ranch-summary-grid .stat-featured .stat-label,.ranch-summary-grid .stat-featured .stat-detail{color:#d4e0c9}
.ranch-summary-grid .stat-featured .stat-value,.ranch-summary-grid .stat-featured .stat-view-hint{color:#fff}
.ranch-summary-grid .stat-rental-badge.stat-rental-alert{align-self:flex-start;min-height:0;margin:0 0 8px;padding:3px 8px;border:1px solid #e6c477;border-radius:5px;background:#fff1cf;color:#80580c;font-weight:650}
.dot-heifer{background:#ad87a0}
#herd-list-top{scroll-margin-top:24px}
#herd-list-top:focus{outline:0}
@media(max-width:760px){.ranch-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:22px}.ranch-summary-grid>.summary-card,.ranch-summary-grid>.summary-card:last-child{grid-column:auto;min-height:170px;padding:17px 15px 15px}.ranch-summary-grid .stat-label{font-size:11px;gap:7px}.ranch-summary-grid .stat-value{font-size:36px;margin:10px 0 8px}.ranch-summary-grid .stat-detail{font-size:10px;min-height:32px;line-height:1.6}.ranch-summary-grid .stat-view-hint{font-size:10px;padding-top:10px}.ranch-summary-grid .stat-rental-badge.stat-rental-alert{font-size:10px;min-height:0}}
@media(prefers-reduced-motion:reduce){.ranch-summary-grid>.summary-card,.stat-view-hint>.icon{transition:none}.ranch-summary-grid>.summary-card:not(:disabled):hover,.ranch-summary-grid>.summary-card:not(:disabled):active,.summary-card:hover:not(:disabled) .stat-view-hint>.icon{transform:none}}

/* Private, read-only ranch schedules and per-animal care reminders. */
.upcoming-farm-strip{margin:22px 0 20px;padding:18px;border:1px solid #dce4d6;border-radius:12px;background:#f8faf3}.upcoming-farm-heading{display:flex;gap:16px;align-items:baseline;justify-content:space-between;margin-bottom:13px}.upcoming-farm-heading h2{font-size:18px;font-weight:600;line-height:1.3;color:var(--green);margin:0}.upcoming-farm-heading p{font-size:10px;line-height:1.7;color:#687461;margin:0}.upcoming-farm-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px}.farm-upcoming-pill{display:flex;flex-direction:column;gap:7px;align-items:flex-start;min-width:0;width:100%;min-height:127px;padding:15px 16px;border:1px solid #d5dfcd;border-radius:9px;background:#fffefa;color:var(--green);text-align:left;cursor:pointer}.farm-upcoming-pill:hover{border-color:#93ab7d;background:#f5f8ee}.farm-upcoming-pill:focus-visible{outline:2px solid #446b38;outline-offset:3px}.farm-upcoming-pill:disabled{cursor:default;opacity:.7}.farm-upcoming-title{font-size:10px;font-weight:600;letter-spacing:.02em}.farm-upcoming-pill strong{font-size:21px;line-height:1.2;font-weight:600}.farm-upcoming-detail{font-size:10px;line-height:1.7;color:#617257;overflow-wrap:anywhere}.farm-upcoming-action{font-size:9px;font-weight:600;margin-top:auto;padding-top:4px}.farm-upcoming-danger{border-color:#dbb5a5;background:#fff7f1}.farm-upcoming-danger .farm-upcoming-title,.farm-upcoming-danger strong{color:#8b3e2e}.farm-upcoming-partial{border-style:dashed}.animal-care-alerts{display:flex;flex-wrap:wrap;gap:6px;align-items:stretch;margin-top:8px;max-width:100%}.animal-care-alert{display:flex;flex-direction:column;gap:3px;min-width:0;border:1px solid #dce4d3;border-radius:6px;padding:7px 9px;background:#f3f6ec;color:#4e6744;font-size:9px;line-height:1.6;overflow-wrap:anywhere}.animal-care-alert strong{font-size:9px;font-weight:600}.animal-care-alert>span{font-size:9px}.animal-care-alert-warning{background:#fff9e7;border-color:#e6d89f;color:#7a5c24}.animal-care-alert-danger{background:#fff0e9;border-color:#e1b4a3;color:#913d2c}.animal-care-empty{font-size:9px;line-height:1.6;color:#6d7964;border:1px solid #e2e7db;border-radius:6px;padding:7px 9px;background:#fafbf6}#animal-top-alerts{margin:0 0 21px;padding:14px;border:1px solid #dce5d2;border-radius:10px;background:#fafcf6}#animal-top-alerts .animal-care-alerts{margin-top:0}#animal-top-alerts .animal-care-alert,#animal-top-alerts .animal-care-empty{font-size:11px}#animal-top-alerts .animal-care-alert strong,#animal-top-alerts .animal-care-alert>span{font-size:11px}.farm-alerts-dialog{max-width:760px}.farm-alerts-status{font-size:11px;color:#617257;line-height:1.8;margin:0 0 16px}.farm-alerts-list{display:grid;gap:12px}.farm-alert-list-entry{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:17px;border:1px solid #dce4d3;border-radius:9px;background:#fbfcf7}.farm-alert-list-entry h3{font-size:15px;line-height:1.5;overflow-wrap:anywhere;margin:0 0 6px}.farm-alert-list-entry p{font-size:11px;color:#617257;line-height:1.8;margin:0;overflow-wrap:anywhere}.farm-alert-list-date{display:flex;flex-wrap:wrap;gap:6px 13px;margin-top:8px!important}.farm-alert-list-date strong{font-size:10px;font-weight:600;color:#566b48}.farm-alert-list-date strong.farm-alert-overdue{color:#953d2c}.farm-alert-list-entry>.btn{flex-shrink:0;min-height:44px}.farm-alerts-empty{font-size:12px;line-height:1.8;color:#687461;padding:18px;border:1px dashed #d6dfcc;border-radius:8px}
@media(max-width:760px){.upcoming-farm-strip{padding:14px;margin:18px 0}.upcoming-farm-heading{display:block}.upcoming-farm-heading h2{font-size:17px;margin-bottom:5px}.upcoming-farm-heading p{font-size:11px}.upcoming-farm-items{grid-template-columns:1fr;gap:9px}.farm-upcoming-pill{min-height:114px;padding:14px}.farm-upcoming-title{font-size:11px}.farm-upcoming-detail{font-size:11px}.farm-upcoming-action{font-size:10px}.animal-care-alert,.animal-care-alert strong,.animal-care-alert>span,.animal-care-empty{font-size:10px}.farm-alert-list-entry{flex-direction:column;gap:12px;padding:15px}.farm-alert-list-entry>.btn{align-self:flex-start}.farm-alert-list-entry h3{font-size:16px}.farm-alert-list-entry p{font-size:12px}}

/* Public animal galleries: native controls, one image at a time. */
.public-animal-gallery{min-width:0;background:var(--paper);outline-offset:-3px}
.public-gallery-frame{position:relative;isolation:isolate}
.public-gallery-frame>img{display:block;width:100%;height:100%;object-fit:cover;background:#f6f4ed}
.public-gallery-arrow{position:absolute;top:50%;z-index:2;display:grid;place-items:center;transform:translateY(-50%);width:44px;height:44px;border:1px solid #ffffffb3;border-radius:50%;background:#193d32d9;color:#fff;box-shadow:0 3px 12px #10291e26;cursor:pointer}
.public-gallery-arrow:hover{background:#193d32}
.public-gallery-arrow:focus-visible,.public-gallery-thumbnail:focus-visible,.public-animal-gallery:focus-visible{outline:3px solid #b18b51;outline-offset:3px}
.public-gallery-previous{left:13px}.public-gallery-next{right:13px}
.public-gallery-previous .icon{transform:rotate(180deg)}
.public-gallery-count{position:absolute;right:15px;bottom:13px;z-index:2;border:1px solid #ffffff55;border-radius:50px;padding:5px 10px;background:#193d32dc;color:#fff;font-size:11px;line-height:1.4;font-variant-numeric:tabular-nums}
.public-gallery-thumbnails{display:flex;align-items:center;gap:9px;padding:12px 15px;background:#f5f7ee;border-top:1px solid #e1e6d8;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.public-gallery-thumbnail{flex:0 0 70px;width:70px;height:52px;min-height:44px;padding:2px;border:2px solid transparent;border-radius:7px;background:#e7ecdd;opacity:.7;cursor:pointer;overflow:hidden}
.public-gallery-thumbnail img{width:100%;height:100%;object-fit:cover;border-radius:3px;background:#f6f4ed}
.public-gallery-thumbnail:hover{opacity:1;border-color:#a7b897}
.public-gallery-thumbnail[aria-pressed="true"]{opacity:1;border-color:#193d32;background:#193d32}
@media(max-width:760px){.public-gallery-arrow{width:44px;height:44px}.public-gallery-previous{left:10px}.public-gallery-next{right:10px}.public-gallery-thumbnails{gap:8px;padding:11px 12px}.public-gallery-thumbnail{flex-basis:66px;width:66px;height:50px}.public-gallery-count{font-size:11px;right:12px;bottom:11px}}
@media(prefers-reduced-motion:reduce){.public-gallery-thumbnails{scroll-behavior:auto}}

/* Daily 4-H group feeding, individual records, and log photos. */
.fourh-scope-choice{padding:15px 17px;margin-bottom:22px;border:1px solid #d6e1c9;border-radius:9px;background:#f1f6e8}.fourh-scope-choice>label{display:flex;align-items:center;gap:11px;min-height:44px;margin:0;font-size:13px;font-weight:600;color:var(--green);cursor:pointer}.fourh-scope-choice input[type=checkbox]{flex-shrink:0;width:20px;height:20px;min-height:20px;margin:0;padding:0;accent-color:var(--green)}.fourh-scope-choice small{display:block;font-size:10px;font-weight:400;color:#687461;line-height:1.8;margin-top:2px}.fourh-scope-choice>label:has(input:disabled){cursor:default}.fourh-scope-choice>label:focus-within{outline:2px solid #7f9983;outline-offset:4px;border-radius:4px}.fourh-scope-help,.fourh-log-weight-help{font-size:11px;line-height:1.8;color:#596b50;margin-top:8px}.fourh-log-weight-help{margin-top:18px}.fourh-log-scope{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:5px 9px;border:1px solid #d7e3c9;border-radius:5px;background:#edf4e4;color:#49613b;font-size:10px;font-weight:600;line-height:1.5;white-space:normal;overflow-wrap:anywhere}.fourh-log-scope.is-group{background:#f6f0dd;border-color:#e5d8af;color:#7b6327}.project-log-photo{margin-top:18px;overflow:hidden;border:1px solid #dce4d1;border-radius:9px;background:#eef2e5}.project-log-photo img,img.project-log-photo{display:block;width:100%;max-height:260px;aspect-ratio:4/3;object-fit:cover;object-position:center}.project-photo-uploader{border-top:1px solid #dfe5d6;padding-top:24px;margin-top:24px;min-width:0}.project-photo-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:15px}.project-photo-heading h3{font-size:16px;font-weight:600;line-height:1.5;letter-spacing:-.02em;color:var(--green)}.project-photo-optional{font-size:10px;color:#687461}.project-photo-preview-wrap{overflow:hidden;border:1px solid #dce4d1;border-radius:10px;background:#eef2e5;max-width:100%;margin-bottom:17px}.project-photo-preview-wrap img{display:block;width:100%;max-height:260px;aspect-ratio:4/3;object-fit:cover;object-position:center}.project-photo-actions{display:flex;align-items:flex-end;justify-content:space-between;gap:16px}.project-photo-file-field{min-width:0;flex:1}.project-photo-file-field label{font-size:11px;font-weight:500;color:#53654c;margin-bottom:7px}.project-photo-file-field input[type=file]{display:block;max-width:100%;min-height:44px;padding:8px;font-size:12px;line-height:1.6;border:1px solid #dce1d3;border-radius:6px;background:#fffefa;color:#53654c}.project-photo-file-field input[type=file]::file-selector-button{min-height:30px;border:1px solid #d5dec9;border-radius:4px;padding:5px 9px;margin-right:9px;background:#eef3e6;color:#405b33;font:inherit;font-size:11px;cursor:pointer}.project-photo-actions .btn{min-height:44px;flex-shrink:0}.project-photo-help,.project-photo-status{font-size:11px;line-height:1.8;color:#596b50;overflow-wrap:anywhere}.project-photo-help{margin-top:13px}.project-photo-status{margin-top:8px}.project-photo-status:empty{display:none}.project-photo-uploader .form-error{margin-top:12px}.fourh-daily-log-dialog .btn{min-height:44px}.fourh-daily-log-dialog .animal-dialog-header h2{overflow-wrap:anywhere}
@media(max-width:760px){.fourh-daily-log-dialog input,.fourh-daily-log-dialog select,.fourh-daily-log-dialog textarea{font-size:16px}.fourh-scope-choice{padding:13px 14px}.fourh-scope-choice>label{min-height:48px;font-size:12px}.fourh-scope-choice input[type=checkbox]{font-size:16px;min-height:20px}.project-photo-uploader{padding-top:21px;margin-top:22px}.project-photo-actions{flex-direction:column;align-items:stretch;gap:12px}.project-photo-file-field input[type=file]{font-size:16px;min-height:48px}.project-photo-file-field input[type=file]::file-selector-button{min-height:32px;font-size:12px}.project-photo-actions .btn{align-self:flex-start;min-height:44px}.project-photo-preview-wrap img,.project-log-photo img,img.project-log-photo{max-height:260px}.project-photo-heading h3{font-size:15px}.fourh-log-scope{font-size:10px}}
@media(max-width:400px){.fourh-daily-log-dialog .animal-dialog-footer .form-footer-actions{gap:8px}.fourh-daily-log-dialog .animal-dialog-footer .btn{font-size:11px;padding-left:10px;padding-right:10px}}

/* Urgent schedules precede the album editor and the rest of the animal record. */
.animal-overview{margin-bottom:26px;padding-bottom:22px;border-bottom:1px solid var(--line)}.animal-identity-fields{margin-bottom:18px}.animal-overview>.animal-photo-preview-wrap{max-width:100%;margin-bottom:16px}.animal-overview>.animal-photo-preview-wrap img{max-height:240px;object-fit:contain}.animal-implant-fields{margin:4px 0 18px}.animal-alerts-slot:empty,#animal-top-alerts:empty{display:none}.animal-alerts-slot{margin:7px 0}.animal-overview .animal-photo-gallery{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x proximity;overscroll-behavior-x:contain;padding:2px 2px 10px;max-width:100%}.animal-overview .animal-gallery-item{flex:0 0 160px;scroll-snap-align:start}.animal-gallery-view img{max-height:125px}.animal-overview .animal-photo-uploader{margin-top:14px}
@media(max-width:760px){.animal-overview>.animal-photo-preview-wrap img{max-height:190px}.animal-overview .animal-gallery-item{flex-basis:145px}.animal-overview .animal-photo-gallery{gap:9px}.animal-identity-fields{margin-bottom:16px}.upcoming-farm-items{gap:8px}.farm-upcoming-pill{display:grid;grid-template-columns:minmax(92px,.8fr) minmax(0,1.2fr);gap:3px 12px;min-height:85px;padding:11px 12px}.farm-upcoming-title{grid-column:1;grid-row:1}.farm-upcoming-pill strong{grid-column:1;grid-row:2;font-size:18px}.farm-upcoming-detail{grid-column:2;grid-row:1/3;font-size:10px;line-height:1.55}.farm-upcoming-action{grid-column:1/-1;justify-self:end;font-size:9px;padding-top:0}.upcoming-farm-heading p{font-size:10px}}

/* Keep workspace navigation above adjacent content, with native phone tap targets. */
#workspace-tabs{position:relative;z-index:3;isolation:isolate;pointer-events:auto}
#workspace-tabs>[data-tab]{position:relative;z-index:1;pointer-events:auto;touch-action:manipulation;min-height:48px}
#workspace-tabs>[data-tab]:focus-visible{outline:2px solid #8ca37b;outline-offset:2px}
#workspace-tabs>[data-tab]:active{transform:translateY(1px);background:#e4eadb}
#workspace-tabs>[data-tab][aria-selected="true"]:active{background:var(--green)}
.animal-alerts-slot .animal-status-alerts{gap:5px}
.animal-alerts-slot{max-width:430px}

/* V11_EXPOSURE_CSS */
/* Bull exposure history inside the private Herd workspace. */
.exposure-panel{margin-top:36px;min-width:0}.exposure-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin:0 0 24px}.exposure-section-heading .eyebrow{font-size:9px;color:#687461}.exposure-section-heading h2{font-size:31px;margin:11px 0}.exposure-section-heading .muted{font-size:12px;line-height:1.8;max-width:600px}.exposure-heading-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.exposure-heading-actions .btn{min-height:44px}.exposure-filter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;padding:24px 25px 18px}.exposure-filter-grid label{font-size:10px;font-weight:600;color:#596b50}.exposure-filter-grid select{font-size:12px;min-height:44px}.exposure-status,.exposure-summary{font-size:11px;color:#596b50;line-height:1.8;padding:0 25px 13px}.exposure-status:empty,.exposure-summary:empty{display:none}.exposure-timeline-scroll{width:100%;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;padding:0 25px 24px;scrollbar-color:#b2c59c #eef3e6;outline-offset:-3px}.exposure-timeline-scroll:empty{display:none}.exposure-year-group{min-width:1050px;padding:21px 0 25px;border-top:1px solid #dfe6d5}.exposure-year-group:first-child{border-top:0;padding-top:8px}.exposure-year-group>h3{font-size:19px;font-weight:600;color:var(--green);letter-spacing:-.025em;margin-bottom:18px}.exposure-axis{display:grid;grid-template-columns:repeat(var(--exposure-months,12),minmax(0,1fr));margin-left:190px;margin-bottom:8px;color:#687461;font-size:10px;line-height:1.6}.exposure-axis>span{padding-left:5px;white-space:nowrap}.exposure-lane{display:grid;grid-template-columns:190px minmax(0,1fr);align-items:stretch;gap:0;margin-top:9px}.exposure-lane-label{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:9px 17px 9px 0;font-size:11px;line-height:1.7;color:#53654c;overflow-wrap:anywhere}.exposure-lane-label strong{font-size:12px;font-weight:600;color:var(--green)}.exposure-lane-label small{font-size:10px;color:#687461}.exposure-track{position:relative;min-height:66px;border:1px solid #dce4d0;border-radius:7px;background:repeating-linear-gradient(to right,#f7f9f2 0,#f7f9f2 calc(100% / var(--exposure-months,12) - 1px),#dfe7d4 calc(100% / var(--exposure-months,12) - 1px),#dfe7d4 calc(100% / var(--exposure-months,12)));overflow:hidden}.exposure-bar{position:absolute;top:10px;display:flex;align-items:center;justify-content:space-between;gap:9px;min-height:44px;min-width:44px;max-width:100%;padding:8px 10px;border:1px solid #476d49;border-radius:6px;background:#285444;color:#fffefa;font:inherit;font-size:11px;text-align:left;line-height:1.5;cursor:pointer;overflow:hidden;box-shadow:0 2px 4px #183c2110}.exposure-bar:hover:not(:disabled){background:#193d32;border-color:#193d32}.exposure-bar:focus-visible{outline:3px solid #b18b51;outline-offset:3px;z-index:2}.exposure-bar:disabled{opacity:.55;cursor:not-allowed}.exposure-bar-label{display:block;min-width:0;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.exposure-bar-date{display:block;min-width:0;font-size:11px;line-height:1.7;color:#53654c;white-space:normal;overflow-wrap:anywhere}.exposure-badges{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.exposure-history-tag{display:inline-flex;align-items:center;gap:4px;max-width:100%;padding:4px 8px;border:1px solid #e4d6bf;border-radius:5px;background:#f5eee2;color:#78603c;font-size:10px;font-weight:600;line-height:1.5;white-space:normal}.exposure-help,.exposure-duration-preview{font-size:11px;color:#596b50;line-height:1.8;margin-top:10px}.exposure-duration-preview{font-weight:600;color:#49613b}.exposure-duration-preview:empty{display:none}.exposure-cow-picker{padding:17px;margin:23px 0;border:1px solid #d9e4cc;border-radius:9px;background:#f3f7ec}.exposure-cow-picker-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:17px}.exposure-cow-picker-heading h3{font-size:16px;font-weight:600;color:var(--green);letter-spacing:-.02em}.exposure-selection-count{display:inline-block;padding:5px 9px;background:#e8f0dd;border:1px solid #d5e1c7;border-radius:5px;color:#49613b;font-size:11px;font-weight:600;white-space:nowrap}.exposure-cow-picker-search label{font-size:11px}.exposure-cow-picker-search input{min-height:44px}.exposure-picker-actions{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 15px}.exposure-picker-actions .btn{min-height:44px;font-size:11px}.exposure-cow-list{max-height:260px;overflow-y:auto;overscroll-behavior:contain;background:#fffefa;border:1px solid #d9e3cc;border-radius:7px}.exposure-cow-list:empty{display:none}.exposure-cow-option{display:grid;grid-template-columns:22px minmax(0,1fr);align-items:center;gap:12px;min-height:48px;padding:11px 13px;margin:0;border-bottom:1px solid #e5ebdd;color:var(--green);font-size:12px;line-height:1.7;cursor:pointer;overflow-wrap:anywhere}.exposure-cow-option:last-child{border-bottom:0}.exposure-cow-option:hover{background:#f0f6e8}.exposure-cow-option:has(input:checked){background:#eaf2de}.exposure-cow-option:focus-within{outline:2px solid #7f9983;outline-offset:-2px}.exposure-cow-option input[type=checkbox]{width:20px;height:20px;min-height:20px;margin:0;padding:0;accent-color:var(--green);cursor:pointer}.exposure-cow-option strong{font-size:12px;font-weight:600}.exposure-cow-caption{display:block;color:#687461;font-size:10px;line-height:1.8;font-weight:400}.exposure-picker-empty{padding:17px;text-align:center;border:1px dashed #d9e3cc;border-radius:7px;background:#fafcf6;color:#687461;font-size:11px;line-height:1.8;margin:0}.exposure-detail-notes{font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;color:#596b50;padding:15px 17px;margin-bottom:23px;border:1px solid #e0e7d7;border-radius:8px;background:#f6f8f0}.exposure-detail-notes:empty{display:none}.exposure-detail-cows-title{font-size:17px;font-weight:600;color:var(--green);letter-spacing:-.02em}.exposure-detail-cow-list{display:grid;gap:13px;margin-top:18px}.exposure-detail-cow{padding:17px;border:1px solid #dfe6d5;border-radius:9px;background:#fffefa;overflow-wrap:anywhere;min-width:0}.exposure-detail-cow h3,.exposure-detail-cow h4{font-size:15px;font-weight:600;color:var(--green);line-height:1.6}.exposure-detail-cow>p{font-size:11px;color:#687461;line-height:1.8;margin-top:5px}.exposure-detail-cow .btn{min-height:44px;margin-top:15px}.exposure-detail-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 18px;margin:15px 0 0}.exposure-detail-fields>div{min-width:0}.exposure-detail-fields dt{font-size:9px;letter-spacing:.05em;text-transform:uppercase;color:#687461;margin-bottom:5px}.exposure-detail-fields dd{margin:0;color:#344d2e;font-size:12px;line-height:1.8}.exposure-dialog .btn,.exposure-detail-dialog .btn{min-height:44px}.exposure-dialog .animal-dialog-header h2,.exposure-detail-dialog .animal-dialog-header h2{overflow-wrap:anywhere}
@media(max-width:1000px){.exposure-section-heading{align-items:flex-start;flex-direction:column;gap:15px}.exposure-detail-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.exposure-panel{margin-top:29px}.exposure-section-heading h2{font-size:28px}.exposure-heading-actions{width:100%;flex-wrap:wrap;gap:9px}.exposure-filter-grid{grid-template-columns:1fr;padding:20px 18px 16px;gap:12px}.exposure-filter-grid select,.exposure-dialog input,.exposure-dialog select,.exposure-dialog textarea{font-size:16px;min-height:44px}.exposure-status,.exposure-summary{padding-left:18px;padding-right:18px}.exposure-timeline-scroll{padding-left:18px;padding-right:18px}.exposure-cow-picker{padding:14px}.exposure-cow-picker-heading{align-items:flex-start;gap:10px}.exposure-cow-picker-heading h3{font-size:15px}.exposure-selection-count{font-size:10px}.exposure-cow-option{min-height:52px;gap:11px}.exposure-cow-caption{font-size:11px}.exposure-detail-cow{padding:15px}.exposure-detail-fields{gap:13px 14px}.exposure-detail-dialog .animal-dialog-footer .btn,.exposure-dialog .animal-dialog-footer .btn{font-size:11px;min-height:44px}}
@media(max-width:400px){.exposure-cow-picker-heading{flex-direction:column}.exposure-picker-actions{display:grid;grid-template-columns:1fr 1fr}.exposure-picker-actions .btn{font-size:10px;padding-left:8px;padding-right:8px}.exposure-detail-fields{grid-template-columns:1fr 1fr}.exposure-dialog .form-footer-actions,.exposure-detail-dialog .form-footer-actions{gap:8px}}

/* /V11_EXPOSURE_CSS */
