*{box-sizing:border-box;margin:0;padding:0}body{background:#f5f5f5;color:#333;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif}.login-page{align-items:center;background:linear-gradient(135deg,#7a8b6e,#5a6b4e);display:flex;justify-content:center;min-height:100vh;padding:20px}.login-container{background:#fff;border-radius:12px;box-shadow:0 20px 60px #0000004d;max-width:420px;padding:40px;width:100%}.login-logo{margin-bottom:30px;text-align:center}.login-logo h1{color:#7a8b6e;font-size:24px;margin-bottom:5px}.login-logo p{color:#888;font-size:14px}.login-form .form-group{margin-bottom:20px}.login-form label{color:#555;display:block;font-weight:500;margin-bottom:8px}.login-form input{border:2px solid #e0e0e0;border-radius:8px;font-size:16px;padding:12px 16px;width:100%}.login-form input:focus{border-color:#7a8b6e;outline:none}.login-btn{align-items:center;background:#7a8b6e;border:none;border-radius:8px;color:#fff;cursor:pointer;display:flex;font-size:16px;font-weight:600;gap:10px;justify-content:center;padding:14px;width:100%}.login-btn:hover{background:#6a7b5e}.login-btn:disabled{background:#ccc;cursor:not-allowed}.login-error{background:#fee;border-radius:8px;color:#c00;font-size:14px;gap:10px;margin-bottom:20px;padding:12px}.loading-screen,.login-error{align-items:center;display:flex}.loading-screen{background:#f5f5f5;flex-direction:column;justify-content:center;min-height:100vh}.loading-screen svg{color:#7a8b6e;height:48px;width:48px}.loading-screen p{color:#666;margin-top:16px}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1s linear infinite}.app-layout{display:flex;min-height:100vh}.sidebar{background:linear-gradient(180deg,#7a8b6e,#5a6b4e);color:#fff;display:flex;flex-direction:column;height:100vh;position:fixed;width:260px;z-index:100}.sidebar-header{border-bottom:1px solid #ffffff1a;padding:24px}.sidebar-header h1{font-size:18px;font-weight:700}.sidebar-header p{font-size:12px;margin-top:4px;opacity:.7}.sidebar-nav{flex:1 1;overflow-y:auto;padding:16px 0}.nav-item{align-items:center;background:none;border:none;color:#fffc;cursor:pointer;display:flex;font-size:15px;gap:12px;padding:12px 24px;text-align:left;width:100%}.nav-item:hover{background:#ffffff1a;color:#fff}.nav-item.active{background:#fff3;border-right:3px solid #fff;color:#fff}.nav-item svg{height:20px;width:20px}.nav-section{margin-bottom:4px}.nav-section-header{align-items:center;background:none;border:none;color:#ffffffe6;cursor:pointer;display:flex;font-size:15px;font-weight:500;gap:12px;padding:12px 24px;text-align:left;width:100%}.nav-section-header:hover{background:#ffffff1a}.nav-section-header svg{height:20px;width:20px}.nav-section-items{padding-left:20px}.nav-section-items .nav-item{font-size:14px;padding-left:36px}.sidebar-footer{border-top:1px solid #ffffff1a;padding:16px 24px}.user-info{gap:12px;margin-bottom:12px}.user-avatar,.user-info{align-items:center;display:flex}.user-avatar{background:#fff3;border-radius:50%;font-weight:600;height:40px;justify-content:center;width:40px}.user-details{flex:1 1;min-width:0}.user-name{font-size:14px;font-weight:600}.user-role{font-size:12px;opacity:.7}.logout-btn{align-items:center;background:#ffffff1a;border:none;border-radius:6px;color:#fff;cursor:pointer;display:flex;font-size:14px;gap:8px;padding:10px 16px;width:100%}.logout-btn:hover{background:#fff3}.main-content{background:#f5f5f5;flex:1 1;margin-left:260px;min-height:100vh;padding:24px}.page-header{margin-bottom:24px}.page-header h1{color:#333;font-size:28px;margin-bottom:4px}.page-header .subtitle{color:#666}.stats-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:24px}.stat-card{background:#fff;box-shadow:0 2px 8px #0000000f;gap:16px;padding:20px}.stat-card,.stat-icon{align-items:center;border-radius:12px;display:flex}.stat-icon{height:48px;justify-content:center;width:48px}.stat-icon svg{height:24px;width:24px}.stat-card.cattle .stat-icon{background:#fef3c7;color:#92400e}.stat-card.sheep .stat-icon{background:#dbeafe;color:#1e40af}.stat-card.poultry .stat-icon{background:#fce7f3;color:#9d174d}.stat-card.pastures .stat-icon{background:#d1fae5;color:#065f46}.stat-card.sales .stat-icon{background:#e0e7ff;color:#3730a3}.stat-content{flex:1 1}.stat-label{color:#888;display:block;font-size:13px;margin-bottom:4px}.stat-value{color:#333;font-size:24px;font-weight:700}.card{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000000f;margin-bottom:24px}.card-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:16px 20px}.card-header h2{font-size:18px;font-weight:600}.card-body{padding:20px}.table-container{overflow-x:auto}table{border-collapse:collapse;width:100%}td,th{border-bottom:1px solid #eee;padding:12px 16px;text-align:left}th{color:#666;font-size:13px;font-weight:600;letter-spacing:.5px;text-transform:uppercase}th,tr:hover{background:#fafafa}tr.clickable{cursor:pointer}tr.clickable:hover{background:#f0f7eb}.badge{border-radius:20px;display:inline-block;font-size:12px;font-weight:600;padding:4px 10px}.badge-green{background:#d1fae5;color:#065f46}.badge-red{background:#fee2e2;color:#991b1b}.badge-purple{background:#ede9fe;color:#5b21b6}.badge-blue{background:#dbeafe;color:#1e40af}.badge-yellow{background:#fef3c7;color:#92400e}.badge-gray{background:#f3f4f6;color:#4b5563}.badge-active{background:#d1fae5;color:#065f46}.badge-sold{background:#dbeafe;color:#1e40af}.badge-dead{background:#fee2e2;color:#991b1b}.badge-reference{background:#f3f4f6;color:#4b5563}.btn{align-items:center;border:none;border-radius:8px;cursor:pointer;display:inline-flex;font-size:14px;font-weight:500;gap:8px;padding:10px 16px;transition:background .2s}.btn svg{height:18px;width:18px}.btn-sm{font-size:13px;padding:6px 12px}.btn-sm svg{height:16px;width:16px}.btn-primary{background:#7a8b6e;color:#fff}.btn-primary:hover{background:#6a7b5e}.btn-secondary{background:#f0f0f0;color:#333}.btn-secondary:hover{background:#e0e0e0}.btn-danger{background:#fee2e2;color:#991b1b}.btn-danger:hover{background:#fecaca}.btn-success{background:#d1fae5;color:#065f46}.btn-success:hover{background:#a7f3d0}.btn-icon{background:#0000;color:#6b7280;padding:8px}.btn-icon:hover{background:#f3f4f6;color:#374151}.toolbar{flex-wrap:wrap;gap:12px;margin-bottom:20px}.search-box,.toolbar{align-items:center;display:flex}.search-box{background:#fff;border:1px solid #ddd;border-radius:8px;flex:1 1;gap:8px;max-width:300px;padding:8px 12px}.search-box svg{color:#888;height:18px;width:18px}.search-box input{border:none;flex:1 1;font-size:14px;outline:none}.filter-select{border:1px solid #ddd;border-radius:8px;font-size:14px;padding:10px 12px}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;padding:20px;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:12px;max-height:90vh;max-width:600px;overflow-y:auto;width:100%}.modal-large{max-width:900px!important}.modal-xl{max-width:1200px!important}.modal-header{align-items:center;background:#fff;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:20px;position:-webkit-sticky;position:sticky;top:0;z-index:1}.modal-header h2{font-size:20px;font-weight:600}.modal-close{background:none;border:none;border-radius:6px;color:#666;cursor:pointer;padding:8px}.modal-close:hover{background:#f0f0f0}.modal-close svg{height:20px;width:20px}.modal-body{padding:20px}.modal-footer{background:#fff;border-top:1px solid #eee;bottom:0;display:flex;gap:12px;justify-content:flex-end;padding:16px 20px;position:-webkit-sticky;position:sticky}.form-group{margin-bottom:16px}.form-group label{color:#555;display:block;font-size:14px;font-weight:500;margin-bottom:6px}.form-group input,.form-group select,.form-group textarea{border:1px solid #ddd;border-radius:8px;font-size:14px;padding:10px 12px;width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#7a8b6e;outline:none}.form-row{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}.form-row-3{grid-template-columns:repeat(3,1fr)}.form-section{border-top:1px solid #eee;padding-top:24px}.form-section-title{color:#333;font-size:16px;margin-bottom:16px}.form-checkbox{align-items:center;cursor:pointer;display:flex;gap:8px}.form-checkbox input{width:auto}.form-hint{color:#888;font-size:12px;margin-top:4px}.empty-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.empty-state svg{color:#9ca3af;height:48px;margin-bottom:16px;width:48px}.empty-state h3{color:#374151;font-size:1.1rem;margin:0 0 8px}.empty-state p{font-size:.95rem;margin:0 0 20px}.loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;justify-content:center;padding:60px 20px}.loading-state svg{color:#7a8b6e;height:32px;margin-bottom:12px;width:32px}.animal-card{align-items:center;background:#fff;border-radius:8px;box-shadow:0 1px 3px #0000001a;cursor:pointer;display:flex;gap:16px;padding:16px;transition:box-shadow .2s}.animal-card:hover{box-shadow:0 4px 12px #00000026}.animal-tag{color:#7a8b6e;font-size:1.5rem;font-weight:700;min-width:80px}.animal-details{flex:1 1}.animal-name{color:#333;font-size:1.1rem;font-weight:600}.animal-meta{color:#666;display:flex;font-size:.9rem;gap:16px;margin-top:4px}.lineage-display{align-items:center;background:#f9fafb;border-radius:6px;display:flex;font-size:.9rem;gap:8px;padding:8px 12px}.lineage-display svg{color:#9ca3af;height:16px;width:16px}.sale-ticket{background:#fff;border-radius:12px;box-shadow:0 2px 8px #0000001a;overflow:hidden}.sale-ticket-header{align-items:flex-start;background:#7a8b6e;color:#fff;display:flex;justify-content:space-between;padding:20px}.ticket-number{font-size:1.5rem;font-weight:700}.ticket-date{font-size:.9rem;opacity:.9}.sale-ticket-body{padding:20px}.ticket-buyer{border-bottom:1px solid #eee;padding-bottom:16px}.ticket-buyer,.ticket-items-list{margin-bottom:20px}.ticket-item{align-items:center;border-bottom:1px solid #f0f0f0;display:flex;justify-content:space-between;padding:12px 0}.ticket-item:last-child{border-bottom:none}.ticket-fees{background:#f9fafb;border-radius:8px;margin-bottom:20px;padding:16px}.fee-item{display:flex;font-size:.95rem;justify-content:space-between;padding:8px 0}.fee-item.fee-deduction{color:#991b1b}.ticket-totals{border-top:2px solid #333;padding-top:16px}.total-row{display:flex;font-size:1rem;justify-content:space-between;padding:8px 0}.total-row.net-amount{color:#065f46;font-size:1.25rem;font-weight:700}.pasture-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.pasture-card{background:#fff;border-left:4px solid #7a8b6e;border-radius:12px;box-shadow:0 2px 8px #0000000f;cursor:pointer;padding:20px;transition:box-shadow .2s}.pasture-card:hover{box-shadow:0 4px 12px #0000001a}.pasture-card h3{font-size:1.1rem;margin:0 0 8px}.pasture-stats{color:#666;display:flex;font-size:.9rem;gap:16px}.pasture-stat{align-items:center;display:flex;gap:6px}.pasture-stat svg{height:16px;width:16px}.herd-card{box-shadow:0 2px 8px #0000000f}.herd-card:hover{box-shadow:0 4px 12px #0000001a;transform:translateY(-2px)}.herd-card h3{font-size:1.1rem;margin:0}.herd-count{align-items:center;color:#7a8b6e;display:flex;font-size:1.5rem;font-weight:700;gap:8px}.herd-count span{color:#888;font-size:.9rem;font-weight:400}.herd-meta{margin-top:12px}.mode-individual{border-left:4px solid #3b82f6}.mode-aggregate{border-left:4px solid #f59e0b}.tabs{border-bottom:1px solid #e5e7eb;display:flex;gap:4px;margin-bottom:20px}.tab{background:none;border:none;border-bottom:2px solid #0000;color:#6b7280;cursor:pointer;font-size:14px;font-weight:500;margin-bottom:-1px;padding:12px 20px}.tab:hover{color:#374151}.tab.active{border-bottom-color:#7a8b6e;color:#7a8b6e}.tab svg{height:16px;margin-right:6px;vertical-align:middle;width:16px}.alert{align-items:flex-start;border-radius:8px;display:flex;gap:12px;margin-bottom:20px;padding:16px}.alert svg{flex-shrink:0;height:20px;width:20px}.alert-info{background:#eff6ff;color:#1e40af}.alert-warning{background:#fef3c7;color:#92400e}.alert-error{background:#fee2e2;color:#991b1b}.alert-success{background:#d1fae5;color:#065f46}.herd-grid{grid-gap:20px;display:grid;gap:20px;grid-template-columns:repeat(auto-fill,minmax(320px,1fr))}.herd-card{background:#fff;border:1px solid #e5e7eb;border-radius:12px;cursor:pointer;padding:20px;transition:all .2s}.herd-card:hover{border-color:#7a8b6e;box-shadow:0 4px 12px #7a8b6e26}.herd-card-header{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:12px}.herd-card-header h3{color:#1f2937;font-size:1.1rem;margin:0}.herd-count{background:#f0f4ed;border-radius:8px;min-width:60px;padding:8px 16px;text-align:center}.herd-count span{color:#666;display:block;font-size:.75rem}.herd-meta{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}.modal-large{max-width:700px}.form-section{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:16px}.form-section-title{color:#374151;font-size:.95rem;font-weight:600;margin-bottom:12px}.filter-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:.9rem;padding:8px 12px}.filter-select:focus{border-color:#7a8b6e;box-shadow:0 0 0 3px #7a8b6e1a;outline:none}.netsuite-record{max-width:1400px}.record-header-bar{align-items:center;border-bottom:2px solid #e5e7eb;display:flex;gap:16px;margin-bottom:20px;padding-bottom:16px}.record-header-bar .btn-icon{background:#f3f4f6;border-radius:8px;flex-shrink:0}.record-header-bar .btn-icon:hover{background:#e5e7eb}.record-primary-info{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000000d;margin-bottom:20px;padding:20px}.primary-fields-grid{grid-gap:16px 24px;display:grid;gap:16px 24px;grid-template-columns:repeat(4,1fr)}.primary-fields-grid.editing{grid-template-columns:repeat(2,1fr)}.field-group{display:flex;flex-direction:column;gap:4px}.field-group.full-width{grid-column:1/-1}.field-group label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.field-group .required{color:#dc2626}.field-group .field-value{color:#1f2937;font-size:.95rem}.field-group .field-value.primary{color:#7a8b6e;font-size:1.1rem;font-weight:600}.field-group input,.field-group select,.field-group textarea{border:1px solid #d1d5db;border-radius:6px;font-size:.9rem;padding:8px 12px}.field-group input:focus,.field-group select:focus,.field-group textarea:focus{border-color:#7a8b6e;box-shadow:0 0 0 3px #7a8b6e1a;outline:none}.link-text{color:#7a8b6e;cursor:pointer}.link-text:hover{text-decoration:underline}.record-page-header{align-items:center;border-bottom:1px solid #e5e7eb;display:flex;gap:16px;margin-bottom:20px;padding-bottom:16px}.record-page-header .btn-icon{flex-shrink:0}.record-title{align-items:center;display:flex;flex:1 1;gap:12px}.record-title h1{color:#1f2937;font-size:1.5rem;font-weight:600;margin:0}.record-actions{display:flex;gap:8px}.status-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.8rem;font-weight:600;padding:4px 12px}.status-badge.status-active{background:#d1fae5;color:#065f46}.status-badge.status-sold{background:#dbeafe;color:#1e40af}.status-badge.status-dead{background:#fee2e2;color:#991b1b}.status-badge.status-reference{background:#f3f4f6;color:#4b5563}.status-pill{border-radius:4px;display:inline-block;font-size:.85rem;font-weight:500;padding:4px 10px}.status-pill.status-active{background:#d1fae5;color:#065f46}.status-pill.status-sold{background:#dbeafe;color:#1e40af}.status-pill.status-dead{background:#fee2e2;color:#991b1b}.status-pill.status-reference{background:#f3f4f6;color:#4b5563}.record-header-card{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000000d;margin-bottom:20px}.header-display{padding:20px}.header-primary{border-bottom:1px solid #f3f4f6;margin-bottom:20px;padding-bottom:16px}.header-main-info{align-items:center;display:flex;gap:16px}.animal-avatar{align-items:center;background:linear-gradient(135deg,#7a8b6e,#5a6b4e);border-radius:10px;color:#fff;display:flex;height:56px;justify-content:center;width:56px}.animal-avatar svg{height:28px;width:28px}.animal-identity h2{color:#1f2937;font-size:1.4rem;font-weight:600;margin:0 0 4px}.animal-subtitle{color:#6b7280;font-size:.95rem;margin:0}.header-fields{grid-gap:16px 24px;display:grid;gap:16px 24px;grid-template-columns:repeat(4,1fr)}.header-field{display:flex;flex-direction:column;gap:4px}.header-field label{color:#9ca3af;font-size:.75rem;font-weight:600;letter-spacing:.5px;text-transform:uppercase}.header-field span{color:#374151;font-size:.95rem}.header-notes{border-top:1px solid #f3f4f6;margin-top:16px;padding-top:16px}.header-notes label{color:#9ca3af;display:block;font-size:.75rem;font-weight:600;letter-spacing:.5px;margin-bottom:6px;text-transform:uppercase}.header-notes p{color:#4b5563;font-size:.95rem;line-height:1.5;margin:0}.header-form{padding:20px}.header-form-grid{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(2,1fr)}.link-button{background:none;border:none;color:#7a8b6e;cursor:pointer;font-size:inherit;padding:0;text-decoration:none}.link-button:hover{color:#5a6b4e;text-decoration:underline}.record-subtabs-section{background:#fff;border:1px solid #e5e7eb;border-radius:8px;box-shadow:0 1px 3px #0000000d;overflow:hidden}.subtabs-header{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:0 16px 0 0}.subtab,.subtabs-nav{display:flex}.subtab{align-items:center;background:none;border:none;border-bottom:3px solid #0000;color:#6b7280;cursor:pointer;font-size:.9rem;font-weight:500;gap:8px;margin-bottom:-1px;padding:14px 20px;transition:all .15s ease}.subtab:hover{background:#00000005;color:#374151}.subtab.active{background:#fff;border-bottom-color:#7a8b6e;color:#7a8b6e}.subtab svg{height:18px;width:18px}.subtab-count{background:#e5e7eb;border-radius:10px;color:#4b5563;font-size:.75rem;font-weight:600;padding:2px 8px}.subtab.active .subtab-count{background:#7a8b6e;color:#fff}.subtab-content{min-height:300px}.subtab-panel{padding:0}.empty-subtab{align-items:center;color:#9ca3af;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.empty-subtab svg{height:48px;margin-bottom:16px;opacity:.5;width:48px}.empty-subtab p{color:#6b7280;font-size:1rem;margin:0 0 8px}.empty-subtab span.hint{color:#9ca3af;font-size:.85rem;margin-bottom:16px}.subtab-table{border-collapse:collapse;width:100%}.subtab-table th{background:#f9fafb;border-bottom:1px solid #e5e7eb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.5px;padding:10px 16px;text-align:left;text-transform:uppercase}.subtab-table td{border-bottom:1px solid #f3f4f6;color:#374151;font-size:.9rem;padding:12px 16px}.subtab-table tbody tr:hover{background:#f9fafb}.subtab-table tbody tr.clickable{cursor:pointer}.subtab-table tbody tr.clickable:hover{background:#f0f7eb}.actions-cell{display:flex;gap:4px}.type-badge{border-radius:4px;display:inline-block;font-size:.8rem;font-weight:500;padding:3px 10px;text-transform:capitalize}.type-badge.type-vaccination{background:#d1fae5;color:#065f46}.type-badge.type-treatment{background:#fef3c7;color:#92400e}.type-badge.type-illness{background:#fee2e2;color:#991b1b}.type-badge.type-checkup{background:#dbeafe;color:#1e40af}.relationship-badge{border-radius:4px;display:inline-block;font-size:.8rem;font-weight:500;padding:3px 10px}.relationship-badge.dam{background:#fce7f3;color:#9d174d}.relationship-badge.sire{background:#dbeafe;color:#1e40af}.weight-content{padding:0}.weight-summary{grid-gap:20px;background:linear-gradient(135deg,#f9fafb,#f3f4f6);border-bottom:1px solid #e5e7eb;display:grid;gap:20px;grid-template-columns:repeat(3,1fr);padding:20px}.weight-stat{text-align:center}.weight-stat label{color:#9ca3af;display:block;font-size:.75rem;font-weight:600;letter-spacing:.5px;margin-bottom:4px;text-transform:uppercase}.weight-stat .weight-value{color:#374151;display:block;font-size:1.5rem;font-weight:700}.weight-stat .weight-value.positive{color:#059669}.weight-stat .weight-value.negative{color:#dc2626}.weight-stat .weight-date{color:#9ca3af;display:block;font-size:.8rem;margin-top:2px}.weight-change{font-size:.85rem;font-weight:500}.weight-change.positive{color:#059669}.weight-change.negative{color:#dc2626}.weight-change.gain{color:#059669}.overdue,.weight-change.loss{color:#dc2626}.overdue{font-weight:500}.badge-pink{background:#fce7f3;color:#9d174d}.required{color:#dc2626}.status-filter-bar{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px}.status-pill-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:20px;color:#6b7280;cursor:pointer;display:inline-flex;font-size:.85rem;font-weight:500;gap:6px;padding:6px 12px;transition:all .15s ease}.status-pill-btn:hover{background:#f3f4f6;border-color:#d1d5db}.status-pill-btn.active{background:#374151;border-color:#374151;color:#fff}.status-pill-btn.status-active.active{background:#065f46;border-color:#065f46}.status-pill-btn.status-sold.active{background:#1e40af;border-color:#1e40af}.status-pill-btn.status-dead.active{background:#991b1b;border-color:#991b1b}.status-pill-btn.status-processed.active{background:#5b21b6;border-color:#5b21b6}.status-pill-btn.status-reference.active{background:#4b5563;border-color:#4b5563}.status-pill-btn .count{background:#0000001a;border-radius:10px;font-size:.75rem;padding:1px 6px}.status-pill-btn.active .count{background:#fff3}.status-badge.status-processed{background:#ede9fe;color:#5b21b6}.breadcrumb-title{display:flex;flex-direction:column;gap:2px}.breadcrumb-label{color:#9ca3af;font-size:.75rem;font-weight:500;letter-spacing:.5px;text-transform:uppercase}.breadcrumb-title h1{font-size:1.25rem}.assign-toolbar{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:12px;padding:12px 16px}.assign-toolbar .search-box{flex:0 0 250px}.filter-pills{display:flex;gap:6px}.filter-pill{background:#fff;border:1px solid #e5e7eb;border-radius:20px;color:#6b7280;cursor:pointer;font-size:.8rem;font-weight:500;padding:6px 12px;transition:all .15s ease}.filter-pill:hover{background:#f3f4f6;border-color:#d1d5db}.filter-pill.active{background:#7a8b6e;border-color:#7a8b6e;color:#fff}.selection-info{color:#7a8b6e;font-size:.85rem;font-weight:500;margin-left:auto}.assign-list-container{max-height:400px;overflow-y:auto}.assign-table{border-collapse:collapse;width:100%}.assign-table td,.assign-table th{border-bottom:1px solid #e5e7eb;padding:10px 12px;text-align:left}.assign-table th{background:#f9fafb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.5px;position:-webkit-sticky;position:sticky;text-transform:uppercase;top:0;z-index:1}.assign-table tbody tr{cursor:pointer;transition:background .15s ease}.assign-table tbody tr:hover{background:#f9fafb}.assign-table tbody tr.selected{background:#f0fdf4}.assign-table tbody tr.selected:hover{background:#dcfce7}.assign-table input[type=checkbox]{accent-color:#7a8b6e;cursor:pointer;height:16px;width:16px}@media (max-width:1024px){.header-fields,.primary-fields-grid,.weight-summary{grid-template-columns:repeat(3,1fr)}}@media (max-width:768px){.sidebar{display:none}.main-content{margin-left:0}.form-row,.form-row-3{grid-template-columns:1fr}.stats-grid{grid-template-columns:1fr 1fr}.herd-grid,.pasture-grid{grid-template-columns:1fr}.record-page-header{flex-wrap:wrap}.record-title{flex:1 1 100%;margin-top:12px;order:2}.record-actions{justify-content:flex-end;order:3;width:100%}.header-fields,.primary-fields-grid{grid-template-columns:repeat(2,1fr)}.header-form-grid,.primary-fields-grid.editing{grid-template-columns:1fr}.record-header-bar{flex-wrap:wrap}.record-header-bar .record-title{flex:1 1 100%;margin-top:12px;order:2}.record-header-bar .record-actions{margin-top:12px;order:3;width:100%}.subtabs-header{-webkit-overflow-scrolling:touch;overflow-x:auto}.subtab{font-size:.85rem;padding:12px 16px;white-space:nowrap}.weight-summary{gap:16px;grid-template-columns:1fr}}.status-badge{border-radius:12px;display:inline-block;font-size:12px;font-weight:500;padding:4px 10px;text-transform:capitalize}.status-pending{background:#fef3c7;color:#92400e}.status-at-processor{background:#dbeafe;color:#1e40af}.status-complete{background:#d1fae5;color:#065f46}.processing-records-view .stats-cards{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:24px}.processing-records-view .stat-card{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:8px;display:flex;gap:16px;padding:20px}.processing-records-view .stat-icon{align-items:center;background:#f3f4f6;border-radius:12px;color:#6b7280;display:flex;height:48px;justify-content:center;width:48px}.processing-records-view .stat-pending .stat-icon{background:#fef3c7;color:#92400e}.processing-records-view .stat-at-processor .stat-icon{background:#dbeafe;color:#1e40af}.processing-records-view .stat-complete .stat-icon{background:#d1fae5;color:#065f46}.processing-records-view .stat-value{color:#111827;font-size:28px;font-weight:600;line-height:1}.processing-records-view .stat-label{color:#6b7280;font-size:13px;margin-top:4px}.processing-records-view .toolbar{align-items:center;display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;margin-bottom:20px}.processing-records-view .toolbar-left,.processing-records-view .toolbar-right{align-items:center;display:flex;flex-wrap:wrap;gap:12px}.processing-records-view .view-toggle{background:#f3f4f6;border-radius:6px;display:flex;padding:3px}.processing-records-view .selection-toggle .toggle-btn,.processing-records-view .view-toggle .toggle-btn{align-items:center;background:#0000;border:none;border-radius:4px;color:#6b7280;cursor:pointer;display:flex;font-size:14px;gap:6px;padding:8px 14px;transition:all .15s ease}.processing-records-view .selection-toggle .toggle-btn:hover,.processing-records-view .view-toggle .toggle-btn:hover{color:#374151}.processing-records-view .selection-toggle .toggle-btn.active,.processing-records-view .view-toggle .toggle-btn.active{background:#fff;box-shadow:0 1px 2px #0000000d;color:#111827}.processing-records-view .search-box{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:6px;display:flex;gap:8px;min-width:250px;padding:8px 12px}.processing-records-view .search-box input{border:none;flex:1 1;font-size:14px;outline:none}.processing-records-view .search-box svg{color:#9ca3af}.processing-records-view .filter-select{background:#fff;border:1px solid #d1d5db;border-radius:6px;color:#374151;cursor:pointer;font-size:14px;min-width:130px;padding:8px 12px}.processing-records-view .record-name{align-items:center;display:flex;gap:8px}.processing-records-view .record-name svg{color:#9ca3af}.processing-records-view .species-tag{background:#f3f4f6;border-radius:4px;color:#374151;display:inline-block;font-size:12px;padding:2px 8px}.processing-records-view .selection-toggle{background:#f3f4f6;border-radius:6px;display:flex;padding:3px}.processing-records-view .selection-toggle .toggle-btn:disabled{cursor:not-allowed;opacity:.6}.processing-records-view .form-section-header{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:16px}.processing-records-view .form-section-header h4{color:#374151;font-size:14px;font-weight:600;margin:0 0 16px}.processing-records-view .form-row-3{grid-gap:16px;display:grid;gap:16px;grid-template-columns:repeat(3,1fr)}.calendar-view{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:20px}.calendar-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:20px}.calendar-header h3{color:#111827;font-size:18px;font-weight:600;margin:0}.calendar-weekdays{grid-gap:4px;display:grid;gap:4px;grid-template-columns:repeat(7,1fr);margin-bottom:8px}.calendar-weekdays .weekday{color:#6b7280;font-size:12px;font-weight:600;padding:8px;text-align:center;text-transform:uppercase}.calendar-grid{grid-gap:4px;display:grid;gap:4px;grid-template-columns:repeat(7,1fr)}.calendar-day{background:#f9fafb;border-radius:6px;cursor:pointer;min-height:100px;padding:8px;transition:background-color .15s ease}.calendar-day:hover{background:#f3f4f6}.calendar-day.empty{background:#0000;cursor:default}.calendar-day.today{background:#eff6ff;border:2px solid #3b82f6}.calendar-day.has-records{background:#fefce8}.calendar-day .day-number{color:#374151;font-size:14px;font-weight:500;margin-bottom:6px}.calendar-day.today .day-number{color:#1d4ed8;font-weight:600}.calendar-day .day-records{display:flex;flex-direction:column;gap:4px}.calendar-record{border-radius:4px;cursor:pointer;font-size:11px;overflow:hidden;padding:4px 6px;text-overflow:ellipsis;white-space:nowrap}.calendar-record.status-pending{background:#fef3c7;color:#92400e}.calendar-record.status-at_processor{background:#dbeafe;color:#1e40af}.calendar-record.status-complete{background:#d1fae5;color:#065f46}.calendar-day .more-records{color:#6b7280;font-size:10px;padding:2px 4px}@media (max-width:768px){.processing-records-view .toolbar{align-items:stretch;flex-direction:column}.processing-records-view .toolbar-left,.processing-records-view .toolbar-right{flex-wrap:wrap;width:100%}.processing-records-view .search-box{min-width:100%}.processing-records-view .filter-select{flex:1 1}.processing-records-view .form-row-3{grid-template-columns:1fr}.calendar-day{min-height:60px}.calendar-record{font-size:10px;padding:2px 4px}}
/*# sourceMappingURL=main.82dc0ead.css.map*/