*,:after,:before{box-sizing:border-box;margin:0;padding:0}:root{--cream:#f3f6f1;--parchment:#dfe7dd;--bark:#4f6f52;--bark-dark:#22352a;--bark-light:#8ca98a;--moss:#2f7d4c;--moss-light:#6da76d;--slate:#344054;--slate-light:#667085;--rust:#b54735;--rust-light:#f2b8ad;--sky:#2f6f9f;--line:#d7e0d5;--surface:#f8faf7;--shadow:#18271e17;--radius:8px;--radius-lg:8px}#root,body,html{min-height:100%}body{font-family:Source Sans\ 3,sans-serif;font-size:15px;line-height:1.55;overflow-x:hidden}button,input,select,textarea{font:inherit}h1,h2,h3,h4{color:#173f35;color:var(--bark-dark);font-family:Playfair Display,serif;letter-spacing:0}.app-shell{display:flex;height:100dvh;min-height:100vh;overflow:hidden}.sidebar{background:#173f35;background:var(--bark-dark);display:flex;flex-direction:column;min-width:220px;overflow-y:auto;width:220px}.sidebar-logo{border-bottom:1px solid #ffffff1f;padding:24px 20px 16px}.sidebar-logo h1{color:#f4f6f2;color:var(--cream);font-size:20px;line-height:1.15}.sidebar-logo span{display:block;font-size:28px;margin-bottom:4px}.sidebar-nav{flex:1 1;padding:12px 0}.nav-item{align-items:center;background:#0000;border-left:3px solid #0000;color:#ffffffbd;cursor:pointer;display:flex;font-size:14px;font-weight:600;gap:10px;padding:11px 20px;text-align:left;transition:background .15s,color .15s,border-color .15s;width:100%}.nav-item:hover{background:#ffffff14}.nav-item.active{background:#ffffff21;border-left-color:#63a486;border-left-color:var(--moss-light)}.nav-item .icon{font-size:18px;text-align:center;width:22px}.main-content{background:linear-gradient(180deg,#f7faf6,#f4f6f2);background:linear-gradient(180deg,#f7faf6 0,var(--cream) 100%);flex:1 1;min-width:0;overflow-y:auto}.top-search{background:linear-gradient(180deg,#f7faf6 78%,#f7faf600);margin:0 auto;max-width:1180px;padding:16px 36px 0;position:-webkit-sticky;position:sticky;top:0;width:100%;z-index:45}.live-sheep-search{margin-left:auto;position:relative;width:min(100%,420px)}.live-search-results{background:#fff;background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);box-shadow:0 18px 42px #18271e29;overflow:hidden;position:absolute;right:0;top:calc(100% + 6px);width:100%;z-index:100}.live-search-results button{grid-gap:2px;background:#0000;border:0;border-bottom:1px solid #dfe5df;border-bottom:1px solid var(--line);color:#27332f;color:var(--slate);cursor:pointer;display:grid;gap:2px;padding:10px 12px;text-align:left;width:100%}.live-search-results button:last-child{border-bottom:0}.live-search-results button:hover{background:#f1f5ef}.live-search-results strong{color:#173f35;color:var(--bark-dark);font-size:14px}.live-search-empty,.live-search-results span{color:#69766f;color:var(--slate-light);font-size:13px}.live-search-empty{padding:12px}.page{margin:0 auto;max-width:1180px;padding:32px 36px;width:100%}.page-header{align-items:flex-start;display:flex;gap:20px;justify-content:space-between}.page-title{font-size:30px;line-height:1.12}.page-subtitle{color:#69766f;color:var(--slate-light);font-family:Source Sans\ 3,sans-serif;font-weight:500;margin-top:4px}.profile-actions,.profile-title-row{align-items:center;display:flex;flex-wrap:wrap;gap:10px}.card{background:#fff;background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:18px;border-radius:var(--radius-lg);box-shadow:0 1px 3px #18382e14;box-shadow:0 1px 3px var(--shadow)}.card-sm{padding:16px}.stat-grid{grid-gap:14px;display:grid;gap:14px;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));margin-bottom:28px}.stat-card{background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);box-shadow:0 1px 3px #18382e14;box-shadow:0 1px 3px var(--shadow);min-height:104px;padding:16px 18px}.stat-card .stat-value{color:var(--bark-dark);font-family:Playfair Display,serif;font-size:34px;line-height:1;overflow-wrap:anywhere}.stat-card .stat-label{color:#69766f;color:var(--slate-light);font-size:12px;font-weight:700;letter-spacing:.05em;margin-top:6px;text-transform:uppercase}.stat-card.alert .stat-value{color:#b3483e;color:var(--rust)}.stat-card.success .stat-value{color:#247a5a;color:var(--moss)}.summary-stats{display:flex;flex-wrap:wrap;gap:16px}.summary-stats .stat-card{flex:1 1;min-width:140px}.btn{align-items:center;border:1px solid #0000;border-radius:12px;border-radius:var(--radius);cursor:pointer;display:inline-flex;font-size:14px;gap:6px;justify-content:center;min-height:40px;padding:8px 16px;text-decoration:none;transition:background .15s,border-color .15s,color .15s,transform .15s;white-space:nowrap}.btn:disabled{cursor:not-allowed;opacity:.65;transform:none}.btn:focus-visible,.nav-item:focus-visible,.tab:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #2f6f9f38;outline-offset:2px}.btn-primary{background:#247a5a;background:var(--moss);border-color:#247a5a;border-color:var(--moss);color:#fff}.btn-primary:hover{background:#276941;border-color:#276941}.btn-secondary{background:#edf4eb;border-color:#94aa9e;border-color:var(--bark-light);color:#173f35;color:var(--bark-dark)}.btn-secondary:hover{background:#315e51;background:var(--bark);border-color:#315e51;border-color:var(--bark);color:#fff}.btn-danger{background:#fff4f2;border-color:#efc4be;border-color:var(--rust-light);color:#b3483e;color:var(--rust)}.btn-danger:hover{background:#b3483e;background:var(--rust);border-color:#b3483e;border-color:var(--rust);color:#fff}.btn-ghost{background:#0000;border-color:#0000;color:#69766f;color:var(--slate-light)}.btn-ghost:hover{background:#edf4eb;color:#173f35;color:var(--bark-dark)}.btn-sm{font-size:13px;min-height:32px;padding:5px 12px}.btn-icon{height:36px;min-width:36px;padding:0;width:36px}.btn-sm.btn-icon{height:32px;min-width:32px;width:32px}.table-wrap{-webkit-overflow-scrolling:touch;overflow-x:auto;width:100%}table{border-collapse:collapse;min-width:680px;width:100%}thead tr{border-bottom:2px solid #dfe5df;border-bottom:2px solid var(--line)}tbody tr{border-bottom:1px solid #dfe5df;border-bottom:1px solid var(--line);transition:background .1s}tbody tr:hover{background:#f0f6ef;cursor:pointer}tbody tr:last-child{border-bottom:none}th{color:#69766f;color:var(--slate-light);font-family:Source Sans\ 3,sans-serif;font-size:12px;font-weight:700;letter-spacing:.06em;padding:10px 14px;text-align:left;text-transform:uppercase;white-space:nowrap}td{font-size:14px;overflow-wrap:anywhere;padding:12px 14px;vertical-align:middle}.badge{align-items:center;border-radius:999px;display:inline-flex;font-size:12px;font-weight:700;min-height:24px;padding:3px 10px;text-transform:capitalize;white-space:nowrap}.badge-active{background:#e6f4ea;color:#247a5a;color:var(--moss)}.badge-sold{background:#e8f1fb;color:#397596;color:var(--sky)}.badge-deceased{background:#eef0f3;color:#6b7280}.badge-ewe{background:#fce7f3;color:#a0448a}.badge-ram{background:#e8f1fb;color:#397596;color:var(--sky)}.badge-wether{background:#fff4da;color:#9a6700}.badge-expense{background:#fff4f2;color:#b3483e;color:var(--rust)}.badge-income{background:#e6f4ea;color:#247a5a;color:var(--moss)}.form-grid{grid-gap:16px;display:grid;gap:16px}.form-grid-2{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.form-grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.field{display:flex;flex-direction:column;gap:6px}.field label{color:#173f35;color:var(--bark-dark);font-size:13px}input,select,textarea{background:#fff;border:1.5px solid #dfe5df;border:1.5px solid var(--line);border-radius:12px;border-radius:var(--radius);color:#27332f;color:var(--slate);font-size:14px;min-height:42px;outline:none;padding:9px 12px;transition:border-color .15s,box-shadow .15s;width:100%}input:focus,select:focus,textarea:focus{border-color:#397596;border-color:var(--sky);box-shadow:0 0 0 3px #2f6f9f1f}textarea{min-height:92px;resize:vertical}.search-input{flex:0 1 260px;margin-left:auto}.filter-count{align-self:center;color:#69766f;color:var(--slate-light);font-size:13px;font-weight:700;white-space:nowrap}.inline-form{background:#f8faf8;background:var(--surface);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);padding:16px}.form-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.star-button{background:#0000;border:0;color:#b88a00;cursor:pointer;font-size:22px;height:32px;line-height:1;width:28px}.modal-backdrop{align-items:center;background:#1018287a;display:flex;inset:0;justify-content:center;padding:20px;position:fixed;z-index:100}.modal{background:#fff;background:var(--wool);border-radius:18px;border-radius:var(--radius-lg);box-shadow:0 24px 70px #10182847;max-height:90vh;max-width:620px;overflow-y:auto;padding:26px;width:100%}.modal-header{align-items:center;display:flex;gap:12px;justify-content:space-between;margin-bottom:22px}.modal-header h2{font-size:21px;line-height:1.2}.tabs{-webkit-overflow-scrolling:touch;border-bottom:2px solid #dfe5df;border-bottom:2px solid var(--line);display:flex;gap:4px;margin-bottom:24px;overflow-x:auto}.tab{background:none;border:none;border-bottom:2px solid #0000;color:#69766f;color:var(--slate-light);cursor:pointer;flex:0 0 auto;font-size:14px;font-weight:700;margin-bottom:-2px;padding:10px 18px;transition:color .15s,border-color .15s,background .15s}.tab:hover{background:#2f7d4c0d;color:#315e51;color:var(--bark)}.tab.active{border-bottom-color:#247a5a;border-bottom-color:var(--moss);color:#173f35;color:var(--bark-dark)}.divider{background:#dfe5df;background:var(--line);height:1px;margin:20px 0}.text-muted{color:#69766f;color:var(--slate-light);font-size:13px}.text-danger{color:#b3483e;color:var(--rust)}.text-success{color:#247a5a;color:var(--moss)}.empty-state{color:#69766f;color:var(--slate-light);padding:48px 24px;text-align:center}.empty-state .empty-icon{font-size:46px;margin-bottom:12px}.empty-state p{font-size:15px}.flex{display:flex}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.mt-1{margin-top:4px}.mt-2{margin-top:8px}.mt-3{margin-top:12px}.mt-4{margin-top:16px}.mb-4{margin-bottom:16px}.lineage-chain{display:flex;flex-direction:column;gap:0}.lineage-node{align-items:center;background:#fff;border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);cursor:pointer;display:flex;gap:10px;margin-bottom:2px;padding:10px 14px;transition:background .1s,border-color .1s}.lineage-node:hover{background:#f0f6ef;border-color:#94aa9e;border-color:var(--bark-light)}.lineage-connector{background:#94aa9e;background:var(--bark-light);height:16px;margin-left:22px;width:2px}.filter-bar{flex-wrap:wrap;gap:8px;margin-bottom:20px}.filter-bar,.section-header{align-items:center;display:flex}.section-header{gap:12px;justify-content:space-between;margin-bottom:14px}.section-title{color:#173f35;color:var(--bark-dark);font-family:Playfair Display,serif;font-size:16px;line-height:1.2}.section-note{color:#69766f;color:var(--slate-light);font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}.chart-panel{margin-bottom:24px;margin-top:20px;min-height:220px}.auth-screen,.loading-screen{align-items:center;background:linear-gradient(180deg,#f7faf6,#f4f6f2);background:linear-gradient(180deg,#f7faf6 0,var(--cream) 100%);display:flex;justify-content:center;min-height:100vh;padding:24px}.auth-panel{background:#fff;background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:18px;border-radius:var(--radius-lg);box-shadow:0 18px 48px #18271e24;max-width:420px;padding:28px;width:100%}.auth-brand{align-items:center;display:flex;gap:10px;margin-bottom:24px}.auth-brand span{font-size:30px}.auth-brand h1{font-size:26px;line-height:1.1}.alert{border-radius:12px;border-radius:var(--radius);font-size:14px;font-weight:700;padding:12px 14px}.alert-danger{background:#fff4f2;border:1px solid #efc4be;border:1px solid var(--rust-light);color:#b3483e;color:var(--rust)}.alert-success{background:#e6f4ea;border:1px solid #a8d7b4;color:#247a5a;color:var(--moss)}.settings-grid{grid-gap:18px;display:grid;gap:18px;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}.backup-list{grid-gap:8px;display:grid;gap:8px}.backup-row{border-bottom:1px solid #dfe5df;border-bottom:1px solid var(--line);display:flex;font-size:14px;gap:16px;justify-content:space-between;padding:10px 0}.backup-row:last-child{border-bottom:0}.backup-row strong{overflow-wrap:anywhere}.row-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.dashboard-hero{grid-gap:24px;align-items:stretch;display:grid;gap:24px;grid-template-columns:minmax(0,1fr) minmax(280px,420px);margin-bottom:28px}.dashboard-hero>div:first-child{background:#fff;background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:18px;border-radius:var(--radius-lg);box-shadow:0 1px 3px #18382e14;box-shadow:0 1px 3px var(--shadow);display:flex;flex-direction:column;justify-content:center;min-height:220px;padding:28px}.hero-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.pasture-card{background:linear-gradient(180deg,#d9edf5,#eaf7ee 58%,#b9d99c 59%,#93bd77);border:1px solid #bfd5c5;border-radius:18px;border-radius:var(--radius-lg);box-shadow:0 14px 40px #2f7d4c29;min-height:220px;overflow:hidden;position:relative}.sun{animation:sunPulse 4s ease-in-out infinite;background:#f6c85f;border-radius:50%;box-shadow:0 0 0 12px #f6c85f2e;height:44px;right:32px;top:22px;width:44px}.hill,.sun{position:absolute}.hill{border-radius:50% 50% 0 0;left:-10%;right:-10%}.hill-back{background:#b6d7a8;bottom:42px;height:120px}.hill-front{background:#8fbd75;bottom:-8px;height:116px}.fence{border-bottom:4px solid #5a4a3094;border-top:4px solid #5a4a3094;bottom:54px;height:28px;left:18px;position:absolute;right:18px}.fence span{background:#5a4a30ad;border-radius:3px;height:52px;position:absolute;top:-12px;width:5px}.fence span:first-child{left:10%}.fence span:nth-child(2){left:34%}.fence span:nth-child(3){left:62%}.fence span:nth-child(4){left:86%}.mini-sheep{animation:graze 3.4s ease-in-out infinite;background:#fff;border-radius:50%;bottom:34px;box-shadow:9px 1px 0 -2px #fff,-8px 2px 0 -4px #fff,26px 4px 0 -8px #26332a;height:22px;position:absolute;width:34px}.mini-sheep:after,.mini-sheep:before{background:#26332a;border-radius:2px;bottom:-8px;content:"";height:10px;position:absolute;width:3px}.mini-sheep:before{left:9px}.mini-sheep:after{right:8px}.sheep-one{animation-delay:.2s;left:44px}.sheep-two{animation-delay:.8s;bottom:24px;left:48%;transform:scale(.88)}.sheep-three{animation-delay:1.4s;bottom:42px;right:54px;transform:scale(.72)}.dashboard-grid{grid-gap:18px;display:grid;gap:18px;grid-template-columns:minmax(0,1.35fr) minmax(300px,.9fr)}.dashboard-stat-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.finance-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.chart-card{min-height:320px}.composition-chart{grid-gap:8px;display:grid;gap:8px;grid-template-columns:minmax(0,1fr)}.composition-total{align-items:baseline;background:#f7faf6;border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);color:#69766f;color:var(--slate-light);display:flex;font-size:13px;font-weight:700;gap:8px;justify-content:center;padding:8px 12px}.composition-total strong{color:#247a5a;color:var(--moss);font-family:Playfair Display,serif;font-size:30px;line-height:1}.chart-legend{color:#69766f;color:var(--slate-light);display:flex;flex-wrap:wrap;font-size:13px;gap:10px}.chart-legend span{align-items:center;display:inline-flex;gap:6px}.chart-legend i{border-radius:50%;display:inline-block;height:10px;width:10px}.empty-chart{align-items:center;background:#f8faf8;background:var(--surface);border:1px dashed #dfe5df;border:1px dashed var(--line);border-radius:12px;border-radius:var(--radius);color:#69766f;color:var(--slate-light);display:flex;justify-content:center;min-height:230px}.mobile-chart-frame{height:260px;min-width:0;width:100%}.mobile-chart-frame.short{height:230px}.finance-card{overflow:hidden;position:relative}.finance-card:after{border-radius:999px;content:"";height:28px;inset:auto 16px 12px auto;opacity:.14;position:absolute;width:64px}.finance-card.alert:after,.finance-card.expense:after{background:#b3483e;background:var(--rust)}.finance-card.income:after,.finance-card.success:after{background:#247a5a;background:var(--moss)}.finance-toolbar{align-items:center;background:#fff;background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);box-shadow:0 1px 3px #18382e14;box-shadow:0 1px 3px var(--shadow);display:flex;flex-wrap:wrap;gap:10px;justify-content:space-between;margin-bottom:18px;padding:8px}.range-toggle{display:flex;flex:1 1;flex-wrap:wrap;gap:4px;min-width:260px}.range-toggle button{background:#0000;border:0;border-radius:7px;color:#69766f;color:var(--slate-light);cursor:pointer;flex:1 1 92px;font:inherit;font-size:13px;font-weight:800;min-height:38px;padding:8px 10px;white-space:nowrap}.range-toggle button:hover{background:#f1f5ef;color:#173f35;color:var(--bark-dark)}.range-toggle button.active{background:#247a5a;background:var(--moss);color:#fff}.valuation-card{overflow:hidden}.valuation-summary{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(5,minmax(0,1fr));margin-bottom:18px}.valuation-summary>div{background:#f7faf6;border:1px solid #dfe5df;border:1px solid var(--line);border-radius:var(--radius);min-height:82px;padding:12px}.valuation-summary span{color:#69766f;color:var(--slate-light);display:block;font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.valuation-summary strong{color:#173f35;color:var(--bark-dark);display:block;font-family:Playfair Display,serif;font-size:clamp(18px,2.3vw,28px);line-height:1.05;margin-top:8px;overflow-wrap:anywhere}.valuation-summary .positive strong{color:#247a5a;color:var(--moss)}.valuation-summary .negative strong{color:#b3483e;color:var(--rust)}.valuation-tools{align-items:center;display:flex;flex-wrap:wrap;gap:12px;justify-content:space-between;margin-bottom:14px}.finance-reconciliation-note{background:#f2f8f4;border:1px solid #d9e7de;border-radius:10px;color:#527064;font-size:11px;line-height:1.5;margin:-4px 0 16px;padding:10px 12px}.valuation-tools .search-input{margin-left:0}.valuation-table td,.valuation-table th{white-space:nowrap}.market-value-control{grid-gap:6px;align-items:center;display:grid;gap:6px;grid-template-columns:minmax(92px,1fr) auto;min-width:180px}.market-value-control input{min-height:34px;padding:7px 8px}.value-source{align-items:center;background:#eef0f3;border-radius:999px;color:#69766f;color:var(--slate-light);display:inline-flex;font-size:10px;font-weight:800;letter-spacing:.03em;margin-right:7px;padding:2px 6px;text-transform:uppercase}.value-source.sale{background:#e8f1fb;color:#397596;color:var(--sky)}.value-source.market{background:#e6f4ea;color:#247a5a;color:var(--moss)}.month-input{max-width:180px}@keyframes sunPulse{0%,to{box-shadow:0 0 0 12px #f6c85f2e;transform:scale(1)}50%{box-shadow:0 0 0 18px #f6c85f1a;transform:scale(1.04)}}@keyframes graze{0%,to{translate:0 0}50%{translate:6px 2px}}@media (max-width:900px){.page{padding:28px 24px}.form-grid-3{grid-template-columns:1fr 1fr}}.filter-select{background:#fff;background:var(--wool);border:1.5px solid #dfe5df;border:1.5px solid var(--line);border-radius:12px;border-radius:var(--radius);font-size:14px;min-height:34px;padding:4px 10px}th.sortable{cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap}th.sortable:hover{color:#247a5a;color:var(--moss)}.checkbox-col{text-align:center;width:40px}.checkbox-col input{cursor:pointer;height:16px;min-height:0;width:16px}tr.row-selected{background:#eef6ee}.batch-bar{align-items:center;background:#e8ede7;background:var(--parchment);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:var(--radius);display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px;padding:10px 14px}.alert-list{display:flex;flex-direction:column;gap:6px;list-style:none}.alert-item{align-items:center;background:#fff;background:var(--wool);border:1px solid #dfe5df;border:1px solid var(--line);border-left-width:4px;border-radius:12px;border-radius:var(--radius);cursor:pointer;display:flex;gap:12px;padding:10px 12px;text-align:left;width:100%}.alert-item:hover{background:#f8faf8;background:var(--surface)}.alert-item.alert-overdue{border-left-color:#b3483e;border-left-color:var(--rust)}.alert-item.alert-due{border-left-color:#9a6700}.alert-item.alert-open{border-left-color:#397596;border-left-color:var(--sky)}.alert-icon{font-size:18px}.alert-body{display:flex;flex:1 1;flex-direction:column;min-width:0}.alert-body .alert-text{font-size:13px;overflow:hidden;text-overflow:ellipsis}.alert-body .alert-text,.alert-meta{color:#69766f;color:var(--slate-light);white-space:nowrap}.alert-meta{font-size:12px}.productivity-grid{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(3,minmax(0,1fr))}.productivity-grid>div{background:#f8faf8;background:var(--surface);border:1px solid #dfe5df;border:1px solid var(--line);border-radius:12px;border-radius:var(--radius);display:flex;flex-direction:column;gap:2px;padding:12px}.productivity-value{color:#173f35;color:var(--bark-dark);font-family:Playfair Display,serif;font-size:24px}.productivity-label{color:#69766f;color:var(--slate-light);font-size:11px;letter-spacing:.04em;text-transform:uppercase}.badge-breeding-pending{background:#fff4da;color:#9a6700}.badge-breeding-confirmed{background:#e8f1fb;color:#397596;color:var(--sky)}.badge-breeding-lambed{background:#e6f4ea;color:#247a5a;color:var(--moss)}.badge-breeding-failed{background:#fff4f2;color:#b3483e;color:var(--rust)}.csv-grid{display:flex;flex-wrap:wrap;gap:8px}@media print{.batch-bar,.btn,.filter-bar,.hero-actions,.profile-actions,.row-actions,.sidebar,.tabs,.top-search{display:none!important}.app-shell,.main-content{display:block;height:auto;overflow:visible}body{background:#fff;font-size:12px}.card{border:1px solid #ccc;box-shadow:none;break-inside:avoid;page-break-inside:avoid}.page{padding:0}}:root{--cream:#f4f6f2;--parchment:#e8ede7;--bark:#315e51;--bark-dark:#173f35;--bark-light:#94aa9e;--moss:#247a5a;--moss-light:#63a486;--slate:#27332f;--slate-light:#69766f;--rust:#b3483e;--rust-light:#efc4be;--sky:#397596;--wool:#fff;--line:#dfe5df;--surface:#f8faf8;--shadow:#18382e14;--radius:12px;--radius-lg:18px}body{background:#f4f6f2;background:var(--cream);color:#27332f;color:var(--slate);font-family:DM Sans,sans-serif}.productivity-value,.section-title,.stat-card .stat-value,.valuation-summary strong,h1,h2,h3,h4{font-family:Manrope,sans-serif;letter-spacing:-.025em}button,input,select,textarea{font-family:inherit}.app-shell{background:#f4f6f2;background:var(--cream)}.sidebar{background:#153b32;min-width:252px;overflow:hidden;padding:18px 14px;width:252px}.sidebar-logo{align-items:center;background:#0000;border:0;border-bottom:1px solid #ffffff1a;color:#fff;cursor:pointer;display:flex;gap:12px;padding:6px 8px 22px;text-align:left;width:100%}.sidebar-logo .brand-mark{background:#d7ecdf;border-radius:12px;color:#173f35;display:grid;font:800 18px/1 Manrope,sans-serif;height:40px;margin:0;place-items:center;width:40px}.sidebar-logo>span:last-child{display:grid;min-width:0}.sidebar-logo strong{color:#fff;font:800 17px/1.25 Manrope,sans-serif;letter-spacing:-.02em}.sidebar-logo small{color:#ffffff8c;font-size:11px;margin-top:2px}.sidebar-nav{padding:24px 0}.nav-label{color:#fff6;font-size:10px;font-weight:700;letter-spacing:.12em;margin:0 10px 8px;text-transform:uppercase}.nav-item{border:0;border-radius:11px;color:#ffffffad;font-weight:500;gap:12px;margin-bottom:5px;padding:11px 12px}.nav-item:hover{background:#ffffff12;color:#fff}.nav-item.active{background:#ffffff1f;border:0;box-shadow:inset 0 0 0 1px #ffffff0f;color:#fff}.nav-icon{flex:0 0 21px;height:21px;width:21px}.nav-copy{grid-gap:1px;display:grid;gap:1px;min-width:0}.nav-copy strong{color:inherit;font-size:14px;line-height:1.3}.nav-copy small{color:#ffffff6b;font-size:10px;line-height:1.3}.nav-item.active .nav-copy small{color:#ffffff9e}.sidebar-footer{align-items:center;border-top:1px solid #ffffff1a;color:#fff;display:flex;gap:10px;padding:14px 8px 2px}.sidebar-footer>div:last-child{display:grid;min-width:0}.sidebar-footer strong{font-size:12px;max-width:140px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sidebar-footer span{color:#ffffff75;font-size:10px}.topbar-avatar,.user-avatar{background:#d7ecdf;border-radius:10px;color:#173f35;display:grid;flex:0 0 34px;font-size:11px;font-weight:800;height:34px;place-items:center;width:34px}.main-content{background:#f4f6f2}.app-topbar{grid-gap:18px;align-items:center;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fafbf9eb;border-bottom:1px solid #19403517;gap:18px;grid-template-columns:1fr minmax(260px,420px) auto;height:72px;padding:0 34px;position:-webkit-sticky;position:sticky;top:0;z-index:44}.app-topbar,.topbar-context{display:grid}.topbar-context span{color:#69766f;color:var(--slate-light);font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase}.topbar-context strong{color:#173f35;color:var(--bark-dark);font-size:14px}.app-topbar .live-sheep-search{width:100%}.app-topbar .live-sheep-search>input{background:#edf1ed;border-color:#0000;min-height:40px;padding-left:38px}.app-topbar .live-sheep-search:before{color:#718078;content:"⌕";font-size:22px;left:13px;line-height:1;position:absolute;top:5px;z-index:1}.topbar-avatar{border:0;cursor:pointer}.top-search{display:none}.page{max-width:1320px;padding:38px 40px 56px}.page-header{align-items:flex-end;margin-bottom:28px}.page-title{color:#173f35;font-size:clamp(28px,3vw,38px);font-weight:800;letter-spacing:-.045em}.page-subtitle{color:#718078;font-size:14px;font-weight:400;line-height:1.6;margin-top:7px;max-width:670px}.eyebrow{color:#247a5a;color:var(--moss);display:block;font-size:10px;font-weight:800;letter-spacing:.13em;margin-bottom:7px;text-transform:uppercase}.card{border:1px solid #e1e6e1;border-radius:16px;box-shadow:0 1px 2px rgba(27,61,51,.035),0 8px 28px rgba(27,61,51,.035);padding:22px}.section-title{font-size:15px;font-weight:800}.section-note{color:#89938e;font-size:10px;letter-spacing:.08em}.section-header{margin-bottom:18px}.btn{border-radius:10px;font-size:13px;font-weight:700;min-height:42px;padding:9px 16px;transition:transform .15s,box-shadow .15s,background .15s,border-color .15s}.btn:hover{transform:translateY(-1px)}.btn-primary{background:#1d6e51;border-color:#1d6e51;box-shadow:0 6px 16px #1d6e5129}.btn-primary:hover{background:#185d45;border-color:#185d45;box-shadow:0 8px 20px #1d6e5138}.btn-secondary{background:#fff;border-color:#d6dfd9;color:#294c42}.btn-secondary:hover{background:#f2f6f3;border-color:#afc2b7;color:#173f35}.btn-ghost:hover{background:#edf3ef}.btn-sm{border-radius:8px;min-height:34px}.button-plus{font-size:19px;font-weight:400;line-height:0}.filter-select,input,select,textarea{background:#fff;border:1px solid #d7dfd9;border-radius:10px;color:#27332f;min-height:43px;padding:9px 12px}input:hover,select:hover,textarea:hover{border-color:#afbeb5}input:focus,select:focus,textarea:focus{border-color:#4d9077;box-shadow:0 0 0 3px #247a5a1a}.field{gap:7px}.field label{color:#35443f;font-size:12px;font-weight:700}.field label span{color:#b3483e;color:var(--rust)}.dashboard-hero{gap:18px;grid-template-columns:minmax(0,1.4fr) minmax(300px,.75fr);margin-bottom:20px}.dashboard-hero>.hero-copy{background:#173f35;border:0;border-radius:20px;box-shadow:0 15px 40px #123b3024;justify-content:center;min-height:260px;padding:36px 38px}.hero-copy .eyebrow{color:#8fc6ad}.hero-copy .page-title{color:#fff;font-size:clamp(30px,4vw,47px);line-height:1.08;max-width:650px}.hero-copy .page-subtitle{color:#ffffffa8;font-size:15px;max-width:580px}.hero-copy .btn-primary{background:#e0f0e7;border-color:#e0f0e7;box-shadow:none;color:#173f35}.hero-copy .btn-primary:hover{background:#fff;border-color:#fff}.hero-copy .btn-secondary{background:#0000;border-color:#ffffff3d;color:#fff}.hero-copy .btn-secondary:hover{background:#ffffff14}.hero-brief{background:#fff;border:1px solid #dfe6e1;border-radius:20px;box-shadow:0 8px 30px #1b3d330d;display:flex;flex-direction:column;min-height:260px;padding:24px}.hero-brief-head{border-bottom:1px solid #dfe5df;border-bottom:1px solid var(--line);display:flex;gap:12px;justify-content:space-between;padding-bottom:18px}.hero-brief-foot span,.hero-brief-head span{color:#69766f;color:var(--slate-light);font-size:11px;font-weight:700;letter-spacing:.06em;text-transform:uppercase}.hero-brief-head strong{color:#247a5a;color:var(--moss);font-size:12px}.hero-brief-row{align-items:center;border-bottom:1px solid #edf0ed;display:flex;gap:12px;padding:14px 0}.hero-brief-row div{display:grid}.hero-brief-row strong{color:#2a3934;font-size:13px}.hero-brief-row small{color:#69766f;color:var(--slate-light);font-size:11px}.pulse{background:#43a077;border-radius:50%;box-shadow:0 0 0 5px #43a0771f;height:9px;width:9px}.pulse.warning{background:#d38743;box-shadow:0 0 0 5px #d387431f}.hero-brief-foot{align-items:flex-end;display:flex;justify-content:space-between;margin-top:auto;padding-top:14px}.hero-brief-foot strong{color:#173f35;font:800 30px/1 Manrope,sans-serif}.stat-grid{gap:12px;margin-bottom:20px}.stat-card{background:#fff;border:1px solid #e0e6e1;border-radius:15px;box-shadow:0 1px 2px #1b3d3308;min-height:112px;padding:19px;position:relative}.stat-card:before{background:#9ab3a8;border-radius:50%;content:"";height:7px;position:absolute;right:18px;top:18px;width:7px}.stat-card.success:before{background:#43a077}.stat-card.alert:before{background:#ca675e}.stat-card .stat-value{color:#173f35;font-size:29px;font-weight:800;letter-spacing:-.04em}.stat-card .stat-label{color:#7a8781;font-size:10px;letter-spacing:.08em;margin-top:10px}.dashboard-grid{gap:16px}.chart-card{min-height:310px}.productivity-grid>div{background:#f2f5f2;border:0;border-radius:10px}.filter-shell{background:#fff;border:1px solid #dfe5e0;border-radius:14px;box-shadow:0 2px 10px #1b3d3308;margin-bottom:18px}.status-filters{border-bottom:1px solid #e8ece8;display:flex;gap:3px;padding:7px 8px 0}.status-filters button{align-items:center;background:#0000;border:0;border-bottom:2px solid #0000;color:#748079;cursor:pointer;display:inline-flex;font:700 12px/1 inherit;gap:7px;min-height:40px;padding:8px 14px;text-transform:capitalize}.status-filters button:hover{color:#294c42}.status-filters button.active{border-bottom-color:#1d6e51;color:#1d6e51}.status-filters button span{font-size:10px}.filter-shell .filter-bar{gap:9px;margin:0;padding:12px}.filter-shell .search-input{flex:1 1 280px;margin:0;order:-1}.filter-shell .filter-select{min-width:150px}.table-wrap{border-radius:inherit}table{min-width:720px}thead{background:#f7f9f7}thead tr{border-bottom:1px solid #dde4df}tbody tr{border-bottom-color:#edf0ed}tbody tr:hover{background:#f6faf7}th{color:#77837d;font-size:10px;letter-spacing:.075em;padding:13px 16px}td{color:#3d4945;font-size:13px;padding:15px 16px}td strong{color:#173f35}.badge{font-size:10px;letter-spacing:.025em;min-height:23px;padding:3px 9px}.batch-bar{background:#e8f1eb;border-color:#c8d8ce;border-radius:12px;box-shadow:0 8px 22px #1b3d331a;position:-webkit-sticky;position:sticky;top:84px;z-index:20}.tabs{border-bottom:1px solid #dce4de;gap:2px;margin-bottom:22px}.tab{border-bottom-width:2px;color:#748079;font-size:12px;padding:11px 16px}.tab.active{border-bottom-color:#1d6e51;color:#1d6e51}.lineage-node{border-radius:10px}.modal-backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0d1f1a9e}.modal{border:1px solid #ffffff4d;border-radius:20px;box-shadow:0 30px 90px #081b154d}.sheep-wizard{max-width:780px;overflow:hidden;padding:0}.sheep-wizard .modal-header{align-items:flex-start;border-bottom:1px solid #e4e9e5;margin:0;padding:25px 28px 21px}.sheep-wizard .modal-header h2{font-size:22px;font-weight:800}.sheep-wizard .modal-header p{color:#69766f;color:var(--slate-light);font-size:12px;margin-top:4px}.wizard-steps{background:#f7f9f7;border-bottom:1px solid #e4e9e5;display:grid;grid-template-columns:repeat(3,1fr);padding:16px 28px}.wizard-steps button{align-items:center;background:#0000;border:0;color:#8b9690;display:flex;gap:9px;text-align:left}.wizard-steps button>span{background:#fff;border:1px solid #cbd5cf;border-radius:50%;display:grid;flex:0 0 27px;font-size:11px;font-weight:800;height:27px;place-items:center;width:27px}.wizard-steps button div{display:grid}.wizard-steps button strong{color:inherit;font-size:11px}.wizard-steps button small{color:#9ba49f;font-size:9px}.wizard-steps button.active{color:#1d6e51}.wizard-steps button.active>span{background:#1d6e51;border-color:#1d6e51;box-shadow:0 0 0 4px #1d6e511a;color:#fff}.wizard-steps button.complete{color:#527567;cursor:pointer}.wizard-steps button.complete>span{background:#e3efe8;border-color:#bcd2c5;color:#1d6e51}.wizard-body{min-height:350px;padding:26px 28px}.wizard-panel{grid-gap:22px;animation:panelIn .22s ease-out;display:grid;gap:22px}.panel-intro h3{color:#173f35;font-size:16px;font-weight:800}.panel-intro p{color:#69766f;color:var(--slate-light);font-size:12px;margin-top:3px}.subsection-heading{align-items:center;border-top:1px solid #dfe5df;border-top:1px solid var(--line);display:flex;justify-content:space-between;padding-top:18px}.subsection-heading span{color:#35443f;font-size:12px;font-weight:800}.subsection-heading small{color:#929c96;font-size:10px;letter-spacing:.08em;text-transform:uppercase}.status-picker{grid-gap:9px;display:grid;gap:9px;grid-template-columns:repeat(3,1fr)}.status-picker button{grid-gap:2px 9px;align-items:center;background:#fff;border:1px solid #dce3de;border-radius:12px;color:#364640;cursor:pointer;display:grid;gap:2px 9px;grid-template-columns:auto 1fr;padding:14px;text-align:left}.status-picker button:hover{border-color:#a7bcb0}.status-picker button.active{background:#f1f7f3;border-color:#478a70;box-shadow:0 0 0 2px #247a5a14}.status-picker strong{font-size:12px}.status-picker small{color:#7b8881;font-size:10px;grid-column:2}.status-dot{background:#43a077;border-radius:50%;grid-row:1/3;height:8px;width:8px}.status-dot.sold{background:#4e83a0}.status-dot.deceased{background:#8d9591}.wizard-footer{grid-gap:14px;align-items:center;background:#f8faf8;border-top:1px solid #e4e9e5;display:grid;gap:14px;grid-template-columns:1fr auto 1fr;padding:16px 28px}.wizard-footer>span{color:#8a958f;font-size:10px}.wizard-footer .btn:first-child{justify-self:start}.wizard-footer .btn:last-child{justify-self:end}@keyframes panelIn{0%{opacity:0;transform:translateY(4px)}to{opacity:1;transform:none}}.auth-screen{background:radial-gradient(circle at 20% 20%,#2b6655 0,#173f35 34%,#102e27 100%)}.auth-panel{border:1px solid #ffffff4d;border-radius:22px;box-shadow:0 30px 80px #06191347;max-width:430px;padding:34px}.auth-brand span{background:#d7ecdf;border-radius:12px;color:#173f35;display:grid;font-size:0;height:43px;place-items:center;width:43px}.auth-brand span:before{content:"S";font:800 18px/1 Manrope,sans-serif}.auth-brand h1{font-size:24px;font-weight:800}.auth-brand>div{display:grid}.auth-brand p{margin-top:2px}.loading-screen{color:#64736b;flex-direction:column;font-size:13px;gap:14px}.loader{animation:spin .7s linear infinite;border:3px solid #d7e2dc;border-radius:50%;border-top-color:#247a5a;height:28px;width:28px}@keyframes spin{to{transform:rotate(1turn)}}.finance-toolbar{border-radius:14px;box-shadow:0 2px 10px #1b3d3308}.range-toggle button.active{background:#1d6e51}.valuation-summary>div{background:#f2f5f2;border:0;border-radius:12px}.alert{border-radius:11px;font-size:12px}.empty-state h3{font-size:15px;margin-bottom:4px}.empty-state .empty-icon{color:#6f8178;font:500 40px/1 Manrope,sans-serif}@media (max-width:1000px){.sidebar{min-width:222px;width:222px}.page{padding:32px 28px 48px}.app-topbar{padding:0 26px}.dashboard-hero{grid-template-columns:1fr}.hero-brief{min-height:220px}}[hidden]{display:none!important}.mobile-brand,.mobile-only,.mobile-search-toggle{display:none}.global-search{min-width:0}.dialog-shell{max-width:780px;outline:none;width:100%}.dialog-shell>.modal{margin:auto}.text-link{background:none;border:0;color:var(--moss);cursor:pointer;font-weight:700}.view-switcher{background:#e9eeea;border:1px solid var(--line);border-radius:13px;display:flex;gap:4px;margin-bottom:24px;padding:5px}.view-switcher button{background:none;border:0;border-radius:9px;color:#5a6d63;cursor:pointer;flex:1 1;font:inherit;font-size:13px;font-weight:700;min-height:44px}.view-switcher button.active{background:#fff;box-shadow:0 2px 5px #163c3210;color:#173f35}.finance-workspace{display:flex;flex-direction:column;min-width:0}.finance-view-overview .valuation-card{order:-1}.valuation-link{justify-content:space-between;width:100%}.position-total{border:1px solid #b9d4c7!important}.dashboard-page .dashboard-hero>.hero-copy{background:#173f35}.money{align-items:baseline;display:inline-flex;flex-wrap:wrap;gap:.25em}.money .money-currency{color:inherit;font:inherit;font-size:.53em;letter-spacing:.02em}.money .money-amount{font-feature-settings:"tnum";color:inherit;font:inherit;font-variant-numeric:tabular-nums;text-transform:none;white-space:nowrap}.valuation-summary strong>.money{color:inherit;display:inline-flex;font:inherit;letter-spacing:inherit;text-transform:none}.valuation-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-back{margin-bottom:14px;padding-left:0}.identity-details{grid-gap:18px;display:grid;gap:18px;grid-template-columns:repeat(2,minmax(0,1fr))}.identity-details dt{color:var(--slate-light);font-size:12px}.identity-details dd{font-size:14px;font-weight:600;margin-top:4px;overflow-wrap:anywhere}.lineage-node{color:inherit;text-align:left;width:100%}.record-management{color:var(--slate-light);font-size:13px;grid-column:1/-1}.record-management summary{cursor:pointer;padding:14px 0}.record-management p{margin-bottom:12px}.settings-account{grid-column:1/-1}.account-heading{align-items:center;display:flex;gap:12px}.account-heading>div:nth-child(2){flex:1 1;min-width:0}.account-heading h2{font-size:17px;overflow-wrap:anywhere}.account-heading .user-avatar{flex-basis:48px;height:48px;width:48px}.settings-page .section-title{align-items:center;display:inline-flex;gap:8px}.auth-intro{margin:25px 0}.auth-intro h2{font-size:25px;line-height:1.2}.auth-intro p{color:var(--slate-light);font-size:13px;margin-top:8px}.auth-panel>.btn{width:100%}.password-field{position:relative}.password-field input{padding-right:68px}.password-field button{background:none;border:0;border-radius:10px;color:var(--moss);cursor:pointer;font-size:12px;font-weight:700;height:100%;min-width:62px;position:absolute;right:0;top:0}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #83b4a0;outline-offset:3px}@media (min-width:769px) and (max-width:1100px){.dashboard-stat-grid,.finance-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-stat-grid .cash-net{grid-column:1/-1}.dashboard-grid,.profile-overview,.settings-grid{grid-template-columns:minmax(0,1fr)}.valuation-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:768px){:root{--phone-nav-height:74px}html{scroll-padding-top:86px}body{-webkit-text-size-adjust:100%;background:#f4f6f3;font-size:14px}.desktop-only{display:none!important}.mobile-only{display:block}.app-shell{display:block;height:auto}.app-shell,.main-content{min-height:100dvh;overflow:visible}.main-content{padding-bottom:calc(var(--phone-nav-height) + env(safe-area-inset-bottom))}.page{max-width:620px;padding:23px 18px 32px}.card,.dashboard-grid>*,.field,.form-grid>*,.page>*,.settings-grid>*{min-width:0}.app-topbar{grid-gap:8px;background:#fbfcf9f5;border-bottom:1px solid #e0e7df;display:grid;gap:8px;grid-template-columns:1fr 42px 38px;height:auto;min-height:66px;padding:max(10px,env(safe-area-inset-top)) 18px 10px}.topbar-context{display:none}.mobile-brand{align-items:center;background:none;border:0;color:#173f35;display:inline-flex;gap:10px;justify-self:start;padding:0;text-align:left}.mobile-brand>svg{background:#e3eddf;border-radius:11px;height:34px;padding:6px;width:34px}.mobile-brand>span{font-family:Manrope,sans-serif;font-size:16px;font-weight:800;letter-spacing:-.5px;line-height:1.3}.mobile-brand small{color:#728075;display:block;font-family:DM Sans,sans-serif;font-size:10px;font-weight:500;letter-spacing:.2px}.mobile-search-toggle{background:#0000;border:0;border-radius:12px;color:#476253;cursor:pointer;display:grid;height:44px;padding:0;place-items:center;width:42px}.topbar-avatar{background:#e7efdf;border:1px solid #d0decf;border-radius:50%;height:36px;width:36px}.global-search{display:none}.search-open .global-search{display:block;grid-column:1/-1;grid-row:2;padding:4px 0 2px}.app-topbar .live-sheep-search{width:100%}.live-search-results{max-height:min(380px,55dvh);overflow-y:auto}.live-search-results button{min-height:62px;padding:12px 14px}.sidebar{-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);background:#fffffffa;border-top:1px solid #dfe6de;box-shadow:0 -4px 24px #153b3209;height:calc(var(--phone-nav-height) + env(safe-area-inset-bottom));inset:auto 0 0;min-width:0;padding:6px 12px env(safe-area-inset-bottom);position:fixed;width:100%;z-index:80}.nav-label,.sidebar-footer,.sidebar-logo{display:none}.sidebar-nav{grid-gap:6px;display:grid;gap:6px;grid-template-columns:repeat(4,minmax(0,1fr));padding:0}.nav-item{align-items:center;border-radius:14px;color:#758078;display:flex;flex-direction:column;gap:4px;justify-content:center;margin:0;min-height:60px;padding:8px 3px;position:relative;text-align:center}.nav-item:hover{background:#f0f5ed;color:#1d6e51}.nav-item.active{background:#eaf2e5;box-shadow:none;color:#1e6449}.nav-icon{flex-basis:21px;height:21px;width:21px}.nav-copy{display:block}.nav-copy strong{font-size:11px;font-weight:700}.nav-copy small{display:none}.page-header{align-items:flex-start;gap:14px;margin-bottom:22px}.page-header>div:first-child{flex:1 1;min-width:0}.page-title{font-size:29px;line-height:1.17;overflow-wrap:anywhere}.page-subtitle{font-size:13px;line-height:1.55;margin-top:7px}.eyebrow{font-size:10px;letter-spacing:.1em;margin-bottom:6px}.page-header>.btn{flex-shrink:0;margin-top:18px;padding-inline:12px}.btn,.btn-sm{border-radius:11px;font-size:13px;min-height:44px;padding:9px 13px}.btn:hover{transform:none}.btn-icon,.btn-sm.btn-icon{height:44px;min-width:44px;padding:0;width:44px}.btn-primary{box-shadow:none}.card{border-radius:18px;box-shadow:0 2px 5px #183f3504;padding:18px}.section-header{align-items:center;flex-direction:row;gap:10px;margin-bottom:15px}.section-title{font-size:15px;line-height:1.4}.section-header .btn{flex-shrink:0;padding-inline:10px}.section-note{font-size:10px;text-align:right;white-space:normal}.dashboard-grid,.settings-grid{gap:16px}.dashboard-grid,.form-grid-2,.form-grid-3,.settings-grid{grid-template-columns:minmax(0,1fr)}.form-grid{gap:17px}.filter-select,input:not([type=checkbox]),select,textarea{border-radius:11px;font-size:16px;max-width:100%;min-height:48px;min-width:0;padding:11px 12px}input[type=checkbox]{accent-color:#246c50;height:20px;min-height:20px;width:20px}input[type=date],input[type=month]{display:block;min-inline-size:0;width:100%}textarea{min-height:100px}.field label{font-size:12px}.form-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end}.form-actions .btn{flex:1 1}.inline-form{background:#f3f6f1;border-radius:14px;padding:16px;scroll-margin-top:80px}.badge{align-self:flex-start;font-size:11px;padding:4px 9px;width:-webkit-fit-content;width:fit-content}.alert{font-size:13px;overflow-wrap:anywhere}.empty-state{padding:32px 18px}.empty-state p{font-size:13px}.dashboard-hero{display:block;margin-bottom:18px}.dashboard-hero>.hero-copy{background:#173f35;border-radius:22px;box-shadow:none;min-height:0;overflow:hidden;padding:24px;position:relative}.hero-copy:after{border:24px solid #91b79a12;border-radius:50%;content:"";height:135px;pointer-events:none;position:absolute;right:-42px;top:-70px;width:135px}.hero-copy .page-title{font-size:30px;line-height:1.13;max-width:260px}.hero-copy .page-subtitle{color:#c1d4c9;font-size:12px;margin-top:9px}.hero-copy .eyebrow{color:#b6d5a5;margin-bottom:12px}.hero-actions{gap:8px;margin-top:21px}.hero-actions .btn{flex:1 1;font-size:12px;padding-inline:12px}.hero-copy .btn-primary{background:#d9ecb9;border-color:#d9ecb9}.hero-brief{display:none}.dashboard-stat-grid,.stat-grid{grid-gap:10px;display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:20px}.stat-card{border-radius:16px;display:flex;flex-direction:column;justify-content:center;min-height:100px;padding:16px 14px}.finance-card:after,.stat-card:before{display:none}.stat-card .stat-value{font-feature-settings:"tnum";font-size:clamp(20px,5.4vw,29px);font-variant-numeric:tabular-nums;letter-spacing:-.7px;line-height:1.2}.stat-card .stat-label{font-size:10px;letter-spacing:.025em;line-height:1.4;margin-top:7px;text-transform:none}.stat-value .money{display:flex;flex-direction:column;gap:3px}.stat-value .money-currency{font-size:10px}.stat-value .money-amount{font-size:.88em}.dashboard-stat-grid .stat-card:first-child{background:#eaf1e2;border-color:#dbe7cd}.productivity-grid{gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.productivity-grid>div{padding:12px 8px}.productivity-value{font-size:22px}.productivity-label{font-size:9px;letter-spacing:0;text-transform:none}.alert-item{grid-gap:8px;border:0;border-bottom:1px solid var(--line);border-radius:0;display:grid;gap:8px;grid-template-columns:28px minmax(0,1fr) auto;padding:12px 10px}.alert-body .alert-text{font-size:12px;line-height:1.4;white-space:normal}.alert-meta{font-size:10px}.chart-card{min-height:0}.mobile-chart-frame,.mobile-chart-frame.short{height:215px;min-width:0}.chart-panel{height:220px}.chart-legend{font-size:12px;gap:12px}.composition-total{background:#0000;border:0;padding:0}.flock-page .page-header{align-items:center}.flock-page .page-header>.btn{margin-top:0}.filter-shell{border-radius:15px;margin-bottom:6px}.status-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));padding-inline:4px}.status-filters button{font-size:12px;gap:5px;justify-content:center;min-height:46px;min-width:0;padding:8px 4px}.filter-shell .filter-bar{grid-gap:8px;display:grid;gap:8px;grid-template-columns:minmax(0,1fr) auto;padding:10px}.filter-shell .search-input{grid-column:1;grid-row:1;order:0;padding-inline:10px;width:100%}.filter-toggle.mobile-only{display:inline-flex;font-size:12px;gap:5px;grid-column:2;grid-row:1;padding-inline:10px}.filter-shell .animal-filter{display:none;min-width:0}.filter-shell .filters-expanded .animal-filter{display:block;grid-column:1/-1;width:100%}.flock-list-tools{align-items:center;color:#758075;display:flex;font-size:12px;gap:6px;padding:5px 0 9px}.flock-list-tools>span{margin-right:auto}.flock-list-tools select{background:#0000;border:0;font-size:12px;max-width:150px;min-height:44px;padding:6px;width:auto}.select-visible{align-items:center;display:flex;font-size:12px;gap:10px;margin-bottom:8px;min-height:44px}.animal-list{grid-gap:10px;display:grid;gap:10px}.animal-card{background:#fff;border:1px solid #e0e6dc;border-radius:17px;overflow:hidden;position:relative}.animal-card.is-selected{background:#f0f7ec;border-color:#69a186}.animal-card-link{align-items:center;background:#0000;border:0;color:#64796c;cursor:pointer;display:flex;gap:12px;padding:16px 14px;text-align:left;width:100%}.animal-avatar{background:#edf1e6;border-radius:13px;color:#5b7850;display:grid;flex:0 0 43px;height:43px;place-items:center;width:43px}.animal-avatar.ram{background:#eaf0f4;color:#587787}.animal-copy{grid-gap:4px;display:grid;flex:1 1;gap:4px;min-width:0}.animal-copy strong{color:#244b39;font-family:Manrope,sans-serif;font-size:16px;overflow-wrap:anywhere}.animal-copy>span{color:#788077;font-size:12px;overflow-wrap:anywhere;text-transform:capitalize}.animal-card-footer{align-items:center;border-top:1px solid #edf0e9;color:#748071;display:flex;flex-wrap:wrap;font-size:11px;gap:8px 12px;min-height:43px;padding:8px 14px}.animal-card-footer .badge{margin-right:auto}.animal-select{align-items:center;display:flex;height:44px;justify-content:center;position:absolute;right:6px;top:3px;width:44px}.animal-select+.animal-card-link{padding-right:48px}.animal-select+.animal-card-link>svg{display:none}.batch-bar{grid-gap:8px;border-radius:14px;display:grid;gap:8px;grid-template-columns:1fr 1fr;padding:12px;position:-webkit-sticky;position:sticky;top:68px;z-index:35}.batch-bar>span{align-self:center;font-size:12px}.batch-bar .btn-ghost{grid-column:2;grid-row:1;justify-self:end}.batch-bar .btn-secondary{grid-row:2}.table-wrap{overflow:visible}table,tbody,td,th,thead,tr{display:block;min-width:0}table{width:100%}thead{display:none}tbody{grid-gap:12px;display:grid;gap:12px}tbody tr{grid-gap:13px 16px;background:#fbfcf9;border:1px solid #e0e7dd;border-radius:14px;display:grid;gap:13px 16px;grid-template-columns:repeat(2,minmax(0,1fr));padding:16px}tbody tr:last-child{border-bottom:1px solid #e0e7dd}td{display:flex;flex-direction:column;font-size:13px;gap:4px;line-height:1.45;min-width:0;padding:0}td:before{color:#7a897d;content:attr(data-label);font-size:10px}td[data-label=Actions],td[data-label=Description],td[data-label=Notes]{grid-column:1/-1}td[data-label=Actions]:before{display:none}td[data-label=Actions]{border-top:1px solid #e1e7dd;padding-top:10px}.row-actions{flex-wrap:wrap;gap:8px;justify-content:flex-end}.recent-table tr{background:none;border:0;border-bottom:1px solid var(--line);border-radius:0;gap:6px 12px;grid-template-columns:1fr auto;padding:12px 0}.recent-table td:before{display:none}.recent-table td[data-label="Tag ID"]{grid-column:1;grid-row:1}.recent-table td[data-label=Sex]{grid-column:2;grid-row:1/3;justify-content:center}.recent-table td[data-label=Breed]{color:var(--slate-light);font-size:12px}.recent-table td[data-label="Date of Birth"],.recent-table td[data-label=Dam]{display:none}.profile-back{color:#6c7d70;font-size:12px;margin-bottom:8px;margin-top:-12px;min-height:40px}.profile-page .page-header{display:block}.profile-page .profile-actions{margin-top:16px}.profile-page .profile-actions .btn{width:100%}.profile-title-row{gap:8px}.profile-title-row .page-title{flex-basis:100%;margin-bottom:2px}.profile-title-row .badge{font-size:11px}.tabs{border-bottom:1px solid #d6e0d2;gap:2px;margin:0 0 20px;overflow-x:auto;scrollbar-width:none}.tab{flex:0 0 auto;font-size:13px;min-height:48px;padding:12px 14px}.tab.active{background:#eaf2e5;border-radius:10px 10px 0 0;color:#1d6e51}.profile-overview{gap:16px!important}.identity-details{gap:16px 12px}.identity-details>div{border-bottom:1px solid #edf0e8;padding-bottom:12px}.profile-page dd{min-width:0;overflow-wrap:anywhere}.summary-stats{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(3,minmax(0,1fr))}.summary-stats .stat-card{min-height:86px;min-width:0!important;padding:12px 8px}.summary-stats .stat-value{font-size:20px;letter-spacing:-.5px}.summary-stats .stat-label{font-size:10px}.star-button{height:44px;width:40px}.finance-page .page-header{flex-direction:column;gap:16px}.finance-page .profile-actions{grid-gap:9px;display:grid;gap:9px;grid-template-columns:1fr 1fr;width:100%}.view-switcher{margin-bottom:20px}.view-switcher button{font-size:12px}.finance-toolbar{align-items:stretch;background:none;border:0;box-shadow:none;display:flex;flex-direction:column;gap:10px;margin-bottom:12px;padding:0}.range-toggle{background:#fff;border:1px solid #e0e6da;border-radius:12px;display:flex;flex-wrap:nowrap;gap:3px;min-width:0;padding:4px}.range-toggle button{flex:1 1;font-size:11px;font-weight:600;min-height:42px;min-width:0;padding:9px 3px}.month-input{max-width:none;width:100%}.finance-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.finance-stat-grid .cash-net{align-items:center;background:#eaf1e3;display:flex;flex-direction:row;gap:16px;grid-column:1/-1;justify-content:space-between;min-height:70px}.cash-net .stat-label{margin:0;max-width:125px;text-align:right}.valuation-summary{grid-gap:12px;display:grid;gap:12px;grid-template-columns:repeat(2,minmax(0,1fr))}.valuation-summary>div{background:none;border:0;min-height:65px;padding:0}.valuation-summary>div>span{color:#758071;font-size:11px;font-weight:500;letter-spacing:0;text-transform:none}.valuation-summary strong{font-size:19px;line-height:1.25;margin-top:6px}.valuation-summary>div:last-child{align-items:center;border-top:1px solid #e7ede1;display:flex;grid-column:1/-1;justify-content:space-between;min-height:36px;padding-top:10px}.valuation-summary>div:last-child strong{font-size:15px;margin-top:0}.valuation-summary .position-total{background:#193f35;border:0!important;border-radius:14px;grid-column:1/-1;margin-bottom:5px;order:-1;padding:20px}.valuation-summary .position-total>span{color:#c5d8c7;font-size:12px}.valuation-summary .position-total strong{color:#e2f2c9;font-size:32px;letter-spacing:-.9px}.valuation-summary .position-total.negative strong{color:#ffcec3}.finance-reconciliation-note{border:0;font-size:11px;line-height:1.6;margin-top:0;padding:11px}.valuation-tools{gap:10px}.valuation-tools .search-input{flex-basis:100%}.valuation-tools .section-note{letter-spacing:0;text-transform:none}.value-record{background:#fcfdfa;border:1px solid #e0e7dc;border-radius:13px;margin-top:10px}.value-record summary{align-items:center;cursor:pointer;display:flex;gap:12px;justify-content:space-between;list-style:none;min-height:80px;padding:15px 12px}.value-record summary>span{min-width:0}.value-record summary>span:last-child{text-align:right}.value-record summary strong{color:#264b38;display:block;font-size:14px;overflow-wrap:anywhere}.value-record small{color:#7c8778;display:block;font-size:11px;margin-top:3px;text-transform:capitalize}.value-record summary:after{color:#628062;content:"+"}.value-record[open] summary:after{content:"−"}.value-record-body{grid-gap:15px;border-top:1px solid #e1e7dc;display:grid;gap:15px;padding:14px}.mini-ledger{grid-gap:10px;display:grid;gap:10px}.mini-ledger>div{display:flex;gap:12px;justify-content:space-between}.mini-ledger dt{color:#7a8576;font-size:12px}.mini-ledger dd{font-size:13px;font-weight:600;overflow-wrap:anywhere}.market-value-control{grid-template-columns:minmax(0,1fr) auto;min-width:0}.ledger-card{padding:18px 14px}.transaction-record{border-bottom:1px solid #e5ebdf}.transaction-record:last-child{border:0}.transaction-record summary{align-items:center;cursor:pointer;display:flex;gap:9px;list-style:none;min-height:86px;padding:12px 0}summary::-webkit-details-marker{display:none}.transaction-direction{background:#f7ede4;border-radius:9px;color:#966247;display:grid;flex:0 0 30px;font-size:20px;height:34px;place-items:center;width:30px}.income .transaction-direction{background:#e8f1e1;color:#2d7352}.transaction-copy{flex:1 1;min-width:0}.transaction-copy strong{display:block;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.transaction-copy small{color:#7f897a;display:block;font-size:10px;margin-top:4px}.transaction-amount{font-feature-settings:"tnum";color:#6d4439;font-size:12px;font-variant-numeric:tabular-nums;max-width:45%;overflow-wrap:anywhere}.income .transaction-amount{color:#247a5a}.transaction-detail{grid-gap:8px;display:grid;font-size:12px;gap:8px;overflow-wrap:anywhere;padding:2px 0 16px 39px}.settings-grid{display:flex;flex-direction:column}.settings-currency{order:-1}.settings-account{order:-2}.settings-page .section-header{flex-wrap:wrap}.backup-row{align-items:center;font-size:11px;gap:12px;padding:13px 0}.backup-row strong{flex:1 1;font-weight:500;min-width:0;overflow-wrap:anywhere}.backup-row>span{color:#7b8677;font-size:10px;white-space:nowrap}.csv-grid{grid-gap:8px;display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr))}.csv-grid .btn{background:#f8faf5;border:1px solid #e4eadf;font-size:12px;white-space:normal}.settings-page .account-heading h2{font-size:16px}.auth-screen{align-items:center;background:#173f35;min-height:100dvh;padding:max(24px,env(safe-area-inset-top)) 20px max(24px,env(safe-area-inset-bottom))}.auth-panel{background:#fbfcf8;border-radius:24px;box-shadow:none;max-width:420px;padding:28px 22px}.auth-brand h1{font-size:23px}.auth-brand p{font-size:11px}.auth-intro{margin:28px 0}.auth-intro h2{font-size:30px;max-width:250px}.auth-panel>.btn{margin-top:24px;min-height:50px}.modal-backdrop{align-items:flex-end;background:#142d26a8;padding:10px 0 0;z-index:150}.dialog-shell{align-items:flex-end;display:flex;justify-content:center;max-height:100%}.dialog-shell>.modal{border-radius:24px 24px 0 0;box-shadow:none;max-height:calc(100dvh - 12px);max-width:620px!important;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:23px 20px calc(20px + env(safe-area-inset-bottom));width:100%}.dialog-shell>.sheep-wizard{display:flex;flex-direction:column;overflow:hidden;padding:0}.sheep-wizard .modal-header{flex:0 0 auto;padding:22px 20px 15px}.sheep-wizard .modal-header h2{font-size:21px}.sheep-wizard .modal-header p{font-size:11px}.wizard-steps{flex:0 0 auto;padding:13px 18px}.wizard-steps button{gap:7px}.wizard-steps button small{display:none}.wizard-steps button strong{font-size:11px}.wizard-body{min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:20px}.wizard-panel{gap:18px}.panel-intro h3{font-size:16px}.panel-intro p{font-size:12px}.wizard-footer{flex:0 0 auto;grid-template-columns:1fr auto 1fr;padding:13px 20px calc(13px + env(safe-area-inset-bottom))}.wizard-footer .btn{width:100%}.wizard-footer>span{font-size:10px}.status-picker{gap:8px;grid-template-columns:minmax(0,1fr)}.status-picker button{min-height:65px}.dialog-shell .form-actions{background:#fff;border-top:1px solid var(--line);bottom:calc(-20px - env(safe-area-inset-bottom));margin-bottom:-12px;padding-block:13px;position:-webkit-sticky;position:sticky}}@media (max-width:360px){.app-topbar,.page{padding-inline:14px}.page-title{font-size:26px}.hero-copy .page-title{font-size:27px}.dashboard-hero>.hero-copy{padding:21px}.flock-page .page-header>.btn,.hero-actions .btn{font-size:11px;padding-inline:9px}.stat-card .stat-value{font-size:20px}.card{padding:15px}.section-title{font-size:14px}.wizard-steps{padding-inline:12px}.wizard-steps button{gap:5px}.wizard-steps button strong{font-size:10px}.wizard-footer>span{display:none}.wizard-footer{grid-template-columns:1fr 1fr}.summary-stats .stat-value{font-size:17px}}@media (prefers-reduced-motion:reduce){*,:after,:before{animation-duration:.01ms!important;scroll-behavior:auto!important;transition-duration:.01ms!important}}@media print{.app-topbar,.record-management,.view-switcher{display:none!important}}
/*# sourceMappingURL=main.a769d4a4.css.map*/