.animal-batch-activity-history{min-width:0;margin-top:20px}.animal-batch-activity-title,.animal-batch-activity-title h2,.animal-batch-activity-summary>span:first-child{margin:0}.animal-batch-activity-title>span{color:#64748b;font-size:.78rem;font-weight:700}.animal-batch-activity-overview,.animal-batch-activity-state{color:#64748b;font-size:.86rem}.animal-batch-activity-sections{display:grid;gap:18px;margin-top:16px}.animal-batch-activity-section{min-width:0;border-top:1px solid #e5eaf0;margin-top:0!important;padding-top:0!important}.animal-batch-activity-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:46px;padding:10px 2px;color:#263c51;cursor:pointer;list-style-position:inside}.animal-batch-activity-summary>span:first-child{font-size:.94rem;font-weight:750}.animal-batch-activity-summary:focus-visible{outline:3px solid #80b897;outline-offset:2px;border-radius:5px}.animal-batch-activity-cue{border-radius:999px;background:#f1f5f9;color:#475569;padding:4px 9px;font-size:.72rem;font-weight:750;white-space:nowrap}.animal-batch-activity-cue.is-partial{background:#fff4d6;color:#854d0e}.animal-batch-activity-cue.is-unavailable{background:#fff0ed;color:#a2352b}.animal-batch-activity-content{padding:0 2px 14px}.animal-batch-activity-table{max-height:320px;margin-top:8px;border:1px solid #e2e8f0;border-radius:10px}.animal-batch-activity-table th,.animal-batch-activity-table td{padding:9px 10px;white-space:normal;vertical-align:top}.animal-batch-activity-table th{position:sticky;top:0;z-index:1;background:#f8fafc}.animal-batch-activity-voided td{color:#64748b;text-decoration:line-through}.animal-batch-activity-voided td:last-child{text-decoration:none}@media(max-width:700px){.animal-batch-activity-title,.animal-batch-activity-summary{align-items:flex-start}.animal-batch-activity-table{max-height:280px}}:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#18352f;background:#f4f6f2;font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{cursor:pointer}h1,h2,p{margin-top:0}h1{font-size:2.25rem;letter-spacing:-.04em}h2{font-size:1.1rem}a{color:inherit;text-decoration:none}.muted{color:#667b73}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:.72rem;font-weight:800;color:#55936f}.app-shell{display:flex;min-height:100vh}.sidebar{position:sticky;top:0;display:flex;flex-direction:column;width:244px;height:100vh;background:#163f35;color:#eaf3e9;padding:28px 18px}.brand{display:flex;align-items:center;gap:12px;padding:0 8px 34px}.brand-mark{width:38px;height:38px;display:grid;place-items:center;border-radius:12px;background:#c3e89b;color:#173b2d;font-weight:900;font-size:1.45rem}.brand strong,.brand span,.sidebar-foot strong,.sidebar-foot span{display:block}.brand span,.sidebar-foot span{font-size:.77rem;opacity:.7}.sidebar nav{display:grid;gap:5px}.sidebar nav a{padding:12px 14px;border-radius:10px;color:#d8e8dc;font-weight:600}.sidebar nav a:hover,.sidebar nav a.active{background:#315e4d;color:#fff}.sidebar-foot{margin-top:auto;padding:20px 12px 0;border-top:1px solid #426957;overflow-wrap:anywhere}.sidebar-foot strong{margin:5px 0 12px;font-size:.85rem}.text-button{border:0;background:none;color:#cae9ad;padding:0;font-weight:700}.main-area{min-width:0;flex:1}.topbar{display:flex;align-items:center;justify-content:flex-end;min-height:76px;padding:12px 38px;background:#fff;border-bottom:1px solid #e1e9e1}.selectors{display:flex;gap:14px}.selectors label{display:flex;align-items:center;gap:8px;font-size:.78rem;font-weight:700;color:#698077}.selectors select{min-width:175px;margin:0}.mobile-brand{display:none}.content{max-width:1400px;margin:auto;padding:36px 42px 80px}.page-head{margin-bottom:28px}.page-head h1{margin:7px 0}.page-head p:last-child{color:#6a7d73}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,390px);gap:22px}.split.wide-left{grid-template-columns:minmax(0,1.5fr) minmax(300px,390px)}.panel,.metric{background:#fff;border:1px solid #dfe8df;border-radius:16px;box-shadow:0 8px 24px #133d2c09}.panel{padding:25px}.panel h2{margin-bottom:22px}.record-list{display:grid}.record{padding:14px 0;border-bottom:1px solid #e9eee8}.record:last-child{border-bottom:0}.record strong,.record span,.record small{display:block}.record span,.record small{color:#677970;margin-top:3px}.metrics{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:22px}.metric{padding:22px}.metric span{color:#668074;font-size:.85rem;font-weight:700}.metric strong{display:block;font-size:2rem;margin-top:8px}.empty{max-width:500px}.button-link{display:inline-block}form{display:grid;gap:16px}label{display:grid;gap:6px;font-size:.86rem;font-weight:700}input,select{width:100%;padding:11px 12px;border:1px solid #c8d8cf;border-radius:9px;background:#fff;color:#18352f;outline:none}input:focus,select:focus{border-color:#398960;box-shadow:0 0 0 3px #d8f0d9}.checkbox{display:flex;align-items:center;font-weight:500}.checkbox input{width:auto}.primary{border:0;background:#28764c;color:#fff;padding:12px 18px;border-radius:9px;font-weight:750}.primary:hover{background:#1f603d}.primary:disabled{opacity:.55;cursor:default}.wide{width:100%}.notice{padding:11px 14px;border-radius:9px;margin:12px 0;font-size:.9rem}.notice.error{background:#fff0ed;color:#a2352b}.notice.success{background:#eaf7e8;color:#236642}.table-wrap{overflow:auto}table{width:100%;border-collapse:collapse;text-align:left}th,td{border-bottom:1px solid #e8eee9;padding:13px 12px;white-space:nowrap}th{font-size:.76rem;text-transform:uppercase;letter-spacing:.07em;color:#668074}td{font-size:.9rem}.auth-page,.loading-screen{min-height:100vh;display:grid;place-items:center;padding:24px;background:linear-gradient(145deg,#eaf4e7,#f8faf5)}.auth-card{background:#fff;border:1px solid #dce8dc;border-radius:20px;padding:38px;width:min(100%,420px);box-shadow:0 20px 60px #1c47301c}.auth-card .brand-mark{margin-bottom:22px}.auth-card h1{font-size:2rem;margin:8px 0}.auth-card form{margin-top:26px}.auth-actions{display:flex;justify-content:space-between;gap:12px;margin-top:18px}.auth-actions .text-button{color:#28764c;font-size:.85rem}@media(max-width:900px){.sidebar{width:190px}.content{padding:28px}.split,.split.wide-left{grid-template-columns:1fr}}@media(max-width:640px){.app-shell{display:block}.sidebar{position:static;width:100%;height:auto;padding:12px}.brand,.sidebar-foot{display:none}.sidebar nav{display:flex;overflow:auto;gap:2px}.sidebar nav a{white-space:nowrap;padding:10px}.topbar{padding:12px 18px;display:block}.mobile-brand{display:block;font-weight:800;margin-bottom:12px}.selectors{display:block}.selectors label{margin-bottom:8px}.selectors select{min-width:0}.content{padding:24px 16px}.metrics{grid-template-columns:1fr}.auth-card{padding:28px}}.dashboard-grid{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(280px,1fr);gap:20px}.dashboard-side{display:grid;align-content:start;gap:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px}.section-heading span{font-size:.8rem;color:#72877a}.insight-list{display:grid;gap:12px}.insight{display:flex;justify-content:space-between;gap:15px;padding:15px;border:1px solid #e2eae2;border-left:4px solid #779f78;border-radius:9px}.insight.urgent{border-left-color:#c6483c}.insight.warning{border-left-color:#d99827}.insight strong{display:block;margin:6px 0}.insight p{margin:0;color:#61746b;font-size:.88rem}.insight small{display:block;margin-top:7px;color:#789083}.insight a,.section-link{color:#28764c;font-size:.85rem;font-weight:750}.tag{text-transform:uppercase;letter-spacing:.07em;font-size:.66rem;font-weight:800;color:#64806b}.section-link{display:inline-block;margin-top:14px}.report-filters{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));align-items:end;gap:14px;margin-bottom:20px}.report-filters .primary{height:42px}.report-actions{display:flex;align-items:center;justify-content:space-between;margin:20px 0}.report-actions p{margin:0}.report-actions button{border:1px solid #91b29c;border-radius:8px;color:#246944;background:#fff;padding:8px 12px;font-weight:700}.report-export-actions{justify-content:flex-start;flex-wrap:wrap;gap:10px}.report-sections{display:grid;gap:18px}.report-panel h2{margin-bottom:18px}.report-subsection{padding:18px 0;border-top:1px solid #e5eee6}.report-subsection h3{font-size:.94rem;margin:0 0 14px;color:#395e48}.report-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px}.report-metric{padding:12px;border-radius:9px;background:#f5f8f3;min-width:0}.report-metric span,.report-metric strong{display:block;overflow-wrap:anywhere}.report-metric span{font-size:.72rem;color:#668071}.report-metric strong{margin-top:5px;font-size:1.05rem}@media(max-width:1050px){.dashboard-grid{grid-template-columns:1fr}.report-filters{grid-template-columns:repeat(2,minmax(130px,1fr))}}@media(max-width:640px){.report-filters{grid-template-columns:1fr}.report-actions{display:block}.report-actions button{margin-top:12px}.report-export-actions{display:flex}.report-export-actions button{margin-top:0}}.settings-form{margin-bottom:20px}.settings-form h2{margin-bottom:4px}.settings-grid{display:grid;grid-template-columns:repeat(3,minmax(180px,1fr));gap:15px}.settings-form>.primary{justify-self:start}.setup-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}.setup-grid .panel{min-width:0}.setup-grid form{border-top:1px solid #e5eee6;padding-top:18px;margin-top:18px}@media(max-width:1120px){.settings-grid{grid-template-columns:repeat(2,minmax(180px,1fr))}.setup-grid{grid-template-columns:1fr}}@media(max-width:640px){.settings-grid{grid-template-columns:1fr}}.import-panel,.import-results{margin-bottom:20px}.import-controls{display:grid;grid-template-columns:220px minmax(220px,1fr);gap:14px;align-items:end}.import-panel .table-wrap{max-height:350px;margin:20px 0}.import-panel .primary{margin-top:5px}.resolve-row{display:flex;gap:8px;margin-top:12px}.resolve-row select{flex:1;min-width:0}.resolve-row .primary{padding:8px 12px}.section-heading select{width:auto}textarea{font:inherit;width:100%;padding:11px 12px;border:1px solid #c8d8cf;border-radius:9px;resize:vertical}.team-row{display:flex;justify-content:space-between;gap:12px;align-items:center}.team-row button{border:1px solid #c8d8cf;background:#fff;border-radius:8px;padding:7px 10px}.split .panel>form{margin-top:20px}.split .panel>form h3{font-size:.95rem;margin:0}@media(max-width:640px){.import-controls{grid-template-columns:1fr}.resolve-row{display:block}.resolve-row button{margin-top:8px}}.heat-entry{margin-bottom:20px}.heat-entry form{display:grid;grid-template-columns:minmax(170px,1.5fr) minmax(150px,1fr) auto auto;align-items:end;gap:12px}.heat-entry .checkbox{padding-bottom:10px}.board-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.board-column{padding:16px;border:1px solid #dfe8df;border-radius:12px;background:#edf3ed;min-width:0}.board-column h2{display:flex;justify-content:space-between;font-size:.92rem}.board-column h2 span{background:#d4e4d4;border-radius:30px;padding:2px 8px}.board-card{padding:15px;margin-top:12px;background:#fff;border:1px solid #dce7dc;border-radius:10px}.board-card strong,.board-card small{display:block}.board-card small{color:#778b7d;margin-top:4px}.board-card p{font-size:.82rem;margin:11px 0;color:#4c6659}.board-card .primary{display:block;margin-top:12px;padding:8px 10px;font-size:.78rem;text-transform:capitalize}.board-footer{margin-top:18px}.dialog-backdrop{position:fixed;inset:0;background:#09251abb;display:grid;place-items:center;padding:20px;z-index:10}.dialog{width:min(100%,520px);max-height:90vh;overflow:auto}.dialog .section-heading button{border:0;background:none;font-size:1.5rem}.dialog form{margin-top:15px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}@media(max-width:1150px){.board-grid,.heat-entry form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.board-grid,.heat-entry form,.form-grid{grid-template-columns:1fr}}.sync-banner{background:#fff7e8;border-bottom:1px solid #e8d5ad;padding:12px 38px;color:#5e451e;font-size:.9rem}.sync-banner-main,.sync-conflict,.sync-conflict>div{display:flex;align-items:center;justify-content:space-between;gap:12px}.sync-banner-main>span{font-weight:700}.sync-banner button{border:1px solid #bfa36f;border-radius:8px;background:#fffaf0;color:#5e451e;padding:6px 10px;font-weight:700}.sync-banner button:disabled{opacity:.5;cursor:default}.sync-banner-main>div,.sync-conflict>div{display:flex;gap:8px}.sync-details{margin-top:12px}.sync-details>p{margin-bottom:10px}.sync-conflict{align-items:flex-start;border-top:1px solid #e8d5ad;padding:10px 0;flex-wrap:wrap}.sync-conflict strong,.sync-conflict span{overflow-wrap:anywhere}.sync-error{color:#9c342e;margin:8px 0 0}@media(max-width:640px){.sync-banner{padding:12px 18px}.sync-banner-main{align-items:flex-start;flex-direction:column}}.sync-update-notice{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#e8f2ff;border-bottom:1px solid #bdcee8;padding:10px 38px;color:#223d62;font-size:.9rem}.sync-update-notice button{border:1px solid #8fa8cd;border-radius:8px;background:#f7faff;color:#223d62;padding:6px 10px;font-weight:700}@media(max-width:640px){.sync-update-notice{align-items:flex-start;flex-direction:column;padding:10px 18px}}.sync-storage-compact{background:#f7f9f6;border-bottom:1px solid #d9e0d9;padding:5px 38px;color:#40534a;font-size:.8rem}.sync-storage-compact>button{border:0;background:transparent;color:inherit;padding:4px 0;font:inherit;font-weight:700;text-align:left}.sync-storage-details{border-top:1px solid #d9e0d9;margin-top:10px;padding-top:10px}.sync-storage-details p{margin:5px 0 8px}.sync-storage-details button{border:1px solid #9ba99f;border-radius:8px;background:#fff;color:#30433a;padding:6px 10px;font-weight:700}.sync-storage-details button:disabled{opacity:.5;cursor:default}.sync-banner .sync-storage-details{border-color:#e8d5ad}.sync-banner .sync-storage-details button{border-color:#bfa36f;background:#fffaf0;color:#5e451e}@media(max-width:640px){.sync-storage-compact{padding:5px 18px}}.sync-offline-note{margin:7px 0 0;font-size:.82rem;line-height:1.35}.online-required-note{margin:0 0 16px;font-size:.86rem;line-height:1.4}.table-link,.detail-list a{color:#28764c;font-weight:750;text-decoration:underline}.animal-metrics .metric strong{font-size:1.3rem;overflow-wrap:anywhere}.detail-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:0}.detail-list>div{min-width:0}.detail-list dt{font-size:.75rem;font-weight:750;color:#73857a;text-transform:uppercase}.detail-list dd{margin:4px 0 0;overflow-wrap:anywhere}.animal-history{display:grid;grid-template-columns:repeat(auto-fit,minmax(275px,1fr));gap:20px;margin-top:20px}.animal-history .panel h2 small{font-weight:500;color:#708276}@media(max-width:640px){.detail-list{grid-template-columns:1fr}}.sync-conflict details{width:100%}.sync-conflict summary{cursor:pointer;font-weight:700}.sync-conflict pre{max-height:240px;overflow:auto;background:#fff;border:1px solid #e8d5ad;border-radius:8px;padding:10px;font-size:.75rem}.subnav{display:flex;gap:8px;margin:-8px 0 22px}.subnav a{padding:9px 14px;border:1px solid #cbdccb;border-radius:8px;background:#fff;color:#356345;font-weight:700}.subnav a.active{background:#dceedd;border-color:#87b18c}.reminder-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.reminder-row.overdue{border-left:3px solid #c6483c;padding-left:12px}.row-actions{display:flex;gap:6px;flex-wrap:wrap}.row-actions button{border:1px solid #b5cbb8;border-radius:7px;background:#fff;color:#286947;padding:6px 9px;font-size:.78rem;font-weight:700}.row-actions button:disabled{opacity:.5}@media(max-width:640px){.reminder-row{display:block}.row-actions{margin-top:10px}}.sidebar{overflow-y:auto}.batch-select{display:block;width:100%;padding:14px;text-align:left;background:#fff;border:0;border-bottom:1px solid #e9eee8;color:#18352f}.batch-select.selected{background:#eaf5e9;border-left:3px solid #398960}.batch-select strong,.batch-select span,.batch-select small{display:block}.batch-select span,.batch-select small{color:#677970;margin-top:3px}.batch-detail{margin-top:22px}.batch-tabs{margin:0 0 20px}.batch-tabs button{border:1px solid #cbdccb;border-radius:8px;background:#fff;color:#356345;padding:9px 14px;font-weight:700}.batch-tabs button.active{background:#dceedd;border-color:#87b18c}@media(max-width:640px){.sidebar{overflow-y:visible}}.sale-row{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.animal-picker{max-height:220px;overflow:auto;border:1px solid #c8d8cf;border-radius:9px;padding:10px 12px}.animal-picker legend{font-size:.86rem;font-weight:700}.animal-picker .checkbox{padding:5px 0}.sale-estimate{padding:12px;background:#f0f6ed;border-radius:8px;margin:0}.sale-estimate strong{float:right}.form-actions{display:flex;gap:10px}.form-actions button:not(.primary){border:1px solid #c8d8cf;border-radius:9px;background:#fff;padding:10px 14px}@media(max-width:640px){.sale-row{display:block}.sale-row .row-actions{margin-top:10px}}.sales-filters{margin-bottom:16px}.sales-summary{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}.sales-summary span{padding:7px 10px;border-radius:8px;background:#f0f6ed;color:#335a43;font-size:.82rem}.sales-summary strong{margin-left:4px}.sales-pager{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px}.sales-pager button{padding:7px 10px}.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0}.detail-grid dt{font-size:.78rem;color:#667b73}.detail-grid dd{margin:3px 0 0;font-weight:700;overflow-wrap:anywhere}@media(max-width:640px){.sales-pager{display:block}.sales-pager .row-actions{margin-top:8px}.detail-grid{grid-template-columns:1fr}}.family-controls{display:flex;gap:16px;margin-bottom:20px}.family-controls label{flex:1}.family-graph{display:flex;align-items:center;gap:15px;overflow-x:auto}.family-column{min-width:180px;flex:1;align-self:stretch}.family-column.offspring{flex:1.5}.family-column h2{font-size:.85rem;color:#687f71;text-transform:uppercase;letter-spacing:.07em}.family-node{display:grid;gap:5px;padding:14px;margin-top:10px;border:1px solid;border-radius:10px;min-width:0}.family-node span,.family-node small{font-size:.76rem;color:#647a70}.family-node a{font-weight:800;color:#1e5d40;text-decoration:underline;overflow-wrap:anywhere}.family-node.sow{background:#edf4ff;border-color:#90b4df}.family-node.boar{background:#fff2e8;border-color:#e0ad86}.family-node.litter{background:#fff9df;border-color:#d6bd69}.family-node.child{background:#eaf8eb;border-color:#9bc89c}.family-arrow{display:grid;justify-items:center;gap:2px;flex:0 0 auto;font-size:2rem;color:#72957a}.family-arrow small{font-size:.65rem;font-weight:700;color:#687f71;white-space:nowrap}.family-metrics{margin-bottom:20px}@media(max-width:750px){.family-controls,.family-graph{display:block}.family-controls label+label{margin-top:12px}.family-arrow{text-align:center}.family-arrow span{transform:rotate(90deg)}.family-column{margin-bottom:12px}}.litter-actions{display:grid;gap:20px;align-content:start}.litter-actions .panel h2{margin-bottom:8px}.litter-actions .panel p{font-size:.85rem}.panel h3{margin:28px 0 10px;font-size:.92rem}.batch-tabs{display:flex;flex-wrap:wrap}.movement-row{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.movement-row button{border:1px solid #b5cbb8;border-radius:7px;background:#fff;color:#286947;padding:6px 9px;font-size:.78rem;font-weight:700}.batch-operations{padding:20px 18px 18px;margin-bottom:18px;border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(120deg,#eff6ff,#f8fafc 55%,#ecfdf5);box-shadow:0 12px 28px #0f172a0b}.batch-operations h2{margin:0 0 6px;color:#0f172a;font-size:1.12rem}.batch-operations>p{margin:0 0 16px;color:#475569;font-weight:600}.batch-operations-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch}.batch-action{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:82px;padding:14px;border:1px solid #bfdbfe;border-radius:12px;background:#fff;color:#0f172a;text-align:left;box-shadow:0 5px 14px #1e293b0c}.batch-action:hover{border-color:#60a5fa;background:#f8fbff;transform:translateY(-1px)}.batch-action strong{font-size:.94rem}.batch-action small{color:#64748b;font-size:.79rem;line-height:1.35}.batch-action-receive{border-color:#fdba74;background:#fff7ed}.batch-action-receive:hover{border-color:#fb923c;background:#fffbf5}.batch-operations-hint{padding:15px 17px;border-radius:10px;background:#eaf2ff;color:#335477;font-size:.91rem}.batch-workspace{display:grid;gap:18px;margin-top:20px;scroll-margin-top:18px}.batch-workspace[hidden]{display:none}.batch-workspace-back{justify-self:start;border:0;background:none;color:#2563eb;padding:4px 0;font-weight:750}.batch-workspace-back:hover{text-decoration:underline}.batch-workspace #batch-register,.batch-workspace #batch-receive,.batch-workspace #batch-detail{scroll-margin-top:18px}@media(max-width:900px){.batch-operations-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.batch-operations{padding:17px 14px 14px}.batch-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.batch-action{min-height:70px;padding:11px}.batch-action small{font-size:.75rem}}.queue-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin-bottom:20px}.queue-card{display:grid;gap:4px;text-align:left;border:1px solid #dce8dc;border-radius:12px;background:#fff;padding:14px;color:#2c5540}.queue-card strong{font-size:1.55rem}.queue-card span{font-size:.8rem;font-weight:700}.queue-card.selected{background:#e5f4e3;border-color:#4b9666}.queue-card:focus-visible,.link-button:focus-visible{outline:3px solid #80b897;outline-offset:2px}.link-button{border:0;background:none;padding:0;text-align:left}.selected-row{background:#f0f8ef}.table-wrap td small{display:block;color:#718474}.check-row{display:flex;align-items:center;gap:8px}.check-row input{width:auto}.panel details{border-top:1px solid #e5eee6;margin-top:16px;padding-top:14px}.panel details summary{cursor:pointer;font-weight:750;color:#286947}.panel details form{margin-top:16px}.panel details .primary{justify-self:start}.cockpit-phone-nav,.cockpit-intake-panel,.cockpit-register-cards{display:none}@media(max-width:640px){.cockpit-phone-nav{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 14px;padding:5px;border:1px solid #dbe4f0;border-radius:12px;background:#fff}.cockpit-phone-nav button{min-height:42px;padding:7px 4px;border:0;border-radius:8px;background:transparent;color:#475569;font-size:.8rem;font-weight:750}.cockpit-phone-nav button.active{background:#0f766e;color:#fff}.cockpit-phone-nav button:focus-visible{outline:3px solid #80b897;outline-offset:2px}.cockpit-phone-panel:not(.is-active){display:none}.cockpit-intake-panel.is-active{display:block}.cockpit-intake-panel .button-link{display:inline-block;margin-top:4px}.cockpit-register-cards{display:grid;gap:10px}.cockpit-register-card{display:grid;gap:6px;width:100%;padding:13px;border:1px solid #dbe4f0;border-radius:12px;background:#fff;color:#18352f;text-align:left}.cockpit-register-card:focus-visible{outline:3px solid #80b897;outline-offset:2px}.cockpit-register-card-heading{display:flex;justify-content:space-between;align-items:baseline;gap:8px}.cockpit-register-card-heading strong{font-size:1rem;color:#1e5d40}.cockpit-register-card-heading span,.cockpit-register-card>span:not(.cockpit-register-card-heading){font-size:.8rem;color:#647b70}.cockpit-register-card-heading span{text-align:right}.cockpit-register-table{display:none}}.inline-correction{margin-top:14px;padding:14px;border:1px solid #dce8dc;border-radius:9px;background:#f8fbf7}.record .row-actions{margin-top:9px}.voided-record{opacity:.65;background:#f5f6f4;padding-left:8px;padding-right:8px}.voided-record>small:first-of-type{font-weight:800;color:#9c342e}.trial-steps{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin:20px 0}.trial-step{display:flex;flex-direction:column;align-items:flex-start}.trial-step h2{margin:8px 0}.trial-step p{color:#61746b;flex:1}.trial-step .section-link{margin-top:14px}.trial-done,.trial-todo{display:inline-block;border-radius:99px;padding:5px 10px;font-size:.75rem}.trial-done{background:#dbf3e3;color:#17633b}.trial-todo{background:#ffedd5;color:#9a3412}.trial-plans{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.trial-plans button{border:1px solid #91b29c;border-radius:8px;color:#246944;background:#fff;padding:10px 14px;font-weight:700}.health-targets{max-height:210px;overflow:auto;border:1px solid #c8d8cf;border-radius:9px;padding:6px;margin-top:8px}.health-targets label{display:flex;align-items:center;gap:8px;margin:0;padding:6px 8px;font-weight:500}.health-targets input{width:auto;margin:0}.health-targets label:hover{background:#eef6ef}.panel fieldset{border:0;padding:0;margin:12px 0}.panel fieldset legend{font-weight:700;margin-bottom:8px}.health-animal-picker,.health-batch-picker{min-width:0}.health-events-page .health-picker-search{display:block;margin:0 0 8px}.health-targets label{align-items:flex-start;overflow-wrap:anywhere}.health-targets label span{min-width:0;line-height:1.4}.health-targets input{flex:0 0 auto;margin-top:3px}.health-batch-picker>label:not(.health-picker-search){display:block}.health-batch-picker select{max-width:100%}.health-animal-picker>p[role=status]{margin:0 0 8px;font-size:.82rem}.health-animal-selections{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 9px;padding:0;list-style:none}.health-animal-selections li{display:inline-flex;align-items:center;gap:5px;max-width:100%;border:1px solid #b8d9c4;border-radius:999px;background:#edf7ee;color:#215c3e;padding:4px 7px 4px 10px;font-size:.8rem;font-weight:700}.health-animal-selections li span{overflow-wrap:anywhere}.health-animal-selections button{display:grid;place-items:center;width:22px;height:22px;padding:0;border:0;border-radius:50%;background:transparent;color:#215c3e;font-size:1.1rem;line-height:1}.health-animal-selections button:hover{background:#d5ead8}.health-animal-combobox{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:7px}.health-animal-combobox .health-picker-search{min-width:0;margin:0}.health-animal-picker-toggle{align-self:end;min-height:41px;border:1px solid #c8d8cf;border-radius:9px;background:#fff;color:#245d40;padding:8px 11px;font-size:.82rem;font-weight:750}.health-animal-picker-toggle:hover{border-color:#398960;background:#f4faf5}.health-animal-picker-toggle:focus-visible,.health-animal-selections button:focus-visible{outline:3px solid #0f766e;outline-offset:2px}.health-targets.health-animal-options{max-height:190px;margin-top:7px;padding:5px;border-color:#b7cbbd;box-shadow:0 8px 18px #18352f12}.health-animal-options label{border-radius:6px}.health-animal-empty{margin:8px;padding:4px;font-size:.85rem}.health-event-scope .health-event-scope-options{display:flex;gap:10px;flex-wrap:wrap}.health-event-scope .health-event-scope-options label{display:flex;align-items:center;gap:8px;min-width:130px;padding:10px 13px;border:1px solid #c8d8cf;border-radius:10px;background:#fff;font-weight:650;cursor:pointer}.health-event-scope .health-event-scope-options label:has(input:checked){border-color:#398960;background:#edf7ee;box-shadow:0 0 0 2px #d8f0d9}.health-event-scope input[type=radio]{width:auto;margin:0;accent-color:#28764c}.weight-selectors{display:flex;gap:16px;flex-wrap:wrap}.weight-selectors label{min-width:220px;flex:1;margin:0}.growth-chart{margin:16px 0 0}.growth-chart svg{display:block;width:100%;max-width:700px;background:#f8faf6;border-radius:10px}.growth-chart figcaption{font-size:.8rem;color:#63776c;margin-top:7px}.reminder-filters{display:flex;gap:8px;flex-wrap:wrap}.reminder-filters select{min-width:135px}.reminder-row.overdue{border-left:4px solid #bf633d}.reminder-row.due_today{border-left:4px solid #d5a13f}.reminder-row.upcoming{border-left:4px solid #85b798}.sow-card-print{margin-top:20px}.sow-card-print>summary{cursor:pointer;font-weight:750;color:#286947}.sow-card-toolbar{margin:16px 0}.sow-card-sheet h2{margin:0 0 4px}.sow-card-sheet h3{margin:20px 0 8px;color:#176b58}.sow-card-table{width:100%;border-collapse:collapse;font-size:.82rem}.sow-card-table th,.sow-card-table td{border:1px solid #d6e2df;padding:6px 8px;text-align:left}.sow-card-table tbody th{width:42%;background:#f3f8f5}.sow-card-sheet .table-wrap{overflow-x:auto}.sow-history-controls{margin-top:20px}.sow-history-controls label{max-width:230px}.sow-history-controls .row-actions{display:flex;align-items:center;gap:12px}.sow-history-controls .row-actions span{font-size:.85rem;color:#566d60}@media print{body.printing-sow-card .sidebar,body.printing-sow-card .main-area>:not(.content),body.printing-sow-card .animal-detail-page>:not(.sow-card-print),body.printing-sow-card .sow-card-print>summary,body.printing-sow-card .sow-card-toolbar{display:none!important}body.printing-sow-card .app-shell,body.printing-sow-card .main-area,body.printing-sow-card .content,body.printing-sow-card .animal-detail-page{display:block!important;max-width:none!important;width:100%!important;margin:0!important;padding:0!important}body.printing-sow-card .sow-card-print{display:block!important;border:0!important;box-shadow:none!important;margin:0!important;padding:0!important}body.printing-sow-card .sow-card-sheet h3,body.printing-sow-card .sow-card-table tr{break-inside:avoid}body.printing-sow-card .sow-card-sheet .table-wrap{overflow:visible}}.report-downloads{display:flex;gap:8px;flex-wrap:wrap}.report-chart{margin:8px 0 18px;padding:12px;border-radius:10px;background:#f8faf6}.report-chart figcaption{color:#667b73;font-size:.78rem;margin-top:6px}.report-bar-legend{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:12px;font-size:.75rem}.report-bar-legend span{display:flex;align-items:center;gap:5px}.report-key{display:inline-block;width:10px;height:10px;border-radius:2px;background:#28764c}.report-key-1{background:#c67f3d}.report-bar-list{display:grid;gap:10px}.report-bar-row{display:grid;grid-template-columns:minmax(90px,150px) 1fr;gap:12px;align-items:center}.report-bar-row strong{font-size:.78rem;overflow-wrap:anywhere}.report-bar-track{position:relative;min-height:17px;background:#e9f0e8;border-radius:3px;margin:3px 0}.report-bar{display:block;height:17px;border-radius:3px;background:#28764c}.report-bar-1{background:#c67f3d}.report-bar-track small{position:absolute;top:0;left:6px;font-size:.7rem;font-weight:700;color:#163c2a;text-shadow:0 1px white}.report-trends>label{display:flex;align-items:center;gap:8px;max-width:250px}.report-trends select{margin:0}.report-trends svg{display:block;width:100%;max-width:720px}@media(max-width:640px){.report-downloads{margin-top:10px}.report-bar-row{grid-template-columns:90px 1fr}}.import-retry{border-top:1px solid #dce8dd;margin-top:20px;padding-top:20px}.import-retry fieldset{border:1px solid #dce8dd;border-radius:10px;padding:14px;margin:12px 0}.import-retry legend{font-weight:700;padding:0 6px}.import-edit-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.import-edit-grid label{margin:0}.import-retry .primary{margin-top:10px}.board-view-options{margin-bottom:16px}.board-view-options .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.board-view-options .form-actions{flex-wrap:wrap;margin-top:12px;gap:8px 18px}.board-view-options .checkbox{display:flex;align-items:center;gap:6px}.board-grid.quick-list{grid-template-columns:1fr}.board-grid.quick-list .board-column{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px;align-items:start}.board-grid.quick-list .board-column h2{grid-column:1/-1}.board-grid.quick-list .board-card{margin-top:0}.board-grid.compact .board-column{padding:10px}.board-grid.compact .board-card{padding:9px;margin-top:7px}.board-grid.compact .board-card p{margin:6px 0}@media(max-width:750px){.board-view-options .form-grid{grid-template-columns:1fr}}.animal-register-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:14px 0 18px}.animal-register-filters label:first-child{grid-column:1/-1}@media(max-width:640px){.animal-register-filters{grid-template-columns:1fr}}:root{color:#0f172a;background:#f8fafc}body,.app-shell{background:#f8fafc}.sidebar{width:238px;padding:20px 14px;background:#f1f5f9;color:#0f172a;border-right:1px solid #cbd5e1;gap:12px}.brand{padding:4px 8px 14px;border-bottom:1px solid #dbe3ec}.brand-mark{background:#0f766e;color:#fff}.brand strong{font-size:1rem;letter-spacing:-.025em}.brand span,.sidebar-foot span{color:#64748b;opacity:1}.sidebar nav{display:grid;align-content:start;gap:5px}.nav-heading{margin:8px 8px 5px;color:#475569;font-size:.72rem;font-weight:800;letter-spacing:.1em;text-transform:uppercase}.sidebar nav a,.sidebar-tools summary{display:flex;align-items:center;min-height:39px;padding:8px 12px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc;color:#0f172a;box-shadow:0 1px 2px #0f172a0a;font-size:.9rem;font-weight:700;line-height:1.2}.sidebar nav a:hover,.sidebar-tools summary:hover{border-color:#94a3b8;background:#fff;color:#0f172a}.sidebar nav a.active{background:#dff3ef;border-color:#0f766e;color:#115e59;box-shadow:inset 3px 0 #0f766e}.animal-nav-group{display:grid;gap:5px;min-width:0}.sidebar nav a.animal-nav-batches{margin-left:12px;border-color:#bdd5ca;background:#f0f7f3;color:#245449;font-size:.84rem}.sidebar nav a.animal-nav-batches:before{content:"↳";flex:none;margin-right:7px;color:#3b7868;font-size:1.15rem;line-height:1}.sidebar-tools{margin-top:8px}.sidebar-tools summary{cursor:pointer;justify-content:space-between;list-style:none}.sidebar-tools summary::-webkit-details-marker{display:none}.sidebar-tools summary:after{content:"⌄";font-size:1.1rem;line-height:1;color:#64748b;transition:transform .16s ease}.sidebar-tools[open] summary:after{transform:rotate(180deg)}.sidebar-tools-links{display:grid;gap:5px;padding:8px 0 0 9px}.mobile-menu-toggle{display:none}.sidebar-foot{padding:14px 8px 0;border-color:#cbd5e1}.sidebar-foot strong{color:#0f172a}.sidebar-foot .text-button{color:#0f766e}.topbar{min-height:68px;padding:12px 32px;background:#fff;border-color:#e2e8f0}.content{max-width:1440px;padding:30px 36px 80px}.page-head{padding:25px 28px;margin-bottom:22px;border:1px solid #dbe6e5;border-radius:18px;background:linear-gradient(115deg,#fff7ed,#fefce8 48%,#ecfdf5);box-shadow:0 8px 22px #0f172a0a}.page-head h1{margin:5px 0 6px;color:#0f172a;font-size:clamp(1.65rem,2.5vw,2.2rem);letter-spacing:-.035em}.page-head p:last-child{margin-bottom:0;color:#475569}.eyebrow{color:#0f766e}.panel,.metric{border-color:#e2e8f0;box-shadow:0 3px 14px #0f172a08}.panel h2{color:#0f172a}.metric span,th,.muted{color:#64748b}:where(button:not([class])),.button-link:not(.primary){min-height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:8px 13px;font-weight:700;box-shadow:0 1px 2px #0f172a0a}:where(button:not([class])):hover,.button-link:not(.primary):hover{border-color:#94a3b8;background:#f8fafc}button.primary,.primary.button-link{min-height:40px;border:1px solid #0f766e;border-radius:10px;background:#0f766e;color:#fff;padding:9px 16px;font-weight:750;box-shadow:0 2px 4px #0f766e26}button.primary:hover,.primary.button-link:hover{background:#115e59;border-color:#115e59}button:disabled{opacity:.55;cursor:default}.text-button,.auth-actions .text-button{color:#0f766e}input,select,textarea{border-color:#cbd5e1;border-radius:10px;color:#0f172a}input:focus,select:focus,textarea:focus{border-color:#0f766e;box-shadow:0 0 0 3px #ccfbf1;outline:none}:is(a,button,summary,input,select,textarea):focus-visible{outline:3px solid #14b8a6;outline-offset:2px}.insight a,.section-link,.table-link,.detail-list a{color:#0f766e}.dashboard-hero{padding:17px 20px;background:linear-gradient(120deg,#eef8f3,#f7fbff);border-color:#c8e1d9;box-shadow:none}.dashboard-kicker{margin:0 0 5px;color:#0f766e;font-size:.8rem;font-weight:800;letter-spacing:.02em}.dashboard-hero-grid{display:grid;grid-template-columns:minmax(0,1.9fr) minmax(220px,.8fr);gap:18px;align-items:start}.dashboard-hero h1{margin:0;font-size:clamp(1.7rem,3vw,2.25rem);line-height:1.1;color:#0f2236}.dashboard-hero>p:last-child{margin:5px 0 0;color:#475569}.dashboard-hero-grid>div:first-child p{max-width:700px;font-size:1.02rem;line-height:1.4;color:#415b75}.dashboard-farm-context{display:inline-block;margin-top:8px;color:#475569;font-size:.84rem;font-weight:700}.dashboard-hero-focus{display:grid;gap:6px;padding:15px 16px;border:1px solid #c2410c29;border-radius:16px;background:#ffffffdb;color:#0f172a}.dashboard-hero-focus strong{color:#475569;font-size:.78rem;letter-spacing:.04em;text-transform:uppercase}.dashboard-hero-focus span{font-weight:700;line-height:1.4}.dashboard-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0 18px}.dashboard-shortcuts>div{min-width:0;text-align:center}.dashboard-shortcut{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:8px 13px;border:1px solid var(--shortcut-border);border-radius:10px;background:var(--shortcut-bg);color:#fff;font-size:.9rem;font-weight:750;line-height:1.2;box-shadow:none;transition:background .16s ease}.dashboard-shortcut:hover{filter:brightness(.93)}.dashboard-shortcut.priorities{--shortcut-bg:#0f766e;--shortcut-border:#115e59}.dashboard-shortcut.animals{--shortcut-bg:#0284c7;--shortcut-border:#0369a1}.dashboard-shortcut.breeding{--shortcut-bg:#b45309;--shortcut-border:#92400e}.dashboard-shortcut.batches{--shortcut-bg:#475569;--shortcut-border:#334155}.dashboard-shortcut.sales{--shortcut-bg:#7c3aed;--shortcut-border:#6d28d9}.dashboard-shortcuts p{margin:8px 4px 0;color:#475569;font-size:.84rem;font-weight:600;line-height:1.35}.dashboard-today-heading{padding:16px 17px;margin-bottom:16px;border:1px solid #dce6f2;border-radius:14px;background:linear-gradient(180deg,#f8fbff,#f4f9ff)}.dashboard-today-heading h2{margin:0 0 4px;color:#183557;font-size:1.4rem;font-weight:800;text-transform:uppercase;letter-spacing:.015em}.dashboard-today-heading p{margin:0 0 5px;color:#516d8f;font-size:1.02rem}.dashboard-today-heading small{color:#64748b;font-size:.83rem}.dashboard-priority-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:16px}.dashboard-today{margin:0 0 22px}.dashboard-stage-summary{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;padding:11px 14px;margin:0 0 14px;border:1px solid #d9e4ef;border-radius:10px;background:#fff;color:#475569;font-size:.9rem}.dashboard-stage-summary>strong{color:#173a61}.dashboard-stage-summary b{margin-left:4px;color:#0f172a}.dashboard-stage-summary a{margin-left:auto;color:#0f766e;font-weight:750;text-decoration:underline;text-underline-offset:2px}.dashboard-grower-snapshot{display:grid;gap:9px;padding:11px 14px;margin:0 0 14px;border:1px solid #d9e4ef;border-radius:10px;background:#fff;color:#475569;font-size:.88rem}.dashboard-grower-snapshot-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px 12px}.dashboard-grower-snapshot-head strong{color:#173a61}.dashboard-grower-snapshot-head a{color:#0f766e;font-weight:750;text-decoration:underline;text-underline-offset:2px}.dashboard-grower-snapshot-values{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 14px}.dashboard-grower-snapshot-values span{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #eef2f6;padding-top:6px}.dashboard-grower-snapshot-values b{color:#0f172a;text-align:right;white-space:nowrap}.dashboard-grower-snapshot p{margin:0}.dashboard-more-metrics{margin:0 0 14px;padding:12px 14px;border:1px solid #d9e4ef;border-radius:10px;background:#f8fbff}.dashboard-more-metrics>summary{cursor:pointer;color:#173a61;font-weight:750}.dashboard-more-metrics[open]{padding-bottom:0}.dashboard-more-metrics[open] .dashboard-priority-grid{margin:14px 0}.dashboard-stock-fallback{font-size:.82rem}.dashboard-priority{min-height:148px;padding:15px 16px;border-radius:14px;box-shadow:0 9px 20px #1c375614}.dashboard-priority span{display:block;color:inherit;font-size:.98rem;font-weight:800;text-transform:capitalize}.dashboard-priority strong{margin:7px 0 8px;font-size:2.7rem;line-height:1}.dashboard-priority small{display:block;font-size:.84rem;font-weight:600;line-height:1.3}.dashboard-priority.heat{background:#fff3df;color:#7d4e00}.dashboard-priority.info{background:#eaf0ff;color:#25457f}.dashboard-priority.neutral{background:#ecf3fb;color:#173a61}.dashboard-priority.alert{background:#fde9e7;color:#8d2323}.dashboard-priority.good{background:#e8f7ef;color:#17603a}.dashboard-action-banner{padding:15px 17px;margin-bottom:24px;border:1px solid #d4dfeb;border-radius:14px;background:#fff;box-shadow:0 8px 18px #1837570f}.dashboard-action-banner strong{display:block;color:#173a61;font-size:1.05rem;text-transform:capitalize}.dashboard-action-banner p{margin:5px 0 8px;color:#4f6782;font-size:.95rem}.dashboard-action-banner a{color:#0f766e;font-weight:800;text-decoration:underline;text-underline-offset:3px}.dashboard-quick-actions,.dashboard-snapshot{margin-bottom:22px}.dashboard-quick-actions h2,.dashboard-snapshot h2{margin:0 0 4px;color:#173a61;font-size:1.25rem}.dashboard-quick-actions>p,.dashboard-snapshot>p{margin:0 0 14px;color:#536c86}.dashboard-snapshot{padding:16px 17px;border:1px solid #d9e4ef;border-radius:14px;background:linear-gradient(180deg,#fff,#f8fbff)}.dashboard-snapshot .metrics{grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:12px;margin:0}.dashboard-snapshot .metric{padding:15px;min-height:94px}.dashboard-snapshot .metric strong{font-size:1.9rem}.dashboard-breeding-snapshot{margin-bottom:22px}.dashboard-heat-watch{margin-bottom:14px}.dashboard-farrow-plan{margin-bottom:14px;background:#f5f3ff;border-color:#e5dff5}.dashboard-farrow-metrics{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin:12px 0}.dashboard-farrow-workload{margin:8px 0 14px;color:#33516a}.dashboard-farrow-workload.medium{color:#9a6700}.dashboard-farrow-workload.high{color:#b91c1c}.dashboard-farrow-plan>details>summary{cursor:pointer;font-weight:700;color:#173a61}.dashboard-farrow-dates{max-height:260px;overflow:auto;margin-top:12px;padding-right:6px}.dashboard-farrow-dates h3{margin:12px 0 5px;font-size:.92rem}.dashboard-farrow-dates ul{margin:0 0 12px;padding-left:20px}.dashboard-farrow-dates li{margin:4px 0;line-height:1.4}.dashboard-farrow-timing{display:inline-block;margin-left:7px;border-color:#bfdbfe;background:#eff6ff;color:#1d4ed8;text-transform:none}.dashboard-farrow-timing-warn{border-color:#fcd34d;background:#fffbeb;color:#92400e}.dashboard-farrow-timing-danger{border-color:#fecaca;background:#fef2f2;color:#b91c1c}.dashboard-heat-watch p{margin:8px 0 12px}.dashboard-heat-watch>details>summary{cursor:pointer;font-weight:700;color:#173a61}.dashboard-heat-dates{max-height:260px;overflow:auto;margin-top:12px;padding-right:6px}.dashboard-heat-dates h3{margin:12px 0 5px;font-size:.92rem}.dashboard-heat-dates ul{margin:0 0 12px;padding-left:20px}.dashboard-heat-dates li{margin:4px 0;line-height:1.4}.dashboard-breeding-snapshot>summary{cursor:pointer;font-weight:700;color:#173a61}.dashboard-topic{margin-bottom:16px}.dashboard-topic>summary{cursor:pointer;color:#173a61;font-size:1.08rem;font-weight:800;line-height:1.45}.dashboard-topic>summary small.dashboard-stock-counts{display:block;margin:2px 0 0;font-size:.84rem}.dashboard-farm-snapshot[open]>summary .dashboard-stock-counts{display:none}.dashboard-topic>summary small{margin-left:9px;color:#536c86;font-size:.78rem;font-weight:600}.dashboard-topic[open]>summary{border-bottom:1px solid #d9e4ef;padding-bottom:12px;margin-bottom:16px}.dashboard-topic:not([open]),.dashboard-stable-areas:not([open]),.dashboard-more-metrics:not([open]){padding:0;border:0;background:transparent;box-shadow:none}.dashboard-topic:not([open])>summary,.dashboard-stable-areas:not([open])>summary,.dashboard-more-metrics:not([open])>summary{display:block;min-height:46px;margin:0;padding:11px 15px;border:1px solid #c6ddd1;border-radius:12px;background:linear-gradient(90deg,#eef6ff,#f8fbff 55%,#e7f6eb);box-shadow:inset 0 1px #fff,0 3px 8px #33415512;color:#173a61;font-size:.95rem;font-weight:750;line-height:1.35}.dashboard-topic:not([open])>summary:hover,.dashboard-stable-areas:not([open])>summary:hover,.dashboard-more-metrics:not([open])>summary:hover{background:linear-gradient(90deg,#e4f0fd,#f2f8ff 55%,#dbf0e2)}.dashboard-pill-count{display:none}.dashboard-topic>.dashboard-snapshot{margin:0;padding:0;border:0;background:none}.dashboard-stock-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:16px}.dashboard-stock-groups>section{min-width:0;padding:12px;border:1px solid #d9e4ef;border-radius:12px;background:#f8fbff}.dashboard-stock-groups h3{margin:0 0 10px;color:#173a61;font-size:.98rem}.dashboard-stock-groups .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-stock-groups .metric{min-width:0;min-height:76px;padding:10px}.dashboard-stock-groups .metric strong{font-size:1.35rem}.dashboard-farm-snapshot>.dashboard-snapshot{margin:0;padding:0;border:0;background:none}.dashboard-snapshot-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr));gap:12px}.dashboard-snapshot-card{display:flex;flex-direction:column;gap:5px;min-width:0;min-height:112px;padding:14px 16px;border:1px solid #d9e4ef;border-radius:15px;background:#eef6ff;color:#334a63;box-shadow:0 8px 18px #1c37560d}.dashboard-snapshot-card span{font-size:.91rem;font-weight:800;line-height:1.2}.dashboard-snapshot-card strong{font-size:2rem;line-height:1.1;color:#142b45}.dashboard-snapshot-card small{font-size:.78rem;font-weight:600;line-height:1.3;color:#516b86}.dashboard-snapshot-card.sows{background:#fdf2f8;border-color:#f0dbe8}.dashboard-snapshot-card.gilts,.dashboard-snapshot-card.sale{background:#fef3c7;border-color:#efdfaa}.dashboard-snapshot-card.boars,.dashboard-snapshot-card.loss{background:#fee2e2;border-color:#efcece}.dashboard-snapshot-card.piglets,.dashboard-snapshot-card.batches{background:#e0f2fe;border-color:#c9e3f2}.dashboard-snapshot-card.farrow{background:#f5f3ff;border-color:#e5dff5}.dashboard-snapshot-card.wean{background:#f0fdf4;border-color:#d6eddd}.dashboard-snapshot-card.grower{background:#fff7ed;border-color:#f3e4d3}.dashboard-snapshot-card.unclassified{background:#f1f5f9}.dashboard-snapshot-meta{margin:10px 0 0!important;color:#536c86;font-size:.78rem}@media(max-width:640px){.dashboard-snapshot-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.dashboard-snapshot-card{min-height:97px;padding:10px 11px;gap:3px}.dashboard-snapshot-card span{font-size:.82rem}.dashboard-snapshot-card strong{font-size:1.7rem}.dashboard-snapshot-card small{font-size:.72rem}}.dashboard-recent-groups{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:10px 22px}.dashboard-recent-groups h3{margin:0 0 5px;font-size:.9rem;color:#173a61}.dashboard-recent-groups ul{margin:0;padding:0;list-style:none}.dashboard-recent-groups li{display:flex;justify-content:space-between;gap:10px;padding:5px 0;border-bottom:1px solid #edf2f7;font-size:.83rem;line-height:1.3}.dashboard-recent-groups time{color:#64748b;white-space:nowrap}.dashboard-action-panel{padding:14px!important}.dashboard-action-panel h3{font-size:.94rem!important;margin:6px 0!important}.dashboard-action-panel ul{font-size:.8rem!important;line-height:1.32!important;margin-bottom:8px!important}.dashboard-action-panel li{margin-bottom:3px}.dashboard-topic>.panel,.dashboard-topic>.dashboard-breeding-snapshot,.dashboard-topic>.dashboard-grid{margin-top:14px}.dashboard-topic[open]{padding:12px 14px}.dashboard-topic[open]>summary{margin-bottom:9px;padding-bottom:8px}.dashboard-topic[open]>.panel{margin-top:0;padding:10px 12px}.dashboard-topic[open]>.panel>.section-heading{align-items:center;gap:6px 12px;margin-bottom:6px}.dashboard-topic[open]>.panel>.section-heading h2{display:none}.dashboard-topic[open]>.panel>.section-heading p{margin:0;font-size:.8rem}.dashboard-topic[open] p{margin:6px 0;font-size:.83rem;line-height:1.35}.dashboard-topic[open] .metrics{gap:8px}.dashboard-topic[open] .metric{min-height:0;padding:9px 10px}.dashboard-topic[open] .metric strong{font-size:1.4rem;line-height:1.1}.dashboard-topic[open] .record{padding:5px 0;font-size:.82rem;line-height:1.3}.dashboard-topic[open] .dashboard-recent-groups li{padding:4px 0}.dashboard-topic[open] .dashboard-breeding-lanes{gap:8px;margin-top:9px}.dashboard-topic[open] .dashboard-breeding-lane{padding:9px 10px}.dashboard-topic[open] .dashboard-breeding-lane li{margin-bottom:5px;line-height:1.3}.dashboard-inline-stats{display:flex;align-items:center;flex-wrap:wrap;gap:4px 16px;margin:7px 0;color:#475569;font-size:.81rem;line-height:1.35}.dashboard-inline-stats>span{white-space:nowrap}.dashboard-inline-stats strong{color:#173a61;font-size:1rem}.dashboard-inline-stats .dashboard-stat-alert,.dashboard-inline-stats .dashboard-stat-alert strong{color:#b91c1c}.dashboard-record-details{margin-top:7px}.dashboard-record-details>summary{cursor:pointer;color:#173a61;font-size:.81rem;font-weight:700}.dashboard-record-details h3{margin:8px 0 2px;font-size:.83rem}.dashboard-record-details .record-list .record{padding:4px 0;font-size:.8rem}.dashboard-topic[open] .dashboard-farrow-workload{margin:5px 0 7px;font-size:.8rem}.dashboard-topic[open] .dashboard-farrow-plan>details>summary{font-size:.81rem}.dashboard-topic[open] .dashboard-compact-facts{gap:4px 12px;margin:3px 0 5px}.dashboard-topic[open] .dashboard-compact-facts>span{font-size:.78rem;line-height:1.25}.dashboard-topic[open] .dashboard-compact-facts strong{font-size:.88rem}.dashboard-topic[open] .dashboard-farrow-plan>details,.dashboard-topic[open] .dashboard-record-details{margin-top:4px}.dashboard-topic[open] .dashboard-farrow-dates{margin-top:5px}.dashboard-topic[open] .dashboard-farrow-dates h3{margin:7px 0 2px}.dashboard-topic[open] .dashboard-farrow-dates ul{margin-bottom:6px}.dashboard-topic[open] .dashboard-farrow-dates li{margin:2px 0;line-height:1.25}.dashboard-topic[open] .dashboard-recent-groups li,.dashboard-topic[open] .record{padding:3px 0;line-height:1.25}.dashboard-topic[open] .dashboard-breeding-lane li{margin-bottom:3px;line-height:1.25}.dashboard-topic[open] .dashboard-mortality-panel h3{margin:6px 0 2px}.dashboard-topic[open]>.dashboard-farrow-plan,.dashboard-topic[open]>.dashboard-mortality-panel{border:0;border-radius:0;background:transparent;box-shadow:none;padding:0}.dashboard-topic[open] .dashboard-compact-facts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:0 0 7px}.dashboard-topic[open] .dashboard-compact-facts>span{min-width:0;padding:5px 7px;border:1px solid #dce5ee;border-radius:7px;background:#f8fafc;font-size:.73rem;line-height:1.15;white-space:normal}.dashboard-topic[open] .dashboard-compact-facts strong{font-size:.87rem}.dashboard-topic[open] .dashboard-compact-facts .dashboard-farrow-workload{margin:0}.dashboard-topic[open] .dashboard-farrow-plan>details,.dashboard-topic[open] .dashboard-record-details{margin-top:3px}.dashboard-topic[open] .dashboard-farrow-plan>details>summary,.dashboard-topic[open] .dashboard-record-details>summary{font-size:.77rem;line-height:1.2}.dashboard-topic[open] .dashboard-farrow-dates{margin-top:4px;max-height:190px}.dashboard-topic[open] .dashboard-farrow-dates h3,.dashboard-topic[open] .dashboard-mortality-panel h3{margin:5px 0 2px;font-size:.78rem}.dashboard-topic[open] .dashboard-farrow-dates ul{margin-bottom:4px}.dashboard-topic[open] .dashboard-farrow-dates li,.dashboard-topic[open] .dashboard-mortality-panel .record{margin:2px 0;padding:2px 0;font-size:.76rem;line-height:1.2}.dashboard-topic[open] .dashboard-farrow-timing{margin-left:4px;padding:2px 5px;font-size:.7rem}.dashboard-breeding-snapshot>p{margin:12px 0}.dashboard-breeding-lanes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:16px}.dashboard-breeding-lane{min-width:0;padding:12px;border:1px solid #d9e4ef;border-radius:10px;background:#f8fbff}.dashboard-breeding-lane h3{margin:0 0 8px;font-size:.96rem}.dashboard-breeding-lane ul{margin:0;padding-left:18px}.dashboard-breeding-lane li{margin:0 0 10px;line-height:1.45}.dashboard-breeding-lane li .section-link{display:block;margin-top:3px}.animal-pending-health-link{display:block;margin-top:4px;font-size:.8rem;font-weight:600}@media(max-width:700px){.dashboard-breeding-lanes{grid-template-columns:1fr}}@media(max-width:700px){.dashboard-breeding-lanes{gap:8px;margin-top:10px}.dashboard-breeding-lane{padding:9px 10px}.dashboard-breeding-lane h3{margin-bottom:5px;font-size:.84rem}.dashboard-breeding-lane ul{padding-left:15px}.dashboard-breeding-lane li{margin-bottom:5px;font-size:.78rem;line-height:1.3}.dashboard-breeding-lane li .section-link{margin-top:2px;font-size:.76rem}.dashboard-breeding-snapshot>p{margin:8px 0;font-size:.82rem}}@media(max-width:1050px){.dashboard-shortcuts{gap:8px}}@media(max-width:900px){.dashboard-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.dashboard-shortcuts{gap:8px}.dashboard-shortcut{min-height:42px;padding:8px 12px;font-size:.85rem}.dashboard-priority-grid{gap:10px}.dashboard-priority{min-height:140px;padding:13px}.dashboard-priority span{font-size:.92rem}.dashboard-priority strong{font-size:2.45rem}.dashboard-priority small{font-size:.8rem}}@media(max-width:640px){.dashboard-today>.dashboard-priority-grid,.dashboard-more-metrics .dashboard-priority-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-today>.dashboard-priority-grid>.dashboard-priority:last-child:nth-child(odd){grid-column:1 / -1;min-height:112px}.dashboard-today .dashboard-priority{display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:128px;padding:13px 14px;border:1px solid #d4dfeb;box-shadow:0 6px 16px #1c375614}.dashboard-today .dashboard-priority span{font-size:.83rem;line-height:1.22}.dashboard-today .dashboard-priority strong{display:block;margin:7px 0 5px;font-size:2rem;line-height:1}.dashboard-today .dashboard-priority small{margin-top:auto;font-size:.74rem;line-height:1.3}.dashboard-topic:not([open]),.dashboard-stable-areas:not([open]),.dashboard-more-metrics:not([open]){padding:0;border:0;background:transparent;box-shadow:none}.dashboard-topic>summary,.dashboard-stable-areas>summary,.dashboard-more-metrics>summary{display:block;min-height:43px;padding:10px 13px;border:1px solid #c6ddd1;border-radius:11px;background:linear-gradient(90deg,#eef6ff,#f8fbff 55%,#e7f6eb);box-shadow:inset 0 1px #fff,0 3px 8px #33415512;color:#173a61;font-size:.86rem;font-weight:750;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dashboard-topic>summary span{display:inline}.dashboard-topic>summary .dashboard-pill-detail,.dashboard-stable-areas>summary .dashboard-pill-detail,.dashboard-more-metrics>summary .dashboard-pill-detail{display:none}.dashboard-topic>summary:has(.dashboard-pill-count),.dashboard-stable-areas>summary:has(.dashboard-pill-count),.dashboard-more-metrics>summary:has(.dashboard-pill-count){position:relative;padding-right:53px}.dashboard-topic>summary .dashboard-pill-count,.dashboard-stable-areas>summary .dashboard-pill-count,.dashboard-more-metrics>summary .dashboard-pill-count{position:absolute;top:50%;right:12px;display:inline-flex;min-width:26px;height:24px;align-items:center;justify-content:center;padding:0 7px;transform:translateY(-50%);border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#334155;font-size:.75rem;font-weight:800}.dashboard-topic>summary .dashboard-stock-counts{display:none!important}.dashboard-topic[open]>summary{margin-bottom:14px;padding-bottom:10px;border-bottom:1px solid #cbd5e1}.dashboard-topic:not([open])>summary,.dashboard-stable-areas:not([open])>summary,.dashboard-more-metrics:not([open])>summary{margin:0}.dashboard-topic>summary:focus-visible,.dashboard-stable-areas>summary:focus-visible,.dashboard-more-metrics>summary:focus-visible{outline:3px solid #0f766e;outline-offset:2px}.dashboard-topic[open]{padding:12px 11px}.dashboard-topic[open]>.panel,.dashboard-topic[open] .dashboard-grid .panel{padding:11px 12px}.dashboard-topic[open] .section-heading{align-items:flex-start;flex-wrap:wrap;gap:3px 10px}.dashboard-topic[open] h2{margin:0 0 5px;font-size:1rem;line-height:1.25}.dashboard-topic[open] h3{font-size:.88rem;line-height:1.25}.dashboard-topic[open] p{margin:5px 0 8px;font-size:.79rem;line-height:1.35}.dashboard-topic[open] .section-link{margin-top:3px;font-size:.79rem}.dashboard-topic[open] .metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.dashboard-topic[open] .metric{min-height:0;padding:9px 10px}.dashboard-topic[open] .metric span{font-size:.76rem;line-height:1.2}.dashboard-topic[open] .metric strong{font-size:1.45rem;line-height:1.1}.dashboard-topic[open] .metric small{font-size:.72rem;line-height:1.25}.dashboard-topic[open] .record{padding:7px 0;font-size:.8rem;line-height:1.3}.dashboard-topic[open] .dashboard-recent-groups{gap:8px}.dashboard-topic[open] .dashboard-recent-groups li{padding:4px 0;font-size:.78rem}.dashboard-topic[open] .dashboard-breeding-lanes{gap:6px;margin-top:9px}.dashboard-topic[open] .dashboard-breeding-lane{padding:7px 9px}.dashboard-topic[open] .dashboard-breeding-lane li{margin-bottom:4px}.dashboard-topic[open] .table-wrap table{font-size:.76rem}.dashboard-topic[open] .table-wrap th,.dashboard-topic[open] .table-wrap td{padding:7px 8px}.dashboard-topic[open]{padding:9px 10px}.dashboard-topic[open]>summary{margin-bottom:8px;padding-bottom:8px}.dashboard-topic[open]>.panel{margin-top:0;padding:8px 9px}.dashboard-topic[open]>.panel>.section-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:5px}.dashboard-topic[open]>.panel>.section-heading h2{display:none}.dashboard-topic[open]>.panel>.section-heading p{margin:0}.dashboard-topic[open] .dashboard-farrow-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;margin:7px 0}.dashboard-topic[open] .dashboard-farrow-metrics .metric{padding:7px 5px;text-align:center}.dashboard-topic[open] .dashboard-farrow-metrics .metric span{font-size:.68rem}.dashboard-topic[open] .dashboard-farrow-metrics .metric strong{font-size:1.3rem}.dashboard-farrow-workload{margin:5px 0 7px;font-size:.76rem}.dashboard-farrow-plan>details>summary{font-size:.78rem}.dashboard-topic[open] .dashboard-mortality-panel .metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;margin:6px 0}.dashboard-topic[open] .dashboard-mortality-panel .metric{padding:7px 4px;text-align:center}.dashboard-topic[open] .dashboard-mortality-panel .metric span{font-size:.74rem}.dashboard-topic[open] .dashboard-mortality-panel .metric strong{font-size:1.25rem}.dashboard-mortality-panel h3{margin:8px 0 2px}.dashboard-mortality-panel .record-list .record{padding:4px 0}}@media(max-width:360px){.dashboard-today>.dashboard-priority-grid,.dashboard-more-metrics .dashboard-priority-grid{grid-template-columns:1fr}.dashboard-today .dashboard-priority{min-height:114px}}@media(max-width:640px){.dashboard-topic[open]{padding:8px 10px}.dashboard-topic[open]>.panel{padding:7px 9px}.dashboard-topic[open]>.panel>.section-heading{align-items:center;flex-wrap:nowrap;gap:6px}.dashboard-topic[open]>.panel>.section-heading p{font-size:.72rem;line-height:1.25}.dashboard-topic[open] .section-link{flex-shrink:0;margin:0;font-size:.72rem}.dashboard-inline-stats{gap:3px 10px;margin:5px 0;font-size:.72rem}.dashboard-inline-stats strong{font-size:.87rem}.dashboard-topic[open] .dashboard-farrow-workload{margin:4px 0;font-size:.72rem}.dashboard-record-details>summary{font-size:.75rem}.dashboard-topic[open]>.dashboard-farrow-plan,.dashboard-topic[open]>.dashboard-mortality-panel{padding:0}.dashboard-topic[open] .dashboard-compact-facts{gap:3px;margin-bottom:5px}.dashboard-topic[open] .dashboard-compact-facts>span{padding:4px 3px;text-align:center;font-size:.72rem;line-height:1.12}.dashboard-topic[open] .dashboard-compact-facts strong{display:block;font-size:.94rem;line-height:1.05}.dashboard-topic[open] .dashboard-farrow-dates li,.dashboard-topic[open] .dashboard-mortality-panel .record{font-size:.72rem}}.dashboard-topic[open]>.dashboard-farrow-plan .section-heading,.dashboard-topic[open]>.dashboard-mortality-panel .section-heading{margin:0 0 5px}.dashboard-topic[open] .dashboard-compact-facts{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;margin:0 0 5px;padding:3px 0;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0}.dashboard-topic[open] .dashboard-compact-facts>span{display:inline-flex;align-items:baseline;gap:3px;width:auto;min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;font-size:.77rem;line-height:1.3;white-space:nowrap;text-align:left}.dashboard-topic[open] .dashboard-compact-facts strong{display:inline;font-size:.85rem;line-height:inherit}.dashboard-topic[open] .dashboard-farrow-plan>details,.dashboard-topic[open] .dashboard-record-details{margin:0}.dashboard-topic[open] .dashboard-farrow-plan>details>summary,.dashboard-topic[open] .dashboard-record-details>summary{padding:3px 0;font-size:.77rem;line-height:1.3}.dashboard-topic[open] .dashboard-farrow-fallback-note{margin:0 0 3px;font-size:.75rem}.dashboard-farrow-fallback{margin:0;padding:0;list-style:none}.dashboard-farrow-fallback li{display:flex;align-items:baseline;flex-wrap:wrap;gap:2px 9px;padding:3px 0;border-top:1px solid #e2e8f0;font-size:.78rem;line-height:1.25}.dashboard-farrow-fallback li span,.dashboard-farrow-fallback li small{color:#475569;font-size:inherit}.dashboard-farrow-fallback li small{margin-left:auto}@media(max-width:640px){.dashboard-topic[open]{padding:6px 9px}.dashboard-topic[open]>summary{margin-bottom:5px;padding-bottom:5px}.dashboard-topic[open]>.panel{padding:5px 7px}.dashboard-topic[open] .dashboard-compact-facts{column-gap:10px;row-gap:1px;margin-bottom:3px}.dashboard-topic[open] .dashboard-compact-facts>span{padding:0;font-size:.72rem;line-height:1.25;text-align:left}.dashboard-topic[open] .dashboard-compact-facts strong{display:inline;font-size:.78rem;line-height:inherit}}@media(max-width:640px){.dashboard-grower-snapshot-values{grid-template-columns:1fr;gap:3px}.dashboard-grower-snapshot-values span{padding-top:4px}.dashboard-grower-snapshot-head a{font-size:.82rem}}.dashboard-topic[open]:not(.dashboard-farm-snapshot)>.panel{margin:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}.dashboard-topic[open]:not(.dashboard-farm-snapshot)>.panel>.section-heading{margin:0 0 5px}.dashboard-topic-overview{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:2px 12px;min-width:0}.dashboard-topic[open] .dashboard-topic-overview .dashboard-compact-facts{flex:1 1 auto;min-width:0;margin:0;padding:0;border:0;column-gap:11px;row-gap:1px}.dashboard-topic[open] .dashboard-topic-overview .section-link{flex:0 0 auto;margin:0;font-size:.76rem;white-space:nowrap}.dashboard-topic[open] .dashboard-farrow-plan>details,.dashboard-topic[open] .dashboard-record-details{margin:3px 0 0}.dashboard-topic[open] .dashboard-farrow-plan>details>summary,.dashboard-topic[open] .dashboard-record-details>summary{padding:2px 0}.dashboard-topic[open] .dashboard-farrow-fallback-note{margin:0}@media(max-width:640px){.dashboard-topic[open]:not(.dashboard-farm-snapshot)>.panel{padding:0}.dashboard-topic-overview{align-items:baseline;gap:1px 8px}.dashboard-topic[open] .dashboard-topic-overview .dashboard-compact-facts{gap:1px 8px}.dashboard-topic[open] .dashboard-topic-overview .dashboard-compact-facts>span{font-size:.7rem;line-height:1.2}.dashboard-topic[open] .dashboard-topic-overview .section-link{font-size:.7rem}}.dashboard-topic[open] .dashboard-farrow-more{margin-top:2px}.dashboard-topic[open] .dashboard-farrow-more>summary{width:fit-content;min-height:32px;padding:6px 0;color:#173a61;cursor:pointer;font-size:.78rem;font-weight:700;line-height:1.2}.dashboard-topic[open] .dashboard-farrow-more>summary:focus-visible{outline:2px solid #0f766e;outline-offset:2px}.dashboard-topic[open] .dashboard-farrow-more>.dashboard-compact-facts{margin:2px 0 3px;padding:0;border:0}.dashboard-topic[open] .dashboard-topic-cue{margin:2px 0;font-size:.78rem;line-height:1.25}.dashboard-topic[open] .dashboard-mortality-panel .dashboard-compact-facts small{color:#64748b;font-size:.72rem}@media(max-width:640px){.dashboard-topic[open] .dashboard-farrow-more>summary{font-size:.74rem}.dashboard-topic[open] .dashboard-topic-cue{font-size:.73rem}.dashboard-topic[open] .dashboard-topic-overview .section-link{font-size:.68rem}}.animal-scan-link{display:inline-flex;align-items:center;min-height:44px;padding:10px 15px;border:1px solid #115e59;border-radius:12px;background:#0f766e;color:#fff;font-weight:800;box-shadow:0 7px 16px #0f766e24}.animal-scan-link:hover{background:#115e59}.animals-page .page-head{padding:0;margin-bottom:20px;border:0;border-radius:0;background:none;box-shadow:none}.animals-page .page-head .eyebrow{display:none}.animals-page .page-head h1{font-size:2.25rem}.animal-operations{padding:20px 16px 18px;margin-bottom:28px;border:1px solid #fcd34d;border-radius:18px;background:linear-gradient(135deg,#fff7ed,#fefce8 55%,#ecfdf5);box-shadow:0 14px 32px #0f172a0d}.animal-operations h2{margin:0 0 5px;color:#0f172a;font-size:1.18rem}.animal-operations>p{margin:0 0 17px;color:#475569;font-weight:600}.animal-draft-callout{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 16px;padding:10px 12px;border:1px solid #b8c7c5;border-radius:10px;background:linear-gradient(100deg,#f0f5f4,#f8fafc);color:#334155}.animal-draft-callout>div:first-child{display:grid;gap:2px;min-width:0}.animal-draft-callout strong{font-size:.9rem;color:#184b46}.animal-draft-callout span{font-size:.82rem;line-height:1.35}.animal-draft-callout .row-actions{flex:none;margin:0}@media(max-width:640px){.animal-draft-callout{align-items:stretch;flex-direction:column}.animal-draft-callout .row-actions{display:flex;flex-wrap:wrap}}.animal-operations>.animal-cockpit-shortcut{margin:16px 0 0;font-size:.85rem;font-weight:550}.animal-task-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:stretch}.animal-batches-menu{min-width:0;border:1px solid #9fc6b7;border-radius:14px;background:#f4faf7;overflow:hidden}.animal-batches-menu>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:15px 18px;color:#0d5f56;cursor:pointer;font-size:1rem;list-style-position:inside}.animal-batches-menu>summary span{color:#40566e;font-size:.82rem;font-weight:650}.animal-batches-menu>summary:focus-visible{outline:3px solid #0f766e;outline-offset:-4px}.animal-batches-menu[open]>summary{border-bottom:1px solid #cbded7}.animal-batches-groups{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;padding:12px}.animal-individual-shortcuts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.animal-individual-shortcuts>div{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:0;padding:10px 12px;border:1px solid #a6cbb8;border-radius:12px;background:linear-gradient(110deg,#e9f6ef,#f5faf7)}.animal-individual-shortcuts .animal-assign-callout{border-color:#b98538}.animal-individual-shortcuts .animal-batch-entry-callout{border-color:#8dbed1;background:linear-gradient(110deg,#eaf6f8,#f5faf9)}.animal-individual-shortcuts>div>div{display:grid;gap:2px;min-width:0}.animal-individual-shortcuts strong{color:#12423b;font-size:.88rem}.animal-individual-shortcuts span{color:#40566e;font-size:.78rem;line-height:1.3}.animal-individual-shortcuts button{flex:none;min-height:44px;padding:7px 12px;border:1px solid #0b544b;border-radius:9px;background:#0d665d;color:#fff;font-size:.83rem;font-weight:800}.animal-individual-shortcuts button:hover{background:#0b544b}.animal-individual-shortcuts button:focus-visible{outline:3px solid #b98538;outline-offset:2px}.animal-task-group{min-width:0;padding:14px;border:1px solid #d7e3dc;border-radius:14px;background:#fffefb}.animal-task-group h3{margin:0 0 4px;color:#173a35;font-size:1rem}.animal-task-group>p{margin:0 0 12px;color:#536477;font-size:.84rem;line-height:1.35}.animal-operations-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 16px;align-items:stretch}.animal-task-group .animal-primary-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.animal-task-group .animal-count-only-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.animal-task-group .animal-action{grid-area:auto}.animal-task-group .animal-action>a,.animal-task-group .animal-action>button,.animal-task-group .animal-action>span{min-height:64px;padding:10px;font-size:.9rem}.animal-task-group .animal-action small{font-size:.75rem}@media(max-width:1100px){.animal-task-groups{grid-template-columns:1fr}.animal-task-group .animal-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:800px){.animal-individual-shortcuts{grid-template-columns:1fr}}@media(max-width:640px){.animal-task-groups{gap:10px}.animal-task-group{padding:12px}.animal-batches-menu>summary{align-items:flex-start;flex-direction:column;padding:13px}.animal-batches-groups{padding:10px}.animal-task-group .animal-primary-grid,.animal-task-group .animal-count-only-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.animal-task-group .animal-action>a,.animal-task-group .animal-action>button,.animal-task-group .animal-action>span{min-height:54px;font-size:.85rem}.animal-task-group .animal-action small{font-size:.73rem}.animal-individual-shortcuts>div{align-items:center;gap:8px;padding:9px 10px}.animal-individual-shortcuts button{max-width:42%;white-space:normal}}.animal-primary-grid>.animal-action,.animal-specialist-grid>.animal-action{grid-area:auto;align-self:stretch}.animal-primary-grid .animal-action-hub{--animal-action-color:#0f766e;align-self:stretch}.animal-primary-grid .animal-action-hub>a{width:100%;min-width:0;max-width:none;min-height:70px;aspect-ratio:auto;margin:0;border:1px solid #ffffff38;border-radius:16px;background:var(--animal-action-color);color:#fff;box-shadow:0 10px 22px #0f172a1d}.animal-primary-grid .animal-action-hub>a:before{content:none}.animal-batch-summary-table tbody tr{cursor:pointer}.animal-batch-summary-table tbody tr:hover{background:#f0f9f5}.animal-batch-summary-table .batch-detail-cue{display:block;margin-top:3px;color:#0f766e;font-size:.72rem;font-weight:750;line-height:1.1}.animal-batch-view-select-hint{margin:16px 0 8px;font-weight:650}.animal-batch-view-detail h3:focus{outline:3px solid #0f766e;outline-offset:4px}.animal-specialist-actions{margin-top:18px;border-top:1px solid #d9e2e8;padding-top:14px}.animal-specialist-actions>summary{display:flex;align-items:center;gap:10px;cursor:pointer;color:#0f3b47;font-weight:800;list-style-position:inside}.animal-specialist-actions>summary::marker{color:#0f766e}.animal-specialist-actions>summary small{color:#526579;font-size:.84rem;font-weight:600}.animal-specialist-actions>summary:focus-visible{outline:3px solid #0f766e;outline-offset:4px;border-radius:4px}.animal-specialist-grid{margin-top:16px}.animal-action{display:grid;align-content:start;gap:8px;min-width:0;text-align:center}.animal-action>a,.animal-action>button,.animal-action>span{display:grid;place-items:center;min-height:70px;width:100%;padding:12px 14px;border:1px solid #ffffff38;border-radius:16px;background:var(--animal-action-color);color:#fff;font:inherit;font-weight:800;line-height:1.2;box-shadow:0 10px 22px #0f172a1d}.animal-action>a:hover,.animal-action>button:hover{filter:brightness(.94);transform:translateY(-1px)}.animal-action>a:focus-visible,.animal-action>button:focus-visible{outline:3px solid #0f766e;outline-offset:3px}.animal-action>span{opacity:.55}.animal-action small{color:#40566e;font-size:.83rem;font-weight:650;line-height:1.25}.animal-action-scan{grid-area:scan;--animal-action-color:#0f766e}.animal-action-assign{grid-area:assign;--animal-action-color:#14b8a6}.animal-action-batch-view{grid-area:batchview;--animal-action-color:#8b5cf6}.animal-action-count-batches{--animal-action-color:#0d9488}.animal-action-add{grid-area:add;--animal-action-color:#f59e0b}.animal-action-weight{--animal-action-color:#2563eb}.animal-action-manage{grid-area:manage;--animal-action-color:#ef4444}.animal-action-detail{grid-area:detail;--animal-action-color:#8b5cf6}.animal-action-import{grid-area:import;--animal-action-color:#6366f1}.animal-action-batch-entry{grid-area:batchentry;--animal-action-color:#0ea5e9}.animal-action-update{grid-area:update;--animal-action-color:#10b981}.animal-action-receive{grid-area:receive;--animal-action-color:#22c55e}.animal-action-hub{grid-area:hub;align-self:center}.animal-action-hub>a{width:190px;min-width:190px;max-width:190px;min-height:190px;aspect-ratio:1/1;margin-inline:auto;border:4px solid #fff;border-radius:50%;background:radial-gradient(circle at 30% 30%,#fff8e1,#fde68a 45%,#f59e0b);color:#78350f;box-shadow:0 14px 30px #d977062f}.animal-action-hub>a:before{content:"🐖";font-size:2.4rem;line-height:1}.animal-action-hub{--animal-action-color:#8b5cf6}.animal-register-panel,.animal-entry-panel{scroll-margin-top:20px}.animal-batch-view-selector{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;align-items:end;margin:18px 0}.animal-batch-view-metrics{grid-template-columns:repeat(auto-fit,minmax(160px,1fr));margin-bottom:16px}.animal-batch-view-data-note{padding:12px 14px;border:1px solid #f3c88b;border-radius:12px;background:#fffbeb;color:#713f12;line-height:1.45}.animal-batch-summary-table{max-height:min(62vh,620px)}.animal-batch-summary-table td{min-width:115px;vertical-align:top}.animal-batch-summary-table td:first-child{min-width:145px}.animal-batch-summary-table .selected-row{background:#eff6ff}@media(max-width:640px){.animal-batch-summary-table{overflow-x:hidden}.animal-batch-summary-table table{width:100%;table-layout:fixed}.animal-batch-summary-table th:not(:first-child):not(:nth-last-child(-n+2)),.animal-batch-summary-table td:not(:first-child):not(:nth-last-child(-n+2)){display:none}.animal-batch-summary-table th,.animal-batch-summary-table td{min-width:0;padding:9px 6px;white-space:normal;overflow-wrap:anywhere}.animal-batch-summary-table th:first-child,.animal-batch-summary-table td:first-child{width:40%;min-width:0}.animal-batch-summary-table th:nth-last-child(2),.animal-batch-summary-table td:nth-last-child(2){width:38%}.animal-batch-summary-table th:last-child,.animal-batch-summary-table td:last-child{width:22%}.animal-batch-summary-table .table-link{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left}}.animal-batch-view-detail{margin-top:22px;padding-top:18px;border-top:2px solid #dbeafe}.animal-batch-record-actions{padding:12px 14px;border:1px solid #a8cfc1;border-radius:12px;background:#f2faf5}.animal-batch-record-actions p{margin:0 0 9px;color:#244d44;font-size:.88rem;font-weight:650}.animal-batch-record-actions .row-actions{display:flex;flex-wrap:wrap;gap:8px}.animal-batch-record-actions .button-link{min-height:38px;padding:8px 11px;border:1px solid #9fc6b7;border-radius:8px;background:#fff;color:#0d5f56;font-size:.84rem;font-weight:750;text-decoration:none}.animal-batch-record-actions .button-link:focus-visible{outline:3px solid #0f766e;outline-offset:2px}.animal-batch-view-pagination{justify-content:space-between;align-items:center;gap:12px;margin:12px 0 18px}.animal-batch-view-pagination>span{color:#475569;font-weight:700;text-align:center}.animal-batch-view-detail>.section-heading{align-items:center;gap:12px;flex-wrap:wrap}.animal-batch-view-detail .batch-workspace-link{display:inline-flex;align-items:center;min-height:42px;padding:8px 14px;border:1px solid #0f766e;border-radius:10px;background:#e0f2ec;color:#0b544b;font-weight:800;text-decoration:none}.animal-batch-view-detail .batch-workspace-link:hover{background:#cce9de}.animal-batch-extra-details{margin:14px 0;border:1px solid #cbded7;border-radius:10px;background:#f8fbf9}.animal-batch-extra-details>summary{padding:11px 14px;color:#0b544b;font-weight:800;cursor:pointer}.animal-batch-extra-details>.animal-batch-view-facts{margin:0;padding:0 14px 14px}.animal-batch-view-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:10px;margin:14px 0 20px}.animal-batch-view-facts>div{min-width:0;padding:11px 13px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc}.animal-batch-view-facts dt{color:#475569;font-size:.78rem;font-weight:750}.animal-batch-view-facts dd{margin:5px 0 0;overflow-wrap:anywhere;color:#0f172a;font-weight:700}.animal-batch-entry-dialog{width:min(940px,calc(100vw - 32px));max-height:min(88vh,900px);padding:0;border:0;border-radius:18px;box-shadow:0 24px 72px #0f172a66;overflow:auto}.animal-quick-registration-dialog{width:min(740px,calc(100vw - 24px))}.animal-quick-registration-dialog .animal-batch-entry-panel{border-color:#d5e3d8;background:linear-gradient(180deg,#fff,#fbfdfb)}.animal-quick-registration-dialog .section-heading h2{color:#173f35;letter-spacing:-.025em}.animal-quick-registration-dialog .animal-quick-registration-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:14px 16px;min-width:0;margin:0;padding:17px;border:1px solid #e0e9e1;border-radius:15px;background:#f7faf7}.animal-quick-registration-fields>label{min-width:0;margin:0;gap:7px;color:#315148;font-size:.81rem;font-weight:750;letter-spacing:.01em}.animal-quick-registration-fields label input:not([type=checkbox]),.animal-quick-registration-fields label select,.animal-quick-registration-fields label textarea{min-width:0;min-height:48px;padding:11px 13px;border:1px solid #cddbd0;border-radius:11px;background-color:#fff;color:#193a32;box-shadow:0 1px 2px #18352f09}.animal-quick-registration-fields label select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%235b786d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.animal-quick-registration-fields label input:not([type=checkbox]):focus,.animal-quick-registration-fields label select:focus,.animal-quick-registration-fields label textarea:focus{border-color:#398960;box-shadow:0 0 0 4px #5da06f29}.animal-quick-registration-fields label input:disabled,.animal-quick-registration-fields label select:disabled,.animal-quick-registration-fields label textarea:disabled{background-color:#edf2ed;color:#74857b}.animal-quick-registration-fields>.check-row{display:flex;align-items:center;gap:10px;min-height:48px;padding:10px 13px;border:1px solid #e0e9e1;border-radius:11px;background:#fff}.animal-quick-registration-fields>.check-row input{width:19px;height:19px;flex:0 0 auto;accent-color:#28764c}.animal-quick-registration-fields>details,.animal-quick-registration-fields>.muted,.animal-quick-registration-fields>[role=alert],.animal-quick-registration-fields>.notice,.animal-quick-registration-fields>.form-actions{grid-column:1/-1}.animal-quick-registration-fields>.form-actions{margin-top:2px}.animal-quick-registration-fields>.form-actions .primary{min-height:48px;border-radius:11px;background:#28764c}@media(max-width:640px){.animal-quick-registration-dialog .animal-quick-registration-fields{grid-template-columns:minmax(0,1fr);gap:13px;padding:14px}.animal-quick-registration-fields>details,.animal-quick-registration-fields>.muted,.animal-quick-registration-fields>[role=alert],.animal-quick-registration-fields>.notice,.animal-quick-registration-fields>.form-actions{grid-column:auto}}.animal-quick-registration-details{display:grid;gap:9px;margin:0 0 16px;padding:12px 14px;border:1px solid #bfdbfe;border-radius:12px;background:#eff6ff;color:#1e3a8a;line-height:1.4}.animal-quick-registration-details p{margin:0}.animal-quick-registration-details button{justify-self:start;min-height:42px;padding:8px 12px;border:1px solid #93c5fd;border-radius:9px;background:#fff;color:#1e3a8a;font-weight:750}.animal-quick-registration-details button:hover{background:#dbeafe}.animal-quick-parentage{padding:12px 14px;border:1px solid #dbe4ef;border-radius:10px;background:#f8fafc}.animal-quick-parentage summary{cursor:pointer;font-weight:750;color:#334155}.animal-quick-parentage label{margin-top:12px}.animal-batch-entry-dialog::backdrop{background:#0f172a80}.animal-batch-entry-panel{margin:0;border-color:#7dd3fc;background:linear-gradient(150deg,#f8fcff,#fff)}.animal-workspace{margin-top:22px}.animal-import-heading{margin-bottom:18px}.animal-import-heading h2{margin:0 0 6px}.animal-import-heading p{margin:0;color:#475569}.auth-offline-note{font-size:.8rem;line-height:1.45;margin:-8px 0 0}.auth-device-choice{display:grid;gap:8px;margin:4px 0 16px;min-width:0}.auth-device-choice label{display:flex;align-items:flex-start;gap:10px;padding:11px 12px;border:1px solid #c8d8cf;border-radius:10px;line-height:1.35;cursor:pointer}.auth-device-choice label:has(input:checked){border-color:#28764c;background:#eef7eb}.auth-device-choice input{flex:none;width:18px;height:18px;padding:0;margin:2px 0 0;accent-color:#28764c}.auth-device-choice span{display:grid;gap:3px;min-width:0}.auth-device-choice strong{font-size:.86rem}.auth-device-choice small{font-size:.76rem;font-weight:500;color:#526b62}.auth-device-choice .auth-offline-note{margin:2px 0 0}.animal-workspace-panels{display:grid;grid-template-columns:minmax(0,1fr);align-items:start}.animal-manage-panel{max-width:760px}.animal-manage-panel>p{color:#475569}.animal-manage-panel>label{display:grid;gap:6px;max-width:480px;font-weight:700}.animal-manage-results{display:grid;gap:8px;margin-top:16px}.animal-manage-result{display:flex;justify-content:space-between;align-items:center;gap:14px;padding:12px 14px;border:1px solid #dbe4f0;border-radius:12px;background:#fff}.animal-manage-result>div{display:grid;gap:3px;min-width:0}.animal-manage-result span{color:#64748b;font-size:.9rem}.animal-manage-result .button-link{white-space:nowrap}.animal-manage-result.selected{border-color:#0f766e;box-shadow:0 0 0 2px #0f766e24}.animal-manage-result-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.animal-manage-result-actions .check-row{margin:0;white-space:nowrap}.animal-manage-actions{display:grid;gap:12px;margin-top:18px;padding:16px;border:1px solid #cbd5e1;border-radius:12px;background:#f8fafc}.animal-manage-actions h3,.animal-manage-actions h4{margin:0}.animal-manage-death-form,.animal-manage-delete{display:grid;gap:10px;padding:14px;border:1px solid #dbe4f0;border-radius:10px;background:#fff}.animal-manage-death-form label{display:grid;gap:6px;font-weight:700}.animal-manage-outcomes{padding:12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff}.animal-manage-outcomes ul{margin-bottom:0;padding-left:22px}@media(max-width:520px){.animal-manage-result{align-items:flex-start;flex-direction:column}.animal-manage-result .button-link{width:100%;text-align:center}}.animal-assign-batch-dialog{width:min(1280px,calc(100vw - 32px));max-width:1280px}.animal-assign-batch-form{display:grid;gap:14px}.animal-assign-batch-picker{min-width:0}.animal-assign-batch-picker>summary{cursor:pointer;padding:10px 12px;border:1px solid #cbd5e1;border-radius:8px;background:#fff;color:#334155;font-weight:700;list-style-position:inside}.animal-assign-batch-picker[open]>summary{border-radius:8px 8px 0 0}.animal-assign-batch-list{display:grid;gap:7px;max-height:34vh;overflow:auto;padding:12px;border:1px solid #cbd5e1;border-top:0;border-radius:0 0 8px 8px;background:#fff}.animal-assign-batch-list legend{padding:0 5px;font-weight:800;color:#334155}.animal-assign-batch-list .check-row{margin:0;align-items:flex-start}.animal-assign-batch-list .check-row span{overflow-wrap:anywhere}.animal-assign-batch-form>button,.animal-assign-batch-form .animal-batch-entry-progress{grid-column:1/-1}.animal-workspace-back{margin-bottom:16px;padding:9px 12px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#334155;font-weight:700}.animal-workspace-back:hover{background:#f1f5f9}.animal-batch-entry-panel>p{color:#475569}.animal-batch-entry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 18px}.animal-batch-entry-form label{min-width:0}.animal-batch-entry-form .check-row,.animal-batch-entry-progress,.animal-batch-entry-form>button{grid-column:1/-1}.animal-batch-entry-progress{margin:0;padding:12px 14px;border-radius:10px;background:#e0f2fe;color:#075985;font-weight:700}@media(max-width:640px){.animal-batch-entry-form{grid-template-columns:1fr}}@media(max-width:900px){.animal-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.animal-primary-grid .animal-action-hub>a{min-height:70px;border-radius:16px}.animal-primary-grid .animal-action-hub>a:before{content:none}}@media(min-width:1181px){.animal-primary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-primary-grid:not(.has-scan){grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:769px)and (max-width:1180px){.animal-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}}@media(max-width:640px){.animal-operations{padding:16px 12px}.animal-operations-grid{grid-template-columns:minmax(0,1fr);gap:12px}.animal-specialist-actions>summary{align-items:flex-start;flex-direction:column;gap:4px}.animal-action>a,.animal-action>button,.animal-action>span{min-height:58px;padding:10px;font-size:.89rem}.animal-action small{font-size:.76rem}}.animal-operations.workspace-active{display:none}.animals-page .split{align-items:start}.animal-register-panel,.animal-entry-panel{min-width:0}.animal-register-intro{padding:13px 15px;margin:-7px 0 18px;border:1px solid #93c5fd;border-radius:14px;background:linear-gradient(135deg,#f8fafc,#eff6ff);color:#1e3a8a;font-weight:650;line-height:1.4;box-shadow:0 7px 18px #1e3a8a12}@media(max-width:640px){.animal-register-intro{padding:0;margin:-4px 0 12px;border:0;background:none;box-shadow:none;color:#475569}}.animal-register-filters{display:block}.animal-register-filters>label{display:block;margin-bottom:12px}.animal-register-advanced{border:1px solid #d5e1ed;border-radius:12px;background:#f8fafc}.animal-register-advanced summary{cursor:pointer;padding:11px 14px;color:#173a61;font-weight:750}.animal-register-advanced-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:0 14px 14px}.animal-register-advanced:not([open])>.animal-register-advanced-grid{display:none}@media(max-width:640px){.animal-register-advanced-grid{grid-template-columns:1fr}}.animal-register-summary-disclosure>summary{display:none}.animal-register-summary-disclosure:not([open])>summary{display:list-item;cursor:pointer;padding:11px 14px;color:#173a61;font-weight:750}@media(max-width:640px){.animal-register-summary-disclosure{margin:0 0 12px;border:1px solid #d5e1ed;border-radius:12px;background:#f8fafc}.animal-register-summary-disclosure>summary{display:list-item;cursor:pointer;padding:11px 14px;color:#173a61;font-weight:750}.animal-register-summary-disclosure .animal-register-summary{padding:0 10px 10px;margin:0}}.animal-register-summary{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:10px;margin:0 0 16px}.animal-register-summary .metric{min-width:0;padding:11px 13px;border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff,#fff)}.animal-register-summary .metric span{font-size:.77rem;font-weight:700;color:#475569}.animal-register-summary .metric strong{font-size:1.45rem;color:#173a61}.animal-register-table{max-height:min(65vh,680px);overflow:auto;border:2px solid #93c5fd;border-radius:14px;box-shadow:0 10px 23px #1e293b14}.animal-register-table th{position:sticky;top:0;z-index:1;background:#dbeafe;color:#0f172a;font-size:.78rem;font-weight:800;letter-spacing:.03em}.animal-register-table tbody tr:nth-child(2n){background:#f8fafc}.animal-register-table tbody tr:hover{background:#eff6ff}.animal-register-large-page tbody>tr{content-visibility:auto;contain-intrinsic-size:auto 48px}.animal-register-mobile-meta,.animal-register-mobile-label{display:none}@media(max-width:640px){.animal-main-register-table{max-height:none;overflow:visible;border:0;box-shadow:none}.animal-main-register-table table,.animal-main-register-table tbody{display:block;width:100%}.animal-main-register-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.animal-main-register-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 10px;align-items:start;margin-bottom:10px;padding:11px 12px;border:1px solid #d4e3ef;border-radius:12px;background:#fff;box-shadow:0 3px 10px #1e293b0a}.animal-main-register-table tbody tr:nth-child(2n){background:#f8fbff}.animal-main-register-table td{display:block;min-width:0;padding:0;border:0;white-space:normal;overflow-wrap:anywhere}.animal-main-register-table .animal-register-select-cell{grid-column:2;grid-row:1;justify-self:end}.animal-main-register-table .animal-register-id-cell{grid-column:1;grid-row:1 / span 2}.animal-main-register-table .animal-register-id-cell .table-link{display:block;width:fit-content;max-width:100%;font-weight:800;overflow-wrap:anywhere}.animal-main-register-table .animal-register-status-cell{grid-column:2;grid-row:2;justify-self:end;font-size:.78rem;font-weight:750;text-align:right}.animal-main-register-table .animal-register-sync-cell{grid-column:1 / -1;grid-row:3;font-size:.75rem;color:#526579}.animal-main-register-table .animal-register-sync-empty{display:none}.animal-register-mobile-label{display:block;margin-bottom:2px;color:#64748b;font-size:.69rem;font-weight:750;text-transform:uppercase;letter-spacing:.04em}.animal-register-mobile-meta{display:grid;gap:2px;margin-top:4px;color:#526b62;font-size:.76rem;line-height:1.3}.animal-register-mobile-meta span{display:block}}.animal-bulk-update{margin-top:14px}.animal-register-select-label{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.animal-register-select-text,.animal-mobile-selection-bar{display:none}@media(max-width:640px){.animal-register-select-label{font-size:.72rem;font-weight:750;color:#1e4d73}.animal-register-select-label input{width:18px;height:18px;margin:0}.animal-register-select-text{display:inline}.animal-mobile-selection-bar{position:fixed;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:20;display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;max-width:600px;margin-inline:auto;padding:9px 10px;border:1px solid #8dc5b7;border-radius:13px;background:#effaf5;box-shadow:0 8px 26px #0f33274d}.animal-mobile-selection-bar strong{font-size:.8rem;color:#174b3d}.animal-mobile-selection-bar button{min-height:38px;padding:6px 10px;font-size:.78rem}.animal-bulk-update{scroll-margin-top:18px}}.animal-bulk-update-form{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:12px;margin-top:12px}.animal-bulk-update-form h3,.animal-bulk-update-form>p,.animal-bulk-update-form>button,.animal-bulk-results{grid-column:1/-1}.animal-bulk-results{padding:12px;border:1px solid #cbd5e1;border-radius:10px;background:#f8fafc}.animal-bulk-results ul{margin:8px 0 0;padding-left:20px}.animal-bulk-results li{margin:5px 0}.animal-entry-panel{border-color:#fcd9a6}.animal-entry-panel form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 20px;align-items:start}.animal-entry-panel .animal-field-help{display:block;margin-top:5px;color:#526b62;font-size:.78rem;font-weight:400;line-height:1.4}.animal-entry-panel form>.muted,.animal-entry-panel form>.notice,.animal-entry-panel form>.animal-register-submit{grid-column:1/-1}@media(max-width:700px){.animal-entry-panel form{grid-template-columns:1fr}}button.primary.animal-register-submit{min-height:48px;border-color:#d97706;border-radius:12px;background:#f59e0b;color:#fff;box-shadow:0 8px 18px #d977062e}button.primary.animal-register-submit:hover{background:#d97706;border-color:#b45309}.animal-entry-panel{border-color:#d5e3d8;background:linear-gradient(180deg,#fff,#fbfdfb);box-shadow:0 14px 34px #18352f12}.animal-entry-panel>h2{margin:-2px 0 18px;color:#173f35;font-size:1.35rem;letter-spacing:-.025em}.animal-entry-panel>h2:after{content:"";display:block;width:38px;height:3px;margin-top:10px;border-radius:99px;background:#79ad63}.animal-entry-panel form{display:block}.animal-entry-panel form>fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:15px 18px;width:100%;min-width:0;padding:20px;border:1px solid #e0e9e1!important;border-radius:16px;background:linear-gradient(145deg,#f8fbf8,#f4f8f4)}.animal-entry-panel form>fieldset>label{min-width:0;gap:7px;color:#315148;font-size:.81rem;font-weight:750;letter-spacing:.01em}.animal-entry-panel form>fieldset>label input:not([type=checkbox]),.animal-entry-panel form>fieldset>label select,.animal-entry-panel form>fieldset>label textarea{min-width:0;min-height:48px;padding:11px 13px;border:1px solid #cddbd0;border-radius:11px;background-color:#fff;color:#193a32;box-shadow:0 1px 2px #18352f09;transition:border-color .15s ease,box-shadow .15s ease,background-color .15s ease}.animal-entry-panel form>fieldset>label select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%235b786d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.animal-entry-panel form>fieldset>label input:not([type=checkbox]):hover,.animal-entry-panel form>fieldset>label select:hover,.animal-entry-panel form>fieldset>label textarea:hover{border-color:#a9c2af}.animal-entry-panel form>fieldset>label input:not([type=checkbox]):focus,.animal-entry-panel form>fieldset>label select:focus,.animal-entry-panel form>fieldset>label textarea:focus{border-color:#398960;background-color:#fff;box-shadow:0 0 0 4px #5da06f29}.animal-entry-panel form>fieldset>label input:disabled,.animal-entry-panel form>fieldset>label select:disabled,.animal-entry-panel form>fieldset>label textarea:disabled{background-color:#edf2ed;color:#74857b}.animal-entry-panel form>fieldset>label.animal-entry-category,.animal-entry-panel form>fieldset>label.animal-entry-sex,.animal-entry-panel form>fieldset>label.animal-entry-pen,.animal-entry-panel form>fieldset>label.animal-entry-batch{position:relative}.animal-entry-panel form>fieldset>label.animal-entry-category select,.animal-entry-panel form>fieldset>label.animal-entry-sex select,.animal-entry-panel form>fieldset>label.animal-entry-pen select,.animal-entry-panel form>fieldset>label.animal-entry-batch select{border-color:#b8d1bf;background-color:#fff}.animal-entry-panel form>fieldset .check-row{display:flex;align-items:center;align-self:center;gap:10px;min-height:48px;padding:10px 13px;border:1px solid #e0e9e1;border-radius:11px;background:#fff;color:#315148}.animal-entry-panel form>fieldset .check-row input{width:19px;height:19px;flex:0 0 auto;accent-color:#28764c}.animal-entry-panel form>fieldset>.muted,.animal-entry-panel form>fieldset>[role=alert]{grid-column:1/-1}.animal-entry-panel .animal-field-help{font-size:.76rem}.animal-entry-panel .animal-register-submit{width:min(100%,320px);min-height:50px;margin-top:14px;border:0;border-radius:12px;background:#28764c;box-shadow:0 8px 18px #28764c33;font-size:.96rem}.animal-entry-panel .animal-register-submit:hover{background:#1f603d;border-color:transparent}@media(max-width:760px){.animal-entry-panel{padding:20px}.animal-entry-panel form>fieldset{grid-template-columns:minmax(0,1fr);gap:13px;padding:14px;border-radius:13px}.animal-entry-panel form>fieldset>.muted,.animal-entry-panel form>fieldset>[role=alert]{grid-column:auto}.animal-entry-panel .animal-register-submit{width:100%}}.reports-header{border-color:#2563eb30;border-radius:12px;background:linear-gradient(135deg,#eaf3ff,#eefbf4 48%,#fff7df);box-shadow:0 10px 24px #0f172a0f}.reports-header .eyebrow{color:#0f766e}.report-header-chips{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.report-header-chips span{padding:5px 10px;border:1px solid #0f766e47;border-radius:999px;background:#ffffffbf;color:#134e4a;font-size:.78rem;font-weight:800}.report-filters-title{grid-column:1/-1;margin:0 0 2px;color:#0f172a}.report-tabs{display:flex;gap:8px;overflow-x:auto;margin:20px 0 16px;padding:0 0 8px;border-bottom:1px solid #dbe4ef;scrollbar-width:thin}.report-tabs button{flex:0 0 auto;min-height:38px;border:1px solid #cbd5e1;border-radius:999px;background:#f1f5f9;color:#334155;padding:8px 13px;font-size:.84rem;font-weight:800;white-space:nowrap}.report-tabs button.active{border-color:#99dcc4;background:#dff8ef;color:#0f766e}.reports-page .report-panel h2{padding-left:11px;border-left:5px solid #0f766e;color:#0f172a}.reports-page .report-metric{border:1px solid #cbd5e1;border-top:4px solid #0f766e;border-radius:10px;background:linear-gradient(180deg,#fff,#f8fbff);box-shadow:0 6px 16px #0f172a0d}.report-actions button{min-height:38px;border:1px solid #0f766e57;border-radius:9px;background:linear-gradient(180deg,#f0fdfa,#e6f7ff);color:#0f172a;padding:8px 13px;font-weight:800;box-shadow:0 1px 2px #0f172a0a}.report-actions button:hover{border-color:#0f766e;background:#dff8ef}.row-actions button,.movement-row button,.team-row button,.trial-plans button,.form-actions button:not(.primary),.batch-tabs button,.subnav a{min-height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:8px 12px;font-weight:700;box-shadow:0 1px 2px #0f172a0a}.row-actions button:hover,.movement-row button:hover,.team-row button:hover,.trial-plans button:hover,.form-actions button:not(.primary):hover,.batch-tabs button:hover,.subnav a:hover{border-color:#94a3b8;background:#f8fafc}.batch-tabs button.active,.subnav a.active{border-color:#99dcc4;background:#dff8ef;color:#0f766e}.breeding-page .heat-entry{border-color:#f4cc9a;background:linear-gradient(180deg,#fff,#fffbf5)}.breeding-page .board-view-options{border-color:#d8e2f0;background:linear-gradient(180deg,#fff,#f8fbff)}.main-board .board-column{--stage-accent:#475569;--stage-head:#e2e8f0;--stage-bg:#fff;background:#f8fafc;border-color:#cbd5e1}.main-board .stage-in_heat_next_3_days,.main-board .stage-due_for_service{--stage-accent:#b45309;--stage-head:#f8dec3;--stage-bg:#fffbf5}.main-board .stage-confirm_pregnancy{--stage-accent:#2563eb;--stage-head:#d4e5fb;--stage-bg:#f7faff}.main-board .stage-due_to_farrow_14_days,.main-board .stage-due_to_farrow_7_days{--stage-accent:#7c3aed;--stage-head:#e7dffb;--stage-bg:#faf8ff}.main-board .stage-farrowed_this_week{--stage-accent:#2f855a;--stage-head:#d3eeda;--stage-bg:#f7fcf8}.main-board .stage-due_to_wean{--stage-accent:#0f766e;--stage-head:#cdede8;--stage-bg:#f6fcfb}.main-board .board-column h2{align-items:center;margin:0 0 10px;padding:10px 11px;border:1px solid #cbd5e1;border-left:6px solid var(--stage-accent);border-radius:10px;background:var(--stage-head);color:#0f172a;font-weight:800;line-height:1.2}.main-board .board-column h2 span{padding:2px 8px;border:1px solid #0f172a1a;border-radius:999px;background:#ffffffbf;color:#0f172a;font-size:.75rem}.main-board .board-card{border:1px solid #d1d5db;border-left:4px solid var(--stage-accent);border-radius:12px;background:var(--stage-bg);box-shadow:0 3px 9px #0f172a0a}.main-board:not(.quick-list):not(.compact) .board-card{min-height:135px}.main-board .board-card button.primary{width:100%;min-height:38px;border-color:var(--stage-accent);background:var(--stage-head);color:var(--stage-accent);font-weight:800;box-shadow:none}.main-board .board-card button.primary:hover{background:#fff}.exception-board .board-column{border-color:#f3c9c9;background:#fff9f9}.exception-board .exception-card{border-left:5px solid #dc2626;background:#fffdfd}.breeding-page .panel{padding:22px}.breeding-page .heat-entry h2,.breeding-page .board-view-options h2{margin-bottom:14px}.breeding-page .breeding-utilities{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:stretch;gap:10px;margin-bottom:16px}.breeding-page .heat-entry{margin:0;padding:0;border-color:#f4cc9a;background:linear-gradient(180deg,#fff,#fffbf5)}.breeding-page .heat-entry summary,.breeding-page .board-view-options summary{display:flex;align-items:center;justify-content:space-between;min-height:48px;padding:13px 17px;cursor:pointer;list-style:none;color:#0f172a;font-size:.92rem;font-weight:800}.breeding-page .heat-entry summary::-webkit-details-marker,.breeding-page .board-view-options summary::-webkit-details-marker{display:none}.breeding-page .heat-entry summary:after,.breeding-page .board-view-options summary:after{content:"⌄";color:#64748b;font-size:1.1rem;transition:transform .15s ease}.breeding-page .heat-entry[open] summary:after,.breeding-page .board-view-options[open] summary:after{transform:rotate(180deg)}.breeding-page .heat-entry form{margin:0;padding:0 17px 17px}.breeding-page .breeding-utility-link{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 14px;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#0f172a;font-size:.88rem;font-weight:800;box-shadow:0 1px 2px #0f172a0a}.breeding-page .breeding-utility-link:hover{border-color:#0f766e;background:#f0fdfa;color:#115e59}.breeding-page .board-view-options{margin-bottom:16px;padding:0;border-left:4px solid #0f766e;background:linear-gradient(180deg,#fff,#f8fbff)}.breeding-page .board-view-options[open] summary{border-bottom:1px solid #e2e8f0}.breeding-page .board-view-options>.form-grid,.breeding-page .board-view-options>.form-actions{margin:16px 18px}.breeding-page .board-view-options>.form-actions{margin-top:0;padding-bottom:4px}.breeding-page .board-view-options{border-left:4px solid #0f766e}.breeding-page .board-grid{align-items:start}.breeding-page .board-column{padding:14px}.breeding-page .board-card{display:grid;gap:7px;min-width:0;padding:14px}.breeding-page .board-card strong{font-size:1rem;line-height:1.25;overflow-wrap:anywhere;color:#0f172a}.breeding-page .board-card .board-card-meta,.breeding-page .board-card .board-card-date{color:#64748b;font-size:.76rem;line-height:1.35}.breeding-page .board-card p{margin:2px 0;color:#334155;font-size:.86rem;line-height:1.4}.breeding-page .board-card .tag{justify-self:start;padding:4px 8px;border:1px solid #cbd5e1;border-radius:999px;background:#fff;color:#475569}.breeding-page .main-board.batch-mode .board-column{padding:10px}.breeding-page .main-board.batch-mode .board-card{display:flex;flex-wrap:wrap;align-items:center;gap:5px 12px;padding:8px 10px}.breeding-page .main-board.batch-mode .board-card>strong{flex:1 1 155px;font-size:.9rem}.breeding-page .main-board.batch-mode .board-card>.board-card-meta{flex:0 1 145px;margin:0}.breeding-page .main-board.batch-mode .board-card>p{flex:1 1 175px;margin:0;font-size:.8rem}.breeding-page .main-board.batch-mode .board-card>.board-card-date{flex:0 1 130px;margin:0}.breeding-page .main-board.batch-mode .board-card>.tag{padding:2px 6px;font-size:.6rem}.breeding-page .main-board.batch-mode .board-card>.checkbox{flex:0 0 auto;margin:0;font-size:.75rem}.breeding-page .main-board.batch-mode .board-card>button,.breeding-page .main-board.batch-mode .board-card>.breeding-card-action{min-height:34px;padding:5px 9px;font-size:.75rem}.breeding-page .main-board.batch-mode .board-card>button.primary{width:auto}.breeding-page .board-card button{min-height:40px;border:1px solid #cbd5e1;border-radius:9px;background:#fff;color:#334155;padding:8px 12px;font-size:.82rem;font-weight:750;box-shadow:0 1px 2px #0f172a0a;transition:background .15s,border-color .15s,transform .15s}.breeding-page .board-card button:hover:not(:disabled){border-color:#94a3b8;background:#f8fafc}.breeding-page .board-card button.primary{width:100%;min-height:42px;border-color:#9fcaab;background:#e7f4e8;color:#235c38;font-weight:800;box-shadow:0 2px 5px #235c3814}.breeding-page .board-card button.primary:hover:not(:disabled){border-color:#78b78b;background:#d5ead9}.breeding-page button:focus-visible,.breeding-page a:focus-visible{outline:3px solid #14b8a6;outline-offset:2px}.breeding-page .main-board.stage-focus .board-column,.breeding-page .main-board.stage-focus .board-card{padding:18px}.breeding-page .main-board.stage-focus .board-card strong{font-size:1.15rem}.breeding-page .exception-card{border-left:5px solid #dc2626}.breeding-page .exception-card a{color:#0f766e;font-size:.82rem;font-weight:750;text-decoration:underline;text-underline-offset:2px}.breeding-page .board-footer{padding-top:4px;border-top:1px solid #e2e8f0}@media(max-width:640px){.breeding-page .panel{padding:17px}.breeding-page .breeding-utilities{grid-template-columns:1fr;gap:8px}.breeding-page .heat-entry{padding:0}.breeding-page .heat-entry summary,.breeding-page .board-view-options summary{min-height:48px;padding:12px 14px}.breeding-page .heat-entry form{grid-template-columns:1fr;padding:0 14px 14px}.breeding-page .board-view-options>.form-grid,.breeding-page .board-view-options>.form-actions{margin:14px}.breeding-page .board-column{padding:12px}.breeding-page .board-card{padding:13px}.breeding-page .board-view-options .form-actions{display:grid;grid-template-columns:1fr;gap:10px}.breeding-page .board-view-options .checkbox{min-height:38px}.breeding-page .board-card button{min-height:44px}}.sales-page>.page-head{border-color:#a7f3d0;background:linear-gradient(135deg,#ecfdf5,#f8fafc 52%,#fef3c7)}.sales-page .split.wide-left{grid-template-columns:minmax(0,1fr)}.sales-history-panel{min-width:0;border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc)}.sales-filters{grid-template-columns:minmax(230px,2fr) repeat(3,minmax(145px,1fr))}.sales-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:18px 0}.sales-summary span{display:grid;gap:5px;min-width:0;padding:13px 15px;border:1px solid #bbf7d0;border-radius:14px;background:linear-gradient(180deg,#ecfdf5,#fff);color:#475569;font-size:.78rem;font-weight:700;box-shadow:0 6px 16px #0f172a0a}.sales-summary strong{display:block;margin:0;color:#0f172a;font-size:1.3rem;overflow-wrap:anywhere}.sales-history-panel>.record-list{max-height:min(64vh,680px);overflow:auto;border:2px solid #bbf7d0;border-radius:14px;background:#fff;box-shadow:0 10px 23px #1e293b14}.sales-history-panel>.record-list .record{padding:14px 16px;border-bottom-color:#d8eadf}.sales-history-panel>.record-list .record:nth-child(2n){background:#f8fafc}.sales-history-panel>.record-list .record strong{color:#065f46}.sales-page .split.wide-left>.panel:not(:first-child){border-color:#fde68a;background:linear-gradient(135deg,#fffaf0,#fff)}.sales-page .split.wide-left>.panel:not(:first-child) form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.sales-page .split.wide-left>.panel:not(:first-child) form>fieldset,.sales-page .split.wide-left>.panel:not(:first-child) form>label:has(textarea),.sales-page .split.wide-left>.panel:not(:first-child) form>.sale-estimate,.sales-page .split.wide-left>.panel:not(:first-child) form>.notice,.sales-page .split.wide-left>.panel:not(:first-child) form>.form-actions{grid-column:1/-1}.sales-page .split.wide-left>.panel:not(:first-child) form>.sale-estimate{margin:0;border:1px solid #bbf7d0;background:#ecfdf5;color:#065f46;font-weight:750}.sales-page .split.wide-left>.panel:not(:first-child) button.primary{border-color:#d97706;background:#f59e0b;box-shadow:0 8px 18px #d977062e}.sales-page .split.wide-left>.panel:not(:first-child) button.primary:hover{border-color:#b45309;background:#d97706}@media(max-width:1050px){.sales-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-filters label:first-child{grid-column:1/-1}.sales-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.sales-page .split.wide-left>.panel:not(:first-child) form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.sales-filters,.sales-summary,.sales-page .split.wide-left>.panel:not(:first-child) form{grid-template-columns:repeat(2,minmax(0,1fr))}.sales-filters label:first-child{grid-column:1/-1}.sales-filters label:not(:first-child),.sales-page .split.wide-left>.panel:not(:first-child) form>label{grid-column:1/-1}.sales-history-panel>.record-list{max-height:none}.sales-summary span{padding:11px}}.health-events-page>.page-head,.health-reminders-page>.page-head{border-color:#fecaca;background:linear-gradient(135deg,#fef2f2,#f8fafc 52%,#eff6ff)}.health-events-page>.page-head{padding:0;margin-bottom:8px;border:0;border-radius:0;background:none;box-shadow:none}.health-events-page>.page-head .eyebrow,.health-events-page>.page-head>p:last-child{display:none}.health-events-page>.page-head h1{font-size:2.25rem}.health-events-page>.page-head h1:before{content:"🏥 ";font-size:.88em}.health-active-farm{margin:0 0 34px;color:#6b7280;font-size:.86rem}.health-operations{padding:20px 16px 0;margin-bottom:30px;border:1px solid #fecaca;border-radius:18px;background:linear-gradient(120deg,#fef2f2,#f8fafc 55%,#eff6ff);box-shadow:0 12px 28px #0f172a0b}.health-operations h2{margin:0 0 6px;color:#0f172a;font-size:1.08rem}.health-operations>p{margin:0 0 18px;color:#40536c;font-size:.91rem;font-weight:650}.health-operations-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;align-items:start}.health-action{display:grid;gap:18px;min-width:0;text-align:center}.health-action>a,.health-action>span{display:grid;place-items:center;min-height:68px;width:100%;padding:8px 10px;border:1px solid var(--health-action-border);border-radius:14px;background:var(--health-action-color);color:var(--health-action-ink);font-size:.78rem;font-weight:750;line-height:1.2;text-decoration:none;box-shadow:0 3px 10px #0f172a0d}.health-action>a:hover{filter:brightness(.94);transform:translateY(-1px)}.health-action>a:focus-visible{outline:3px solid #0f766e;outline-offset:3px}.health-action>span{opacity:.52}.health-action small{min-height:55px;color:#40536c;font-size:.77rem;font-weight:650;line-height:1.25}.health-action-record{--health-action-color:#f8edd8;--health-action-ink:#5c431e;--health-action-border:#dcc6a2}.health-action-view{--health-action-color:#e9eef4;--health-action-ink:#294259;--health-action-border:#c7d5e3}.health-action-schedule{--health-action-color:#e8f1f8;--health-action-ink:#285173;--health-action-border:#c4d9e8}.health-action-reminders{--health-action-color:#e5f2f0;--health-action-ink:#245d56;--health-action-border:#bfddd8}.health-action-update{--health-action-color:#e7f1e9;--health-action-ink:#24533b;--health-action-border:#bfd9c5}.health-action-delete{--health-action-color:#f7e8e6;--health-action-ink:#793b36;--health-action-border:#e5c1bd}.health-action-lookup{--health-action-color:#efeaf5;--health-action-ink:#534168;--health-action-border:#d7c9e4}.health-operations-hint{padding:18px 16px;border-radius:8px;background:#e5f0ff;color:#005bb6;font-size:.9rem}.health-workspace[hidden]{display:none}.health-workspace-back{margin:0 0 16px}.health-workspace [id^=health-]{scroll-margin-top:18px}@media(max-width:1100px){.health-operations-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.health-action small{min-height:38px}}@media(max-width:640px){.health-events-page>.page-head h1{font-size:1.9rem}.health-active-farm{margin-bottom:24px}.health-operations{padding:17px 14px 6px}.health-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.health-action{gap:7px}.health-action>a,.health-action>span{min-height:58px}.health-action small{min-height:30px}}.health-events-page .subnav,.health-reminders-page .subnav{flex-wrap:wrap}.health-history-panel{min-width:0;border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc)}.health-events-page .split.wide-left>.health-history-panel:only-child,.health-reminders-page .split.wide-left>.panel:only-child{grid-column:1/-1}.health-history-panel .section-heading{align-items:start;flex-wrap:wrap}.health-history-panel .section-heading input{width:min(100%,330px)}.health-event-metrics{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}.health-event-metrics .metric,.health-reminders-page>.metrics .metric{min-width:0;padding:14px;border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff,#fff)}.health-event-metrics .metric span,.health-reminders-page>.metrics .metric span{display:block;color:#475569;font-size:.78rem}.health-event-metrics .metric strong,.health-reminders-page>.metrics .metric strong{font-size:1.4rem;color:#0f172a}.health-history-panel .record-list{max-height:min(65vh,720px);overflow:auto;border:2px solid #bfdbfe;border-radius:14px;background:#fff;box-shadow:0 10px 23px #1e293b14}.health-history-panel .record{padding:14px 16px;border-bottom-color:#dbe5f1}.health-history-panel .record:nth-child(2n){background:#f8fafc}.health-history-panel .record strong{color:#1e3a8a}.health-history-panel .record a{color:#0f766e;font-weight:800;text-decoration:underline}.health-events-page .split.wide-left>.panel:not(:first-child),.health-reminders-page .split.wide-left>.panel:not(:first-child){border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#fff)}.health-events-page .split.wide-left>.panel:not(:first-child) button.primary,.health-reminders-page .split.wide-left>.panel:not(:first-child) button.primary{border-color:#d97706;background:#f59e0b;box-shadow:0 8px 18px #d977062e}.health-events-page .split.wide-left>.panel:not(:first-child) button.primary:hover,.health-reminders-page .split.wide-left>.panel:not(:first-child) button.primary:hover{border-color:#b45309;background:#d97706}.health-reminders-page>.metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.reminder-follow-ups{display:grid;gap:8px;margin:12px 0!important;padding:12px!important;border:1px solid #d2e3d9!important;border-radius:11px;background:#f7fbf8}.reminder-follow-ups legend{margin-bottom:0!important;color:#214e41}.reminder-follow-ups>p{margin:0;font-size:.82rem}.reminder-follow-up-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(120px,1fr) auto;gap:7px;align-items:end;padding:9px;border:1px solid #dce8e0;border-radius:9px;background:#fff}.reminder-follow-up-row strong{grid-column:1/-1;font-size:.86rem}.reminder-follow-up-row label{min-width:0;margin:0}.reminder-follow-up-row input{width:100%}.reminder-follow-up-row button,.reminder-add-follow-up{min-height:40px;padding:7px 10px;border:1px solid #9fc6b7;border-radius:8px;background:#fff;color:#0d5f56;font-weight:700;cursor:pointer}.reminder-add-follow-up{justify-self:start;background:#e9f5ee}.reminder-add-follow-up:disabled{opacity:.55;cursor:not-allowed}.reminder-follow-ups>small{color:#536475}.reminder-mobile-actions{display:none}@media(max-width:1150px){.health-reminders-page>.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.health-event-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.health-reminders-page>.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.health-history-panel .section-heading input{width:100%}}@media(max-width:640px){.reminder-mobile-actions{display:flex;margin:0 0 12px}.reminder-mobile-actions button{width:100%}.health-reminders-page.reminder-task-list #reminder-create,.health-reminders-page.reminder-task-schedule .reminder-history-panel,.health-reminders-page.reminder-task-schedule>.metrics{display:none}}@media(max-width:640px){.reminder-follow-up-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.reminder-follow-up-row button{grid-column:1/-1}}.weights-page>.page-head{border-color:#fde68a;background:linear-gradient(135deg,#fefce8,#f8fafc 52%,#eff6ff)}.weights-page>.panel,.weight-register{margin-bottom:20px}.weights-page>.page-head{padding:0;margin-bottom:8px;border:0;border-radius:0;background:none;box-shadow:none}.weights-page>.page-head .eyebrow{display:none}.weights-page>.page-head>p:last-child{max-width:760px;margin:4px 0 0;color:#526477;font-size:.94rem;line-height:1.4}.weights-page>.page-head h1{font-size:2.25rem}.weights-page>.page-head h1:before{content:none}.weight-active-farm{margin:0 0 34px;color:#6b7280;font-size:.86rem}.weight-operations{padding:20px 16px 18px;margin-bottom:14px;border:1px solid #fcd34d;border-radius:18px;background:linear-gradient(120deg,#fefce8,#f8fafc 55%,#eff6ff);box-shadow:0 12px 28px #0f172a0b}.weight-operations h2{margin:0 0 6px;color:#0f172a;font-size:1.08rem}.weight-operations>p{margin:0 0 18px;color:#40536c;font-size:.91rem;font-weight:650}.weight-operations-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:16px;align-items:start}.weight-action{display:grid;gap:18px;min-width:0;text-align:center}.weight-action>a,.weight-action>span{display:grid;place-items:center;min-height:68px;width:100%;padding:8px 10px;border:1px solid #0f172a1a;border-radius:14px;background:var(--weight-action-color);color:#fff;font-size:.78rem;font-weight:750;line-height:1.2;text-decoration:none;box-shadow:0 8px 16px #0f172a14}.weight-action>a:hover{filter:brightness(.94);transform:translateY(-1px)}.weight-action>a:focus-visible{outline:3px solid #0f766e;outline-offset:3px}.weight-action>span{opacity:.52}.weight-action small{min-height:55px;color:#40536c;font-size:.77rem;font-weight:650;line-height:1.25}.weight-action-record{--weight-action-color:#f59e0b}.weight-action-view{--weight-action-color:#334155}.weight-action-update{--weight-action-color:#10b981}.weight-action-growth{--weight-action-color:#0ea5e9}.weight-action-delete{--weight-action-color:#ef4444}.weight-action-lookup{--weight-action-color:#8b5cf6}.weight-action-feed{--weight-action-color:#14b8a6}.weight-operations-hint{padding:18px 16px;border-radius:8px;background:#e5f0ff;color:#005bb6;font-size:.9rem}.weight-workspace[hidden]{display:none}.weight-workspace-back{margin:0 0 16px}.weight-workspace [id^=weight-]{scroll-margin-top:18px}.weight-operations-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.weight-operations-primary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.weight-operations-primary-grid .weight-action{gap:7px}.weight-operations-primary-grid .weight-action small{min-height:0}.weight-batch-route{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:18px;padding:13px 15px;border:1px solid #b8d5ca;border-radius:12px;background:#f5faf7}.weight-batch-route>div{display:grid;gap:3px;min-width:0}.weight-batch-route strong{color:#174b40;font-size:.92rem}.weight-batch-route span{color:#526477;font-size:.84rem;line-height:1.35}.weight-batch-route>a{flex:none;color:#11645a;font-size:.88rem;font-weight:800;text-decoration:underline;text-underline-offset:3px}.weight-workspace-record .split.wide-left{grid-template-columns:minmax(0,1fr)}.weight-workspace-lookup .weight-selectors,.weight-workspace-register .weight-selectors{display:none}@media(max-width:1100px){.weight-operations-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.weight-action small{min-height:38px}}@media(max-width:1100px){.weight-operations-primary-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:640px){.weights-page>.page-head h1{font-size:1.9rem}.weight-active-farm{margin-bottom:24px}.weight-operations{padding:17px 14px 14px}.weight-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.weight-action{gap:7px}.weight-action>a,.weight-action>span{min-height:58px}.weight-action small{min-height:30px}.weight-operations-primary-grid .weight-action:last-child{grid-column:1/-1}.weight-batch-route{align-items:flex-start;flex-direction:column;gap:8px}}.weight-register{min-width:0;border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc)}.weight-register>.metrics{grid-template-columns:repeat(2,minmax(0,220px));gap:12px;margin:16px 0}.weight-register>.metrics .metric{padding:14px 16px;border-color:#bfdbfe;background:linear-gradient(180deg,#eff6ff,#fff)}.weight-register>.metrics .metric strong{font-size:1.4rem;color:#0f172a}.weight-register>.form-grid{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(160px,1fr));margin-bottom:16px}.weight-register>.table-wrap{max-height:min(64vh,680px);overflow:auto;border:2px solid #bfdbfe;border-radius:14px;background:#fff;box-shadow:0 10px 23px #1e293b14}.weight-register>.table-wrap th{position:sticky;top:0;z-index:1;border-bottom:2px solid #93c5fd;background:#dbeafe;color:#0f172a;font-weight:800}.weight-register>.table-wrap tbody tr:nth-child(2n){background:#f8fafc}.weight-register>.table-wrap tbody tr:hover{background:#eff6ff}.weight-register>.table-wrap td a{color:#0f766e;font-weight:800;text-decoration:underline}.weight-register-mobile{display:none}.weight-register-card{display:grid;gap:8px;min-width:0;padding:14px;border:1px solid #bfdbfe;border-radius:12px;background:#fff;box-shadow:0 3px 10px #1e293b0a}.weight-register-card-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0}.weight-register-card-heading>h3{min-width:0;margin:0;overflow-wrap:anywhere;font-size:1rem}.weight-register-card-heading>h3>a{color:#0f766e}.weight-register-card-heading>span{flex:none;color:#475569;font-size:.78rem;text-align:right}.weight-register-card-category{margin:-5px 0 0;color:#475569;font-size:.82rem;text-transform:capitalize}.weight-register-card>p{margin:0;color:#334155;font-size:.9rem}.weight-register-card>p strong{color:#0f172a;font-size:1.15rem}.weight-register-card-status{color:#92400e;font-weight:700}.weight-register-card>button{min-height:44px;justify-self:stretch}.weight-register-actions{display:flex;flex-wrap:wrap;gap:7px}.weight-register-actions button{min-height:38px;white-space:nowrap}.weight-register-actions .weight-register-target{border:1px solid #2473a5;background:#e7f3fb;color:#124d73;font-weight:800}.weight-register-actions .weight-register-target:hover{background:#d3eaf9}.weight-register-card .weight-register-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.weight-register-card .weight-register-actions button{min-width:0;white-space:normal}.animal-weight-heading>a{display:inline-flex;align-items:center;min-height:40px;padding:8px 13px;border:1px solid #2473a5;border-radius:9px;background:#e7f3fb;color:#124d73;font-weight:800;text-decoration:none}.animal-weight-heading>a:hover{background:#d3eaf9}.weight-register>.row-actions{display:flex;align-items:center;gap:10px;margin-top:16px}.weight-register>.row-actions span{color:#475569;font-size:.85rem;font-weight:700}.weights-page #weight-history{border-color:#bfdbfe}.weights-page #weight-history .record strong{color:#1e3a8a}.weights-page #weight-history+.panel{border-color:#fde68a;background:linear-gradient(135deg,#fffdf3,#fff)}.weights-page #weight-history+.panel button.primary{border-color:#d97706;background:#f59e0b;box-shadow:0 8px 18px #d977062e}.weights-page #weight-history+.panel button.primary:hover{border-color:#b45309;background:#d97706}@media(max-width:900px){.weight-register>.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.weight-register>.form-grid label:first-child{grid-column:1/-1}}@media(max-width:640px){.weight-register>.metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.weight-register>.form-grid{grid-template-columns:1fr}.weight-register>.form-grid label:first-child{grid-column:auto}.weight-register>.weight-register-desktop{display:none}.weight-register-mobile{display:grid;gap:10px}.weight-register>.row-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.weight-register>.row-actions span{grid-column:1/-1;grid-row:2}.weight-register>.row-actions button:last-child{grid-column:2;grid-row:1}}.litters-page .split.wide-left{grid-template-columns:minmax(0,1fr)}.litter-operations{padding:20px 18px 18px;margin-bottom:18px;border:1px solid #bfdbfe;border-radius:18px;background:linear-gradient(120deg,#eff6ff,#f8fafc 55%,#ecfdf5);box-shadow:0 12px 28px #0f172a0b}.litter-operations h2{margin:0 0 6px;color:#0f172a;font-size:1.12rem}.litter-operations>p{margin:0 0 16px;color:#475569;font-weight:600}.litter-operations-grid{display:grid;grid-template-columns:repeat(2,minmax(0,220px));gap:12px;align-items:stretch}.litter-action{display:flex;flex-direction:column;justify-content:center;gap:7px;min-height:84px;padding:14px;border:1px solid #bfdbfe;border-radius:12px;background:#fff;color:#0f172a;text-align:left;box-shadow:0 5px 14px #1e293b0c}.litter-action:hover{border-color:#60a5fa;background:#f8fbff;transform:translateY(-1px)}.litter-action strong{font-size:.94rem}.litter-action small{color:#64748b;font-size:.79rem;line-height:1.35}.litter-action-record{border-color:#fdba74;background:#fff7ed}.litter-action-record:hover{border-color:#fb923c;background:#fffbf5}.litter-operations-hint{padding:15px 17px;border-radius:10px;background:#eaf2ff;color:#335477;font-size:.91rem}.litter-workspace{display:grid;gap:18px;margin-top:20px;scroll-margin-top:18px}.litter-workspace[hidden]{display:none}.litter-workspace-back{justify-self:start;border:0;background:none;color:#2563eb;padding:4px 0;font-weight:750}.litter-workspace-back:hover{text-decoration:underline}body :is(.farmer-back,.animal-workspace-back,.batch-workspace-back,.batch-animal-return,.litter-workspace-back,.weight-workspace-back,.health-workspace-back){display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;min-height:40px;margin:0 0 12px;padding:8px 12px;border:1px solid #93c5fd;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-size:.84rem;font-weight:750;line-height:1.25;text-decoration:none;white-space:normal;text-align:left;cursor:pointer}body :is(.farmer-back,.animal-workspace-back,.batch-workspace-back,.batch-animal-return,.litter-workspace-back,.weight-workspace-back,.health-workspace-back):hover{border-color:#60a5fa;background:#dbeafe;color:#1e40af;text-decoration:none}body :is(.farmer-back,.animal-workspace-back,.batch-workspace-back,.batch-animal-return,.litter-workspace-back,.weight-workspace-back,.health-workspace-back):focus-visible{outline:3px solid #2563eb;outline-offset:2px}.litter-register-panel{min-width:0;border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc)}.litter-entry-panel{min-width:0;border-color:#fed7aa;background:linear-gradient(135deg,#fff7ed,#f8fafc 55%,#eff6ff)}.litter-register-panel h2,.litter-entry-panel h2{margin-bottom:8px}.litter-register-panel>.form-actions{display:flex;align-items:end;flex-wrap:wrap;margin:0 0 16px}.litter-register-panel>.form-actions label{width:min(240px,100%)}.litter-metrics{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}.litter-metrics .metric{min-width:0;padding:13px 15px;border-color:#cbd5e1;background:linear-gradient(180deg,#fff,#f8fafc)}.litter-metrics .metric strong{margin-top:4px;color:#0f172a;font-size:1.35rem}.litter-metrics .metric span{font-size:.78rem;color:#475569}.litter-register-filters{grid-template-columns:minmax(220px,2fr) repeat(2,minmax(150px,1fr));margin-bottom:16px}.litter-register-table{max-height:min(64vh,680px);overflow:auto;border:2px solid #bfdbfe;border-radius:14px;background:#fff;box-shadow:0 10px 23px #1e293b14}.litter-register-table th{position:sticky;top:0;z-index:1;border-bottom:2px solid #93c5fd;background:#d9eafd;color:#0f172a;font-weight:800;letter-spacing:.03em}.litter-register-table tbody tr:nth-child(2n){background:#f8fafc}.litter-register-table tbody tr:hover{background:#eff6ff}.litter-register-panel>.form-actions:last-child{margin-top:16px}.litter-entry-panel form{grid-template-columns:repeat(3,minmax(0,1fr));align-items:end}.litter-entry-panel form>.form-grid,.litter-entry-panel form>.notice{grid-column:1/-1}.litter-entry-panel form>.checkbox{align-self:center}.litter-entry-panel form>.litter-record-submit{grid-column:1/-1;justify-self:start;min-height:46px;border-color:#d97706;background:#f59e0b;box-shadow:0 8px 18px #d977062e}.litter-entry-panel form>.litter-record-submit:hover{border-color:#b45309;background:#d97706}@media(max-width:900px){.litter-metrics{grid-template-columns:repeat(3,minmax(0,1fr))}.litter-entry-panel form{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:900px){.litter-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.litter-operations{padding:17px 14px 14px}.litter-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.litter-action{min-height:70px;padding:11px}.litter-action small{font-size:.75rem}.litter-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.litter-register-filters,.litter-entry-panel form{grid-template-columns:1fr}.litter-entry-panel form>.litter-record-submit{width:100%}.litter-register-panel>.form-actions:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:center}.litter-register-panel>.form-actions:last-child span{grid-column:1/-1;grid-row:2}.litter-register-panel>.form-actions:last-child button:last-child{grid-column:2;grid-row:1}}@media(max-width:900px){.sidebar{width:210px}.content{padding:24px}}@media(max-width:900px){.dashboard-hero-grid{grid-template-columns:1fr}}@media(max-width:640px){.sidebar{width:100%;padding:12px;display:grid;grid-template-columns:1fr auto;align-items:center}.brand{display:flex;padding:4px 4px 10px;margin:0;border:0}.mobile-menu-toggle{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:7px 12px;font-weight:700}.sidebar nav{display:none;grid-column:1/-1;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible;border-top:1px solid #cbd5e1;padding-top:10px}.sidebar nav.mobile-open{display:grid}.nav-heading{display:none}.sidebar nav a,.sidebar-tools summary{white-space:normal;min-height:36px;padding:7px 10px}.sidebar-tools{grid-column:1/-1;margin-top:0}.sidebar-tools-links{grid-template-columns:repeat(2,minmax(0,1fr));padding:8px 0 0}.sidebar-foot,.mobile-brand{display:none}.content{padding:20px 16px 60px}.page-head{padding:20px}.dashboard-hero{padding:17px}.dashboard-hero h1{font-size:2.1rem}.dashboard-hero-grid>div:first-child p{font-size:.95rem}}@media(max-width:640px){.sidebar nav .animal-nav-group{grid-column:1/-1}.sidebar nav a.animal-nav-batches{margin-left:16px;font-size:.9rem}}.mobile-header-actions{display:none}@media(max-width:640px){.mobile-header-actions{display:flex;align-items:center;gap:6px}.mobile-sign-out{min-height:44px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:7px 10px;font-weight:700;white-space:nowrap}.mobile-menu-toggle{min-height:44px}.sidebar .brand{min-width:0;gap:6px}.sidebar .brand-mark{flex:none;width:32px;height:32px;font-size:1.15rem}.sidebar .brand strong{font-size:.9rem}.sidebar .brand span{display:none}}@media(max-width:640px){.report-downloads,.report-export-actions{display:grid;grid-template-columns:1fr}.report-downloads button,.report-export-actions button{width:100%;text-align:left}}.sidebar-group-heading{grid-column:1/-1;margin:10px 8px 1px;color:#64748b;font-size:.69rem;font-weight:800;letter-spacing:.09em;text-transform:uppercase}.sidebar-group-heading:first-child{margin-top:2px}.sidebar-tools-links .sidebar-group-heading+a{margin-top:0}.row-actions a,.form-actions a:not(.primary),.report-export-actions a,.report-downloads a{display:inline-flex;align-items:center;justify-content:center;min-height:38px;border:1px solid #cbd5e1;border-radius:10px;background:#fff;color:#0f172a;padding:8px 12px;font-size:.88rem;font-weight:700;line-height:1.2;box-shadow:0 1px 2px #0f172a0a;text-decoration:none}.row-actions a:hover,.form-actions a:not(.primary):hover,.report-export-actions a:hover,.report-downloads a:hover{border-color:#94a3b8;background:#f8fafc;color:#0f172a}@media(max-width:640px){.sidebar-tools-links .sidebar-group-heading{margin-top:10px}.row-actions a{flex:1 1 auto}}.litter-cycle{margin:22px 0;padding-top:16px;border-top:1px solid #dbe4ef}.litter-cycle h3{margin:0 0 10px;color:#0f172a}.litter-cycle>p{margin:0 0 12px}.health-register-wrap{max-width:100%;overflow-x:auto;border:2px solid #bfdbfe;border-radius:14px;background:#fff;box-shadow:0 10px 23px #1e293b14}.health-register{min-width:650px;margin:0}.health-register thead th{position:sticky;top:0;z-index:1;background:#dbeafe;color:#0f172a;border-bottom:1px solid #93c5fd}.health-register tbody th,.health-register tbody td{padding:10px 12px;border-bottom:1px solid #e2e8f0;font-size:.88rem;white-space:nowrap}.health-register tbody tr:nth-child(2n){background:#f8fafc}.health-register tbody tr:hover,.health-register tbody tr.selected{background:#eff6ff}.health-register tbody tr.selected{box-shadow:inset 3px 0 #0f766e}.health-register-select{border:0;background:none;color:#0f766e;padding:3px 0;font-weight:800;text-decoration:underline;text-underline-offset:2px}.health-register-select:focus-visible{outline:3px solid #0f766e;outline-offset:3px;border-radius:3px}.health-register-empty{margin:12px 14px}.health-selected-detail,.health-batch-history{margin-top:22px;padding-top:18px;border-top:1px solid #dbe5f1}.health-selected-detail h3,.health-batch-history h3{margin:0 0 8px;color:#0f172a;font-size:1rem}.health-selected-detail>p{margin-bottom:12px}.health-selected-detail .record-list,.health-batch-history .record-list{max-height:min(44vh,480px);overflow:auto;border:1px solid #dbe5f1;border-radius:12px;background:#fff}.health-selected-detail .record,.health-batch-history .record{padding:12px 14px}.health-selected-detail .record:nth-child(2n),.health-batch-history .record:nth-child(2n){background:#f8fafc}@media(max-width:640px){.health-register{min-width:610px}.health-selected-detail .record-list,.health-batch-history .record-list{max-height:none}}@media(max-width:640px){input:not([type=checkbox]):not([type=radio]),select,textarea{font-size:16px}}.farms-page .farm-create-shortcut{display:none}.auth-logo{display:block;width:min(140px,100%);height:100px;object-fit:contain;object-position:center;margin:-4px auto 6px}.signup-plan-summary{display:grid;gap:5px;padding:12px 14px;border:1px solid #c9dfd1;border-radius:10px;background:#f3faf5;color:#18352f;font-size:.86rem;line-height:1.4}.signup-plan-summary span{font-weight:700;color:#236642}.signup-plan-summary small{font-size:.78rem;color:#536b60}.signup-plan-summary a{color:#136f63;font-weight:800;text-decoration:underline;text-underline-offset:2px}.sidebar .brand-mark{object-fit:cover;display:block;padding:0}@media(max-width:640px){.farms-page .farm-create-shortcut{display:inline-flex;align-items:center;margin:0 0 14px;padding:10px 14px;border:1px solid #99dcc4;border-radius:10px;background:#dff8ef;color:#0f766e;font-weight:800;text-decoration:none}.master-data-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.master-data-actions>button{min-width:0;width:100%;min-height:48px;white-space:normal;overflow-wrap:anywhere}.master-data-actions>button:last-child:nth-child(odd){grid-column:1/-1}}.form-grid>label,form>label{min-width:0}input[type=date],input[type=datetime-local],input[type=time]{min-width:0;max-width:100%}.sidebar .brand{display:flex;align-items:center;gap:9px;color:inherit;text-decoration:none}.sidebar .brand:hover strong{color:#0f766e}.sidebar-tools-links>.sidebar-tools-group{min-width:0}.sidebar-tools-group>summary{background:#eef4f4;border-color:#c5d8d3;font-size:.84rem}.sidebar-tools-group>div{display:grid;gap:5px;padding:6px 0 4px 8px}.sidebar nav>.sidebar-sign-out{display:none;min-height:39px;width:100%;border:1px solid #cbd5e1;border-radius:12px;background:#fff;color:#334155;text-align:left;padding:8px 12px;font-weight:700}.sidebar nav>.sidebar-sign-out:hover{background:#f8fafc}.sidebar-tools[open] .sidebar-tools-group:not([open])>summary:after{transform:none}.sidebar-tools-group[open]>summary:after{transform:rotate(180deg)}.dashboard-shortcuts{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:10px}.dashboard-shortcut{display:flex;width:100%;min-height:54px;text-align:center;border-width:2px;box-shadow:0 5px 12px #0f172a19;text-decoration:none}.dashboard-shortcut:focus-visible{outline:3px solid #0f766e;outline-offset:3px}.animal-task-group .animal-primary-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.animal-task-group .animal-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr));margin-top:10px}.animal-task-group .animal-action small,.animal-specialist-grid .animal-action small{color:#64748b;font-size:.72rem;font-weight:500;line-height:1.2}.animal-batches-menu>summary,.animal-specialist-actions>summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:54px;padding:12px 16px;border:1px solid #c7d5d7;border-radius:13px;background:linear-gradient(100deg,#eff5f4,#f8fafc);color:#164e47;cursor:pointer;list-style:none}.animal-batches-menu>summary::-webkit-details-marker,.animal-specialist-actions>summary::-webkit-details-marker{display:none}.animal-batches-menu>summary:after,.animal-specialist-actions>summary:after{content:"⌄";color:#64748b;font-size:1.1rem}.animal-batches-menu[open]>summary:after,.animal-specialist-actions[open]>summary:after{transform:rotate(180deg)}.animal-specialist-actions{margin-top:12px;padding-top:0;border-top:0}.animal-specialist-actions>summary small,.animal-batches-menu>summary span{color:#64748b;font-size:.73rem;font-weight:500}.health-operations-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.health-action{gap:6px}.health-action small{min-height:0;color:#64748b;font-size:.71rem;font-weight:500;line-height:1.2}.health-operations{padding-bottom:14px}.health-selected-detail{scroll-margin-top:16px}.health-events-page .record[id^=health-event-]{scroll-margin-top:20px}.farm-optional-setup{margin:8px 0;padding:12px;border:1px solid #d7e3dc;border-radius:12px;background:#f8fbf9}.farm-optional-setup>summary{cursor:pointer;color:#0d6257;font-weight:750}.farm-optional-setup label{display:grid;gap:5px;margin-top:10px}.farm-next-steps{display:grid;gap:7px;margin:12px 0;padding:13px;border:1px solid #b6dfcb;border-radius:12px;background:#f0faf3}.farm-next-steps a{color:#0f766e;font-weight:750}@media(max-width:900px){.dashboard-shortcuts,.health-operations-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:640px){.sidebar{grid-template-columns:minmax(0,1fr) auto}.sidebar nav{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar nav .sidebar-tools{grid-column:1/-1}.sidebar nav>.sidebar-sign-out{display:block;grid-column:1/-1;text-align:center}.sidebar-tools-links{display:grid;grid-template-columns:1fr}.sidebar-tools-group>div{grid-template-columns:repeat(2,minmax(0,1fr))}.mobile-back{min-height:44px;padding:7px 10px;border:1px solid #93c5fd;border-radius:10px;background:#eff6ff;color:#1d4ed8;font-weight:750;white-space:nowrap}.sidebar .brand strong{font-size:.84rem}.dashboard-shortcuts{grid-template-columns:repeat(2,minmax(0,1fr))}.dashboard-shortcut{min-height:52px;padding:8px;font-size:.83rem}.animal-task-group .animal-primary-grid,.animal-task-group .animal-secondary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-task-group .animal-action>a,.animal-task-group .animal-action>button,.animal-task-group .animal-action>span{min-height:58px}.animal-batches-menu>summary,.animal-specialist-actions>summary{flex-direction:row;align-items:center}.animal-batches-menu>summary span,.animal-specialist-actions>summary small{display:none}.health-action small{min-height:0;font-size:.68rem;line-height:1.18}.health-operations-grid{gap:11px}}.animals-page .page-head{padding:25px 28px;margin-bottom:20px;border:1px solid #dbe6e5;border-radius:18px;background:linear-gradient(115deg,#ecfdf5,#f8fafc 55%,#fef3c7);box-shadow:0 8px 22px #0f172a0a}.animals-page .page-head .eyebrow{display:block}.animals-page .page-head h1{font-size:clamp(1.65rem,2.5vw,2.2rem)}.animals-page .animal-operations{padding:20px;margin-bottom:22px;border:1px solid #a7d8c1;border-radius:18px;background:linear-gradient(115deg,#ecfdf5,#f8fafc 52%,#fef3c7);box-shadow:0 8px 22px #0f172a0a}.animals-page .animal-operations h2{font-size:1.16rem}.animals-page .animal-operations>p{margin-bottom:15px;color:#475569;font-size:.85rem;font-weight:550}.animals-page .animal-task-group{padding:16px;border:1px solid #dbe5e1;border-radius:14px;background:#fff;box-shadow:0 2px 8px #0f172a08}.animals-page .animal-task-group h3{color:#173a35;font-size:.98rem}.animals-page .animal-task-group>p{color:#5b697b;font-size:.8rem}.animals-page .animal-action{gap:6px}.animals-page .animal-action>:is(a,button,span),.animals-page .animal-primary-grid .animal-action-hub>a{min-height:64px;padding:10px 12px;border:1px solid var(--animal-card-border,#c7d5e3);border-radius:11px;background:var(--animal-card-bg,#e9eef4);color:var(--animal-card-ink,#294259);font-size:.84rem;font-weight:800;box-shadow:0 1px 3px #0f172a0d;line-height:1.2;transition:filter .15s ease,box-shadow .15s ease,transform .15s ease}.animals-page .animal-primary-grid .animal-action-hub>a{width:100%;max-width:none;aspect-ratio:auto;margin:0}.animals-page .animal-action>:is(a,button):hover{filter:brightness(.97);box-shadow:0 7px 15px #0f172a17}.animals-page .animal-action>span{opacity:.65}.animals-page .animal-action small{color:#617084;font-size:.72rem;font-weight:500;line-height:1.2}.animals-page .animal-action-hub,.animals-page .animal-action-batch-view{--animal-card-bg:#e9eef4;--animal-card-border:#c7d5e3;--animal-card-ink:#294259}.animals-page .animal-action-add,.animals-page .animal-action-receive,.animals-page .animal-action-update{--animal-card-bg:#e7f1e9;--animal-card-border:#bfd9c5;--animal-card-ink:#24533b}.animals-page .animal-action-scan,.animals-page .animal-action-count-batches{--animal-card-bg:#e7f2ef;--animal-card-border:#bdd8d0;--animal-card-ink:#24584f}.animals-page .animal-action-assign,.animals-page .animal-action-batch-entry{--animal-card-bg:#f8edd8;--animal-card-border:#dcc6a2;--animal-card-ink:#5c431e}.animals-page .animal-action-import,.animals-page .animal-action-detail{--animal-card-bg:#efeaf5;--animal-card-border:#d7c9e4;--animal-card-ink:#534168}.animals-page .animal-action-manage{--animal-card-bg:#f7e8e6;--animal-card-border:#e5c1bd;--animal-card-ink:#793b36}.animals-page .animal-batches-menu{border:1px solid #dbe5e1;border-radius:14px;background:#fff;box-shadow:0 2px 8px #0f172a08}.animals-page .animal-batches-menu>summary,.animals-page .animal-specialist-actions>summary{border-color:#cbd5e1;border-radius:11px;background:linear-gradient(105deg,#e9f2ee,#f8fafc 60%,#fff);color:#25483f;font-size:.9rem}.animals-page .animal-batches-menu[open]>summary{border-bottom:1px solid #cbd5e1}.animals-page .animal-batches-groups{padding:12px}@media(max-width:640px){.animals-page .page-head{padding:18px}.animals-page .animal-operations{padding:15px}.animals-page .animal-task-group{padding:12px}.animals-page .animal-action>:is(a,button,span),.animals-page .animal-primary-grid .animal-action-hub>a{min-height:56px;padding:8px;font-size:.8rem}.animals-page .animal-action small{font-size:.68rem}}.dashboard-hero{padding:25px 28px;border:1px solid #c9dfd4;border-radius:18px;background:linear-gradient(115deg,#ecfdf5,#f8fafc 52%,#fef3c7);box-shadow:0 8px 22px #0f172a0a}.dashboard-hero h1{font-size:clamp(1.65rem,2.5vw,2.2rem)}.dashboard-shortcut{min-height:54px;border:1px solid var(--shortcut-border);border-radius:11px;background:var(--shortcut-bg);color:var(--shortcut-ink);font-size:.88rem;font-weight:800;box-shadow:0 2px 6px #0f172a10}.dashboard-shortcut:hover{color:var(--shortcut-ink);filter:brightness(.96);box-shadow:0 7px 16px #0f172a17}.dashboard-shortcut.breeding{--shortcut-bg:#f4dcc9;--shortcut-border:#e4b88f;--shortcut-ink:#6d3c00}.dashboard-shortcut.animals{--shortcut-bg:#d9edf8;--shortcut-border:#acd3e8;--shortcut-ink:#1d4f73}.dashboard-shortcut.litters{--shortcut-bg:#fff0d5;--shortcut-border:#e7c681;--shortcut-ink:#704900}.dashboard-shortcut.batches{--shortcut-bg:#e5f0df;--shortcut-border:#bfd6b6;--shortcut-ink:#2f5b2e}.dashboard-shortcut.feed{--shortcut-bg:#e6f1e2;--shortcut-border:#bad5b2;--shortcut-ink:#315d32}.dashboard-shortcut.health{--shortcut-bg:#f7e5ee;--shortcut-border:#e8bdd1;--shortcut-ink:#7a3456}.dashboard-shortcut.sales{--shortcut-bg:#e8e5f7;--shortcut-border:#c8bee8;--shortcut-ink:#4f3d78}.weights-page>.page-head,.health-events-page>.page-head{padding:25px 28px;margin-bottom:18px;border:1px solid #d4e3db;border-radius:18px;background:linear-gradient(115deg,#ecfdf5,#f8fafc 52%,#fef3c7);box-shadow:0 8px 22px #0f172a0a}.weights-page>.page-head .eyebrow,.health-events-page>.page-head .eyebrow,.health-events-page>.page-head>p:last-child{display:block}.weights-page>.page-head h1,.health-events-page>.page-head h1{font-size:clamp(1.65rem,2.5vw,2.2rem)}.health-events-page>.page-head h1:before{content:none}.weights-page>.page-head>p:last-child,.health-events-page>.page-head>p:last-child{max-width:760px;margin:4px 0 0;color:#475569;font-size:.9rem;line-height:1.4}.weights-page .weight-active-farm,.health-events-page .health-active-farm{width:fit-content;margin:0 0 17px;padding:5px 10px;border:1px solid #cbded7;border-radius:999px;background:#f4faf7;color:#335b51;font-size:.76rem;font-weight:700}.weights-page .weight-operations,.health-events-page .health-operations{padding:20px;margin-bottom:18px;border:1px solid #a7d8c1;border-radius:18px;background:linear-gradient(115deg,#ecfdf5,#f8fafc 52%,#fef3c7);box-shadow:0 8px 22px #0f172a0a}.weights-page .weight-operations>p,.health-events-page .health-operations>p{margin-bottom:15px;color:#475569;font-size:.85rem;font-weight:550}.weights-page .weight-action,.health-events-page .health-action{gap:6px}.weights-page .weight-action>:is(a,span),.health-events-page .health-action>:is(a,span){min-height:64px;padding:10px 12px;border:1px solid var(--weight-card-border,var(--health-action-border));border-radius:11px;background:var(--weight-card-bg,var(--health-action-color));color:var(--weight-card-ink,var(--health-action-ink));font-size:.84rem;font-weight:800;line-height:1.2;box-shadow:0 1px 3px #0f172a0d;transition:filter .15s ease,box-shadow .15s ease,transform .15s ease}.weights-page .weight-action>a:hover,.health-events-page .health-action>a:hover{filter:brightness(.97);box-shadow:0 7px 15px #0f172a17}.weights-page .weight-action small,.health-events-page .health-action small{min-height:0;color:#617084;font-size:.72rem;font-weight:500;line-height:1.2}.weights-page .weight-action-record{--weight-card-bg:#f8edd8;--weight-card-border:#dcc6a2;--weight-card-ink:#5c431e}.weights-page .weight-action-view{--weight-card-bg:#e9eef4;--weight-card-border:#c7d5e3;--weight-card-ink:#294259}.weights-page .weight-action-growth,.weights-page .weight-action-update{--weight-card-bg:#e7f1e9;--weight-card-border:#bfd9c5;--weight-card-ink:#24533b}.weights-page .weight-action-delete{--weight-card-bg:#f7e8e6;--weight-card-border:#e5c1bd;--weight-card-ink:#793b36}.weights-page .weight-action-lookup{--weight-card-bg:#efeaf5;--weight-card-border:#d7c9e4;--weight-card-ink:#534168}.weights-page .weight-action-feed{--weight-card-bg:#e7f2ef;--weight-card-border:#bdd8d0;--weight-card-ink:#24584f}.weights-page .weight-other-actions nav{background:#fff;border-color:#dbe5e1}.weights-page .weight-other-actions .weight-action>:is(a,span){background:var(--weight-card-bg);border-color:var(--weight-card-border);color:var(--weight-card-ink)}@media(max-width:640px){.dashboard-hero,.weights-page>.page-head,.health-events-page>.page-head{padding:18px}.dashboard-hero h1,.weights-page>.page-head h1,.health-events-page>.page-head h1{font-size:clamp(1.65rem,6vw,2rem)}.weights-page .weight-operations,.health-events-page .health-operations{padding:15px}.weights-page .weight-action>:is(a,span),.health-events-page .health-action>:is(a,span){min-height:56px;padding:8px;font-size:.8rem}.weights-page .weight-action small,.health-events-page .health-action small{font-size:.68rem}}.dashboard-hero{position:relative;overflow:hidden;padding:29px 34px;border-color:#a8d0b9;background:linear-gradient(110deg,#d9efe3,#edf8f0 52%,#ffebbd);box-shadow:0 12px 28px #205a3a20,inset 0 1px #ffffffb3}.dashboard-hero:before{content:"";position:absolute;inset:14px auto 14px 0;width:5px;border-radius:0 5px 5px 0;background:linear-gradient(#168356,#d7a93a)}.dashboard-hero .eyebrow{color:#276c4c}.dashboard-hero h1{font-size:clamp(1.8rem,2.7vw,2.35rem)}.dashboard-hero-focus{border-color:#cbd9ce;background:#ffffffeb;box-shadow:0 4px 14px #234a3420}.auth-password-control{position:relative;min-width:0}.auth-password-control input{padding-right:75px}.auth-password-control button{position:absolute;top:50%;right:5px;transform:translateY(-50%);min-width:60px;min-height:36px;padding:5px 8px;border:0;border-radius:7px;background:#e9f2ed;color:#1e6246;font-size:.83rem;font-weight:750}.auth-password-control button:hover{background:#d9eadd}.auth-password-control button:focus-visible{outline:3px solid #478e68;outline-offset:2px}@media(min-width:901px){.batches-page>.page-head>p:not(.eyebrow){max-width:700px;line-height:1.45}.batches-page>.page-head>p.muted{margin-top:7px;font-size:.83rem}.batches-page .batch-operations>p{display:none}}@media(max-width:640px){.dashboard-hero{padding:19px 20px}.dashboard-hero:before{inset:14px auto 14px 0;width:4px}.dashboard-hero h1{font-size:clamp(1.65rem,6vw,2rem)}}.animals-page>.page-head{border-color:#bcd2e4;background:linear-gradient(112deg,#e5f0fa,#f2faf6 53%,#fff0df)}.breeding-page>.page-head{border-color:#d7cbe5;background:linear-gradient(112deg,#f3eaf5,#f3f6fc 53%,#fff0dd)}.batches-page>.page-head{border-color:#b9d8d3;background:linear-gradient(112deg,#e4f3ef,#f3f8fb 53%,#f7edf4)}.litters-page>.page-head{border-color:#eacbb1;background:linear-gradient(112deg,#fff0db,#faf7ed 53%,#edf2fb)}.sales-page>.page-head{border-color:#bfdac7;background:linear-gradient(112deg,#e7f4e8,#f5f8f3 53%,#f4ecf9)}.weights-page>.page-head{border-color:#e2cdb3;background:linear-gradient(112deg,#f8ebd9,#f9f8f2 53%,#e8f0fb)}.health-events-page>.page-head,.health-reminders-page>.page-head{border-color:#b8d9d9;background:linear-gradient(112deg,#e5f3f3,#f2f8f7 53%,#efedfa)}.farm-setup-page>.page-head{border-color:#cbd3e7;background:linear-gradient(112deg,#e9effa,#f8f7fb 53%,#e9f5ef)}.account-admin-page>.page-head{border-color:#d2dae1;background:linear-gradient(112deg,#edf2f5,#f8fafc 53%,#edf4e8)}.dashboard-hero{border-color:#d9bd91;background:radial-gradient(circle at top right,#f59e0b57,transparent 24%),radial-gradient(circle at bottom left,#10b98138,transparent 30%),linear-gradient(135deg,#fff1bf,#eef7ff 42%,#e6f8ef);box-shadow:0 16px 34px #0f233a1f,inset 0 1px #ffffffb3}.dashboard-hero:before{content:none}.dashboard-hero .dashboard-kicker{display:inline-block;max-width:100%;width:fit-content;margin-bottom:10px;padding:5px 11px;border-radius:999px;background:linear-gradient(135deg,#e69a19,#e77834);color:#fff;font-size:.76rem;font-weight:800;overflow-wrap:anywhere;box-shadow:0 5px 12px #c8732540}.dashboard-hero-focus{border-color:#e6d2b8}.breeding-page>.page-head{border-color:#aecbd4;background:linear-gradient(112deg,#deedf3,#e9f3f4 53%,#eff7f1)}@media(min-width:769px){.animal-assign-batch-dialog{width:min(920px,calc(100vw - 40px));max-width:920px}.animal-batch-entry-dialog .animal-batch-entry-panel{padding:24px;border-color:#d5e3d8;background:linear-gradient(180deg,#fff,#fbfdfb)}.animal-batch-entry-dialog .section-heading{padding-bottom:14px;border-bottom:1px solid #dce7df}.animal-batch-entry-dialog .section-heading h2{margin:0;color:#173f35;letter-spacing:-.025em}.animal-batch-entry-form{display:block}.animal-batch-entry-form>fieldset{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px 20px;padding:20px!important;border:1px solid #dfe9e3!important;border-radius:15px;background:#f8fbf9}.animal-batch-entry-form>fieldset>label:has(textarea){grid-column:1 / -1}.animal-batch-entry-form>fieldset>.check-row{grid-column:1 / -1;padding:10px 13px;border:1px solid #dfe9e3;border-radius:10px;background:#fff}.animal-batch-entry-form>.primary{margin-top:16px;min-height:48px}.animal-assign-batch-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 20px;padding:20px;border:1px solid #dfe9e3;border-radius:15px;background:#f8fbf9}.animal-assign-batch-form>label:first-child,.animal-assign-batch-form>.animal-assign-batch-picker,.animal-assign-batch-form>p,.animal-assign-batch-form>.form-actions{grid-column:1 / -1}.animal-assign-batch-picker{margin:0;padding:0;border:0}.animal-assign-batch-picker>summary{min-height:48px;border-radius:10px}.animal-assign-batch-list{grid-template-columns:repeat(2,minmax(0,1fr))}.animal-assign-batch-list legend,.animal-assign-batch-list>p{grid-column:1 / -1}.breeding-page .heat-entry form>fieldset>label,.batches-page #batch-receive form>fieldset>label,.animal-batch-entry-form>fieldset>label,.animal-assign-batch-form>label,.health-workspace-record #health-record form>label,.sales-page .sales-entry form>label{min-width:0;gap:7px;color:#315148;font-size:.82rem;font-weight:750}.breeding-page .heat-entry form>fieldset input:not([type=checkbox]),.breeding-page .heat-entry form>fieldset select,.breeding-page .heat-entry form>fieldset textarea,.batches-page #batch-receive form>fieldset input:not([type=checkbox]),.batches-page #batch-receive form>fieldset select,.batches-page #batch-receive form>fieldset textarea,.animal-batch-entry-form>fieldset input:not([type=checkbox]),.animal-batch-entry-form>fieldset select,.animal-batch-entry-form>fieldset textarea,.animal-assign-batch-form input:not([type=checkbox]),.animal-assign-batch-form select,.health-workspace-record #health-record form input:not([type=checkbox]):not([type=radio]),.health-workspace-record #health-record form select,.health-workspace-record #health-record form textarea,.sales-page .sales-entry form input:not([type=checkbox]),.sales-page .sales-entry form select,.sales-page .sales-entry form textarea{width:100%;min-width:0;max-width:100%;min-height:48px;padding:11px 13px;border:1px solid #cddbd0;border-radius:11px;background-color:#fff;color:#193a32;box-shadow:0 1px 2px #18352f09}.breeding-page .heat-entry form>fieldset select,.batches-page #batch-receive form>fieldset select,.animal-batch-entry-form>fieldset select,.animal-assign-batch-form select,.health-workspace-record #health-record form select,.sales-page .sales-entry form select{appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'%3E%3Cpath d='m4 6 4 4 4-4' stroke='%235b786d' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 13px center}.breeding-page .heat-entry form>fieldset textarea,.batches-page #batch-receive form>fieldset textarea,.animal-batch-entry-form>fieldset textarea,.health-workspace-record #health-record form textarea,.sales-page .sales-entry form textarea{min-height:76px}.breeding-page .heat-entry form>fieldset :is(input,select,textarea):focus-visible,.batches-page #batch-receive form>fieldset :is(input,select,textarea):focus-visible,.animal-batch-entry-dialog :is(input,select,textarea):focus-visible,.health-workspace-record #health-record :is(input,select,textarea):focus-visible,.sales-page .sales-entry :is(input,select,textarea):focus-visible{outline:none;border-color:#398960;box-shadow:0 0 0 4px #5da06f29}}
