.animal-treatments-container{background:#fff;border-radius:1rem;overflow:hidden}.animal-treatments-container.inline-form-mode{background:#f8f9fa}.animal-treatments-container .treatments-header{align-items:center;background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(34,197,94,.05));border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem 1.5rem}.animal-treatments-container .treatments-header.inline-form-header{background:#fff;border-bottom:1px solid #e5e7eb}.animal-treatments-container .treatments-header .header-title{align-items:center;display:flex;gap:.75rem}.animal-treatments-container .treatments-header .header-title .back-btn{border-radius:.25rem;color:#6b7280;padding:6px}.animal-treatments-container .treatments-header .header-title .back-btn:hover{background:rgba(0,0,0,.05);color:#1f2937}.animal-treatments-container .treatments-header .header-title svg{color:#22c55e;flex-shrink:0}.animal-treatments-container .treatments-header .header-title h4{color:#1f2937;font-size:1.05rem;font-weight:600;margin:0}.animal-treatments-container .treatments-header .header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-left:auto}.animal-treatments-container .treatments-header .header-actions .filter-btn,.animal-treatments-container .treatments-header .header-actions .refresh-btn{align-items:center;border-radius:.25rem;display:flex;font-size:.75rem;font-weight:500;gap:6px;padding:6px .75rem}.animal-treatments-container .treatments-header .header-actions .filter-btn svg,.animal-treatments-container .treatments-header .header-actions .refresh-btn svg{flex-shrink:0}.animal-treatments-container .treatments-header .header-actions .filter-btn svg.spin,.animal-treatments-container .treatments-header .header-actions .refresh-btn svg.spin{animation:spin 1s linear infinite}.animal-treatments-container .treatments-header .header-actions .view-toggle{border:1px solid #e5e7eb;border-radius:.25rem;display:flex;gap:2px;overflow:hidden}.animal-treatments-container .treatments-header .header-actions .view-toggle .btn{align-items:center;border:none;border-radius:0;display:flex;padding:6px .75rem}.animal-treatments-container .treatments-header>.add-btn{align-items:center;background:#22c55e;border-color:#22c55e;border-radius:.25rem;display:flex;font-size:.75rem;font-weight:600;gap:6px;padding:6px 1rem}.animal-treatments-container .treatments-header>.add-btn:hover{background:#16a34a;border-color:#16a34a}.animal-treatments-container .animal-context-banner{align-items:center;background:#f8f9fa;border-bottom:1px solid #e5e7eb;display:flex;padding:.75rem 1.5rem}.animal-treatments-container .animal-context-banner .animal-info{align-items:center;display:flex;gap:.75rem}.animal-treatments-container .animal-context-banner .animal-info .animal-emoji{font-size:28px;line-height:1}.animal-treatments-container .animal-context-banner .animal-info .animal-details{display:flex;flex-direction:column;gap:2px}.animal-treatments-container .animal-context-banner .animal-info .animal-details strong{color:#1f2937;font-size:.95rem}.animal-treatments-container .animal-context-banner .animal-info .animal-details .animal-tag{color:#6b7280;font-size:.8rem}.animal-treatments-container .filters-panel{align-items:flex-end;background:#f8f9fa;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:1rem;padding:1rem 1.5rem}.animal-treatments-container .filters-panel .filter-group{display:flex;flex-direction:column;gap:4px;min-width:140px}.animal-treatments-container .filters-panel .filter-group label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.animal-treatments-container .filters-panel .filter-group .filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:.25rem;color:#1f2937;font-size:.85rem;padding:6px .75rem}.animal-treatments-container .filters-panel .filter-group .filter-select:focus{border-color:#22c55e;box-shadow:0 0 0 2px rgba(34,197,94,.1);outline:none}.animal-treatments-container .filters-panel .clear-filters{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:inline-flex;font-size:13px;gap:4px;padding:4px 8px;text-decoration:none;white-space:nowrap}.animal-treatments-container .filters-panel .clear-filters:hover{color:#dc2626;text-decoration:none}.animal-treatments-container .treatment-stats{align-items:center;display:flex;gap:4px}.animal-treatments-container .treatment-stats .stat-item{align-items:center;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:3px;padding:3px 8px;white-space:nowrap}.animal-treatments-container .treatment-stats .stat-item .stat-value{color:#1f2937;font-size:12px;font-weight:700}.animal-treatments-container .treatment-stats .stat-item .stat-label{color:#9ca3af;font-size:11px;font-weight:500}.animal-treatments-container .treatment-stats .stat-item.completed{background:rgba(34,197,94,.05);border-color:rgba(34,197,94,.3)}.animal-treatments-container .treatment-stats .stat-item.completed .stat-value{color:#22c55e}.animal-treatments-container .treatment-stats .stat-item.ongoing{background:rgba(59,130,246,.05);border-color:rgba(59,130,246,.3)}.animal-treatments-container .treatment-stats .stat-item.ongoing .stat-value{color:#3b82f6}.animal-treatments-container .treatment-stats .stat-item.planned{background:rgba(250,140,22,.05);border-color:rgba(250,140,22,.3)}.animal-treatments-container .treatment-stats .stat-item.planned .stat-value{color:#fa8c16}.animal-treatments-container .treatments-content{padding:1rem 1.5rem}.animal-treatments-container .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:.75rem;justify-content:center;padding:3rem 1.5rem}.animal-treatments-container .loading-state .spin{animation:spin 1s linear infinite}.animal-treatments-container .empty-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:3rem 1.5rem;text-align:center}.animal-treatments-container .empty-state .empty-icon{color:#9ca3af;margin-bottom:1rem;opacity:.5}.animal-treatments-container .empty-state h5{color:#1f2937;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.animal-treatments-container .empty-state p{color:#6b7280;font-size:.9rem;margin-bottom:1.5rem;max-width:400px}.animal-treatments-container .empty-state .btn-primary{background:#22c55e;border-color:#22c55e}.animal-treatments-container .empty-state .btn-primary:hover{background:#16a34a}.animal-treatments-container .treatments-table-wrapper{border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden}.animal-treatments-container .treatments-table-wrapper .treatments-table{font-size:.85rem;margin:0;width:100%}.animal-treatments-container .treatments-table-wrapper .treatments-table thead{background:#f8f9fa}.animal-treatments-container .treatments-table-wrapper .treatments-table thead th{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:.75rem;text-transform:uppercase;white-space:nowrap}.animal-treatments-container .treatments-table-wrapper .treatments-table tbody tr{transition:background .15s ease}.animal-treatments-container .treatments-table-wrapper .treatments-table tbody tr:hover{background:rgba(34,197,94,.03)}.animal-treatments-container .treatments-table-wrapper .treatments-table tbody tr td{border-color:#e5e7eb;padding:.75rem;vertical-align:middle}.animal-treatments-container .treatments-table-wrapper .treatments-table .treatment-info strong{color:#1f2937;display:block;font-size:.85rem}.animal-treatments-container .treatments-table-wrapper .treatments-table .treatment-info .urgency-indicator{margin-top:4px}.animal-treatments-container .treatments-table-wrapper .treatments-table .medication-info small{font-size:.75rem}.animal-treatments-container .treatments-table-wrapper .treatments-table .actions-col{text-align:right;width:100px}.animal-treatments-container .treatments-table-wrapper .treatments-table .action-buttons{display:flex;gap:4px;justify-content:flex-end}.animal-treatments-container .treatments-table-wrapper .treatments-table .action-buttons .btn{align-items:center;display:flex;justify-content:center;padding:4px .5rem}.animal-treatments-container .status-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px .5rem}.animal-treatments-container .status-badge.completed{background:rgba(34,197,94,.15);color:#16a34a}.animal-treatments-container .status-badge.ongoing{animation:pulse-ongoing 2s infinite;background:rgba(59,130,246,.15);color:#1d4ed8}.animal-treatments-container .status-badge.planned{background:rgba(99,102,241,.15);color:#4f46e5}.animal-treatments-container .status-badge.pending{background:rgba(250,140,22,.15);color:#d97706}.animal-treatments-container .status-badge.approved{background:rgba(34,197,94,.15);color:#16a34a}.animal-treatments-container .status-badge.cancelled,.animal-treatments-container .status-badge.discontinued,.animal-treatments-container .status-badge.rejected{background:hsla(220,9%,46%,.15);color:#475569}.animal-treatments-container .status-badge.emergency{animation:pulse-emergency 1.5s infinite;background:rgba(239,68,68,.15);color:#dc2626}.animal-treatments-container .status-badge.on-hold{background:rgba(250,140,22,.15);color:#d97706}.animal-treatments-container .type-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px .5rem}.animal-treatments-container .type-badge.medication{background:rgba(59,130,246,.1);color:#3b82f6}.animal-treatments-container .type-badge.surgery{background:rgba(239,68,68,.1);color:#ef4444}.animal-treatments-container .type-badge.vaccination{background:rgba(34,197,94,.1);color:#22c55e}.animal-treatments-container .type-badge.therapy{background:rgba(236,72,153,.1);color:#ec4899}.animal-treatments-container .type-badge.emergency{background:rgba(239,68,68,.1);color:#ef4444}.animal-treatments-container .type-badge.wound-care{background:rgba(236,72,153,.1);color:#ec4899}.animal-treatments-container .type-badge.deworming{background:rgba(114,46,209,.1);color:#722ed1}.animal-treatments-container .type-badge.pain-management{background:rgba(236,72,153,.1);color:#ec4899}.animal-treatments-container .type-badge.preventive{background:rgba(20,184,166,.1);color:#14b8a6}.animal-treatments-container .type-badge.followup{background:rgba(250,140,22,.1);color:#fa8c16}.animal-treatments-container .type-badge.diagnostic,.animal-treatments-container .type-badge.examination{background:rgba(99,102,241,.1);color:#6366f1}.animal-treatments-container .type-badge.other{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-treatments-container .urgency-badge{align-items:center;border-radius:1rem;display:inline-flex;font-size:.65rem;font-weight:600;letter-spacing:.05em;padding:2px .5rem;text-transform:uppercase}.animal-treatments-container .urgency-badge.low{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-treatments-container .urgency-badge.normal{background:rgba(59,130,246,.1);color:#3b82f6}.animal-treatments-container .urgency-badge.high{background:rgba(250,140,22,.1);color:#fa8c16}.animal-treatments-container .urgency-badge.urgent{background:rgba(250,140,22,.15);color:#ea580c}.animal-treatments-container .urgency-badge.critical,.animal-treatments-container .urgency-badge.emergency,.animal-treatments-container .urgency-badge.life-threatening{animation:pulse-emergency 1s infinite;background:rgba(239,68,68,.1);color:#ef4444}.animal-treatments-container .treatments-cards{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.animal-treatments-container .animal-treatment-card{background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden;transition:all .15s ease}.animal-treatments-container .animal-treatment-card:hover{border-color:rgba(34,197,94,.3);box-shadow:0 4px 6px rgba(0,0,0,.07)}.animal-treatments-container .animal-treatment-card .treatment-card-header{background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(34,197,94,.03));border-bottom:1px solid #e5e7eb;padding:.75rem 1rem}.animal-treatments-container .animal-treatment-card .treatment-card-header .treatment-info .treatment-name{color:#1f2937;font-size:.95rem;font-weight:600;margin:0 0 .5rem}.animal-treatments-container .animal-treatment-card .treatment-card-header .treatment-info .treatment-badges{display:flex;flex-wrap:wrap;gap:6px}.animal-treatments-container .animal-treatment-card .treatment-card-body{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem}.animal-treatments-container .animal-treatment-card .treatment-card-body .treatment-detail{align-items:center;color:#6b7280;display:flex;font-size:.85rem;gap:6px}.animal-treatments-container .animal-treatment-card .treatment-card-body .treatment-detail svg{color:#9ca3af;flex-shrink:0}.animal-treatments-container .animal-treatment-card .treatment-card-actions{background:#f8f9fa;border-top:1px solid #e5e7eb;display:flex;gap:.5rem;justify-content:flex-end;padding:.75rem 1rem}.animal-treatments-container .animal-treatment-card .treatment-card-actions .btn{align-items:center;display:flex;font-size:.8rem;font-weight:500;gap:4px;padding:5px .75rem}@keyframes pulse-ongoing{0%,to{opacity:1}50%{opacity:.7}}@keyframes pulse-emergency{0%,to{box-shadow:0 0 0 0 rgba(239,68,68,.4);opacity:1}50%{box-shadow:0 0 0 4px rgba(239,68,68,.1);opacity:.85}}@media(max-width:1023px){.animal-treatments-container .treatments-header{align-items:center;display:grid;grid-template-columns:1fr auto}.animal-treatments-container .treatments-header .header-title{grid-column:1;grid-row:1}.animal-treatments-container .treatments-header>.add-btn{grid-column:2;grid-row:1;justify-self:end}.animal-treatments-container .treatments-header .header-actions{gap:6px;grid-column:1/-1;grid-row:2;margin-left:0}.animal-treatments-container .treatment-stats{flex-wrap:wrap}}@media(min-width:769px)and (max-width:1399px){.animal-treatments-container .treatments-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media(max-width:768px){.animal-treatments-container .treatments-header{padding:.75rem 1rem}.animal-treatments-container .treatments-header .header-title h4{font-size:.95rem}.animal-treatments-container .filters-panel{flex-direction:column;padding:.75rem 1rem}.animal-treatments-container .filters-panel .filter-group{width:100%}.animal-treatments-container .treatment-stats{flex-wrap:wrap;order:10;width:100%}.animal-treatments-container .treatments-content{padding:.75rem 1rem}.animal-treatments-container .treatments-cards{grid-template-columns:1fr}.animal-treatments-container .animal-context-banner{padding:.75rem 1rem}.animal-treatments-container .animal-context-banner .animal-info .animal-emoji{font-size:24px}}@media(prefers-reduced-motion:reduce){.animal-treatments-container *,.animal-treatments-container :after,.animal-treatments-container :before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media print{.animal-treatments-container .action-buttons,.animal-treatments-container .filters-panel,.animal-treatments-container .treatment-card-actions,.animal-treatments-container .treatments-header .header-actions{display:none!important}.animal-treatments-container .animal-treatment-card,.animal-treatments-container .treatments-table-wrapper{border:1px solid #ccc;box-shadow:none;-moz-column-break-inside:avoid;break-inside:avoid}}.treatment-form-overlay{bottom:0;display:flex;justify-content:flex-end;left:0;position:fixed;right:0;top:70px;z-index:1000}.treatment-form-overlay .overlay-backdrop{background:rgba(0,0,0,.3);inset:0;position:absolute}.treatment-form-overlay .form-panel{animation:slideIn .25s ease-out;background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100%;max-width:800px;position:relative;width:100%}.treatment-form-overlay .form-panel .form-panel-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.treatment-form-overlay .form-panel .form-panel-header .form-panel-title{align-items:center;color:#22c55e;display:flex;gap:.5rem}.treatment-form-overlay .form-panel .form-panel-header .form-panel-title h3{color:#1f2937;font-size:1.15rem;font-weight:700;margin:0}.treatment-form-overlay .form-panel .form-panel-header .close-btn{background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:1.5rem;line-height:1;padding:4px}.treatment-form-overlay .form-panel .form-panel-header .close-btn:hover{background:#f8f9fa;color:#1f2937}.treatment-form-overlay .form-panel .treatment-inline-form{flex:1;overflow-y:auto;padding:1rem 1.5rem}.treatment-form-overlay .form-panel .form-action-footer{border-top:1px solid #e5e7eb;box-shadow:none;flex-shrink:0;margin-top:0;position:static!important}@media(max-width:768px){.treatment-form-overlay .form-panel{max-width:100%}}.animal-vaccinations-container{background:#fff;border-radius:1rem;overflow:hidden}.animal-vaccinations-container.inline-form-mode{background:#f8f9fa}.animal-vaccinations-container .vaccinations-header{align-items:center;background:linear-gradient(135deg,rgba(114,46,209,.1),rgba(114,46,209,.05));border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:.75rem;padding:1rem 1.5rem}.animal-vaccinations-container .vaccinations-header.inline-form-header{background:#fff;border-bottom:1px solid #e5e7eb}.animal-vaccinations-container .vaccinations-header .header-title{align-items:center;display:flex;gap:.75rem}.animal-vaccinations-container .vaccinations-header .header-title .back-btn{border-radius:.25rem;color:#6b7280;padding:6px}.animal-vaccinations-container .vaccinations-header .header-title .back-btn:hover{background:rgba(0,0,0,.05);color:#1f2937}.animal-vaccinations-container .vaccinations-header .header-title svg{color:#722ed1;flex-shrink:0}.animal-vaccinations-container .vaccinations-header .header-title h4{color:#1f2937;font-size:1.05rem;font-weight:600;margin:0}.animal-vaccinations-container .vaccinations-header .header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:.5rem;margin-left:auto}.animal-vaccinations-container .vaccinations-header .header-actions .filter-btn,.animal-vaccinations-container .vaccinations-header .header-actions .refresh-btn{align-items:center;border-radius:.25rem;display:flex;font-size:.75rem;font-weight:500;gap:6px;padding:6px .75rem}.animal-vaccinations-container .vaccinations-header .header-actions .filter-btn svg,.animal-vaccinations-container .vaccinations-header .header-actions .refresh-btn svg{flex-shrink:0}.animal-vaccinations-container .vaccinations-header .header-actions .filter-btn svg.spin,.animal-vaccinations-container .vaccinations-header .header-actions .refresh-btn svg.spin{animation:spin 1s linear infinite}.animal-vaccinations-container .vaccinations-header .header-actions .view-toggle{border:1px solid #e5e7eb;border-radius:.25rem;display:flex;gap:2px;overflow:hidden}.animal-vaccinations-container .vaccinations-header .header-actions .view-toggle .btn{align-items:center;border:none;border-radius:0;display:flex;padding:6px .75rem}.animal-vaccinations-container .vaccinations-header>.add-btn{align-items:center;background:#722ed1;border-color:#722ed1;border-radius:.25rem;display:flex;font-size:.75rem;font-weight:600;gap:6px;padding:6px 1rem}.animal-vaccinations-container .vaccinations-header>.add-btn:hover{background:#6027b0;border-color:#6027b0}.animal-vaccinations-container .animal-context-banner{align-items:center;background:#f8f9fa;border-bottom:1px solid #e5e7eb;display:flex;padding:.75rem 1.5rem}.animal-vaccinations-container .animal-context-banner .animal-info{align-items:center;display:flex;gap:.75rem}.animal-vaccinations-container .animal-context-banner .animal-info .animal-emoji{font-size:28px;line-height:1}.animal-vaccinations-container .animal-context-banner .animal-info .animal-details{display:flex;flex-direction:column;gap:2px}.animal-vaccinations-container .animal-context-banner .animal-info .animal-details strong{color:#1f2937;font-size:.95rem}.animal-vaccinations-container .animal-context-banner .animal-info .animal-details .animal-tag{color:#6b7280;font-size:.8rem}.animal-vaccinations-container .filters-panel{align-items:flex-end;background:#f8f9fa;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:1rem;padding:1rem 1.5rem}.animal-vaccinations-container .filters-panel .filter-group{display:flex;flex-direction:column;gap:4px;min-width:140px}.animal-vaccinations-container .filters-panel .filter-group label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.animal-vaccinations-container .filters-panel .filter-group .filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:.25rem;color:#1f2937;font-size:.85rem;padding:6px .75rem}.animal-vaccinations-container .filters-panel .filter-group .filter-select:focus{border-color:#722ed1;box-shadow:0 0 0 2px rgba(114,46,209,.1);outline:none}.animal-vaccinations-container .filters-panel .clear-filters{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:inline-flex;font-size:13px;gap:4px;padding:4px 8px;text-decoration:none;white-space:nowrap}.animal-vaccinations-container .filters-panel .clear-filters:hover{color:#dc2626;text-decoration:none}.animal-vaccinations-container .vaccination-stats{align-items:center;display:flex;gap:4px}.animal-vaccinations-container .vaccination-stats .stat-item{align-items:center;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:3px;padding:3px 8px;white-space:nowrap}.animal-vaccinations-container .vaccination-stats .stat-item .stat-value{color:#1f2937;font-size:12px;font-weight:700}.animal-vaccinations-container .vaccination-stats .stat-item .stat-label{color:#9ca3af;font-size:11px;font-weight:500}.animal-vaccinations-container .vaccination-stats .stat-item.completed{background:rgba(34,197,94,.05);border-color:rgba(34,197,94,.3)}.animal-vaccinations-container .vaccination-stats .stat-item.completed .stat-value{color:#22c55e}.animal-vaccinations-container .vaccination-stats .stat-item.overdue{background:rgba(239,68,68,.05);border-color:rgba(239,68,68,.3)}.animal-vaccinations-container .vaccination-stats .stat-item.overdue .stat-value{color:#ef4444}.animal-vaccinations-container .vaccination-stats .stat-item.due-soon{background:rgba(250,140,22,.05);border-color:rgba(250,140,22,.3)}.animal-vaccinations-container .vaccination-stats .stat-item.due-soon .stat-value{color:#fa8c16}.animal-vaccinations-container .vaccinations-content{min-height:200px;padding:1rem 1.5rem}.animal-vaccinations-container .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:.75rem;justify-content:center;padding:3rem 1.5rem}.animal-vaccinations-container .loading-state .spin{animation:spin 1s linear infinite}.animal-vaccinations-container .empty-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:3rem 1.5rem;text-align:center}.animal-vaccinations-container .empty-state .empty-icon{color:#9ca3af;margin-bottom:1rem;opacity:.5}.animal-vaccinations-container .empty-state h5{color:#1f2937;font-size:1.1rem;font-weight:600;margin-bottom:.5rem}.animal-vaccinations-container .empty-state p{color:#6b7280;font-size:.9rem;margin-bottom:1.5rem;max-width:400px}.animal-vaccinations-container .empty-state .btn-primary{background:#722ed1;border-color:#722ed1}.animal-vaccinations-container .empty-state .btn-primary:hover{background:#6027b0}.animal-vaccinations-container .vaccinations-table-wrapper{border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table{font-size:.85rem;margin:0;width:100%}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table thead{background:#f8f9fa}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table thead th{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:.75rem;text-transform:uppercase;white-space:nowrap}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table thead th.actions-col{text-align:right;width:100px}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table tbody tr{transition:background .15s ease}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table tbody tr:hover{background:rgba(114,46,209,.03)}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table tbody tr td{border-color:#e5e7eb;padding:.75rem;vertical-align:middle}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .vaccine-info strong{color:#1f2937;display:block;font-size:.85rem}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .vaccine-info small{font-size:.75rem}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .next-due-cell{display:flex;flex-direction:column;gap:4px}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .urgency-indicator{border-radius:4px;display:inline-block;font-size:.7rem;font-weight:600;padding:2px 6px}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .urgency-indicator.critical{background:rgba(239,68,68,.1);color:#ef4444}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .urgency-indicator.high{background:rgba(250,140,22,.1);color:#fa8c16}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .urgency-indicator.medium{background:rgba(59,130,246,.1);color:#3b82f6}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .actions-col{text-align:right;width:100px}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .action-buttons{display:flex;gap:4px;justify-content:flex-end}.animal-vaccinations-container .vaccinations-table-wrapper .vaccinations-table .action-buttons .btn{align-items:center;display:flex;justify-content:center;padding:4px .5rem}.animal-vaccinations-container .status-badge{align-items:center;border:none;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px .5rem}.animal-vaccinations-container .status-badge.completed{background:rgba(34,197,94,.1);color:#22c55e}.animal-vaccinations-container .status-badge.overdue{background:rgba(239,68,68,.1);color:#ef4444}.animal-vaccinations-container .status-badge.due-soon{background:rgba(250,140,22,.1);color:#fa8c16}.animal-vaccinations-container .status-badge.scheduled{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-vaccinations-container .type-badge{align-items:center;border:none;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px .5rem}.animal-vaccinations-container .type-badge.preventive{background:rgba(20,184,166,.1);color:#14b8a6}.animal-vaccinations-container .type-badge.therapeutic{background:rgba(59,130,246,.1);color:#3b82f6}.animal-vaccinations-container .type-badge.booster{background:rgba(34,197,94,.1);color:#22c55e}.animal-vaccinations-container .type-badge.mandatory{background:rgba(239,68,68,.1);color:#ef4444}.animal-vaccinations-container .type-badge.optional{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-vaccinations-container .vaccinations-cards{display:grid;gap:.75rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.animal-vaccinations-container .animal-vaccination-card{background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden;transition:all .15s ease}.animal-vaccinations-container .animal-vaccination-card:hover{border-color:rgba(114,46,209,.3);box-shadow:0 4px 6px rgba(0,0,0,.07)}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-header{background:linear-gradient(135deg,rgba(114,46,209,.1),rgba(114,46,209,.03));border-bottom:1px solid #e5e7eb;padding:.75rem 1rem}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-header .vaccination-info .vaccination-name{color:#1f2937;font-size:.95rem;font-weight:600;margin:0 0 .5rem}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-header .vaccination-info .vaccination-badges{display:flex;flex-wrap:wrap;gap:6px}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-body{display:flex;flex-direction:column;gap:.5rem;padding:.75rem 1rem}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-body .vaccination-detail{align-items:center;color:#6b7280;display:flex;font-size:.85rem;gap:6px}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-body .vaccination-detail svg{color:#9ca3af;flex-shrink:0}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-body .vaccination-detail .urgency-indicator{margin-left:.5rem}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-actions{background:#f8f9fa;border-top:1px solid #e5e7eb;display:flex;gap:.5rem;justify-content:flex-end;padding:.75rem 1rem}.animal-vaccinations-container .animal-vaccination-card .vaccination-card-actions .btn{align-items:center;display:flex;font-size:.8rem;font-weight:500;gap:4px;padding:5px .75rem}@media(max-width:1023px){.animal-vaccinations-container .vaccinations-header{align-items:center;display:grid;grid-template-columns:1fr auto}.animal-vaccinations-container .vaccinations-header .header-title{grid-column:1;grid-row:1}.animal-vaccinations-container .vaccinations-header>.add-btn{grid-column:2;grid-row:1;justify-self:end}.animal-vaccinations-container .vaccinations-header .header-actions{gap:6px;grid-column:1/-1;grid-row:2;margin-left:0}.animal-vaccinations-container .vaccination-stats{flex-wrap:wrap}}@media(min-width:769px)and (max-width:1399px){.animal-vaccinations-container .vaccinations-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media(max-width:768px){.animal-vaccinations-container .vaccinations-header{padding:.75rem 1rem}.animal-vaccinations-container .vaccinations-header .header-title h4{font-size:.95rem}.animal-vaccinations-container .filters-panel{flex-direction:column;padding:.75rem 1rem}.animal-vaccinations-container .filters-panel .filter-group{width:100%}.animal-vaccinations-container .vaccination-stats{flex-wrap:wrap;order:10;width:100%}.animal-vaccinations-container .vaccinations-content{padding:.75rem 1rem}.animal-vaccinations-container .vaccinations-cards{grid-template-columns:1fr}.animal-vaccinations-container .animal-context-banner{padding:.75rem 1rem}.animal-vaccinations-container .animal-context-banner .animal-info .animal-emoji{font-size:24px}}@media(prefers-reduced-motion:reduce){.animal-vaccinations-container *,.animal-vaccinations-container :after,.animal-vaccinations-container :before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}@media print{.animal-vaccinations-container .action-buttons,.animal-vaccinations-container .filters-panel,.animal-vaccinations-container .vaccination-card-actions,.animal-vaccinations-container .vaccinations-header .header-actions{display:none!important}.animal-vaccinations-container .animal-vaccination-card,.animal-vaccinations-container .vaccinations-table-wrapper{border:1px solid #ccc;box-shadow:none;-moz-column-break-inside:avoid;break-inside:avoid}}.vaccination-form-overlay{bottom:0;display:flex;justify-content:flex-end;left:0;position:fixed;right:0;top:70px;z-index:1000}.vaccination-form-overlay .overlay-backdrop{background:rgba(0,0,0,.3);inset:0;position:absolute}.vaccination-form-overlay .form-panel{animation:vaccinationSlideIn .25s ease-out;background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100%;max-width:800px;position:relative;width:100%}.vaccination-form-overlay .form-panel .form-panel-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.vaccination-form-overlay .form-panel .form-panel-header .form-panel-title{align-items:center;color:#22c55e;display:flex;gap:.5rem}.vaccination-form-overlay .form-panel .form-panel-header .form-panel-title h3{color:#1f2937;font-size:1.15rem;font-weight:700;margin:0}.vaccination-form-overlay .form-panel .form-panel-header .close-btn{background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:1.5rem;line-height:1;padding:4px}.vaccination-form-overlay .form-panel .form-panel-header .close-btn:hover{background:#f8f9fa;color:#1f2937}.vaccination-form-overlay .form-panel .vaccination-inline-form{flex:1;overflow-y:auto;padding:1rem 1.5rem}.vaccination-form-overlay .form-panel .form-action-footer{border-top:1px solid #e5e7eb;box-shadow:none;flex-shrink:0;margin-top:0;position:static!important}@keyframes vaccinationSlideIn{0%{transform:translateX(100%)}to{transform:translateX(0)}}@media(max-width:768px){.vaccination-form-overlay .form-panel{max-width:100%}}.animal-weight-tracking-container{background:#fff;border-radius:1rem;overflow:hidden}.animal-weight-tracking-container.inline-form-mode{background:#f8faf8}.animal-weight-tracking-container .weight-tracking-header{align-items:center;background:linear-gradient(135deg,rgba(6,182,212,.1),rgba(6,182,212,.05));border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:12px;padding:16px 20px}.animal-weight-tracking-container .weight-tracking-header.inline-form-header{background:#fff;border-bottom:1px solid #e5e7eb}.animal-weight-tracking-container .weight-tracking-header .header-title{align-items:center;display:flex;gap:10px}.animal-weight-tracking-container .weight-tracking-header .header-title .back-btn{border-radius:.25rem;color:#6b7280;padding:6px}.animal-weight-tracking-container .weight-tracking-header .header-title .back-btn:hover{background:rgba(0,0,0,.05);color:#1f2937}.animal-weight-tracking-container .weight-tracking-header .header-title svg{color:#06b6d4;flex-shrink:0}.animal-weight-tracking-container .weight-tracking-header .header-title h4{color:#1f2937;font-size:1.05rem;font-weight:600;margin:0}.animal-weight-tracking-container .weight-tracking-header .header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.animal-weight-tracking-container .weight-tracking-header .header-actions .filter-btn,.animal-weight-tracking-container .weight-tracking-header .header-actions .refresh-btn{align-items:center;border-radius:.25rem;display:flex;font-size:13px;font-weight:500;gap:6px;padding:6px 12px}.animal-weight-tracking-container .weight-tracking-header .header-actions .filter-btn svg,.animal-weight-tracking-container .weight-tracking-header .header-actions .refresh-btn svg{flex-shrink:0}.animal-weight-tracking-container .weight-tracking-header .header-actions .filter-btn svg.spin,.animal-weight-tracking-container .weight-tracking-header .header-actions .refresh-btn svg.spin{animation:spin 1s linear infinite}.animal-weight-tracking-container .weight-tracking-header .header-actions .view-toggle{border:1px solid #e5e7eb;border-radius:.25rem;display:flex;gap:2px;overflow:hidden}.animal-weight-tracking-container .weight-tracking-header .header-actions .view-toggle .btn{align-items:center;border:none;border-radius:0;display:flex;padding:6px 10px}.animal-weight-tracking-container .weight-tracking-header>.add-btn{align-items:center;background:#06b6d4;border-color:#06b6d4;border-radius:.25rem;display:flex;font-size:13px;font-weight:600;gap:6px;padding:6px 14px}.animal-weight-tracking-container .weight-tracking-header>.add-btn:hover{background:#0891b2;border-color:#0891b2}.animal-weight-tracking-container .animal-context-banner{align-items:center;background:#f8faf8;border-bottom:1px solid #e5e7eb;display:flex;padding:12px 20px}.animal-weight-tracking-container .animal-context-banner .animal-info{align-items:center;display:flex;gap:12px}.animal-weight-tracking-container .animal-context-banner .animal-info .animal-emoji{font-size:28px;line-height:1}.animal-weight-tracking-container .animal-context-banner .animal-info .animal-details{display:flex;flex-direction:column;gap:2px}.animal-weight-tracking-container .animal-context-banner .animal-info .animal-details strong{color:#1f2937;font-size:.95rem}.animal-weight-tracking-container .animal-context-banner .animal-info .animal-details .animal-tag{color:#6b7280;font-size:.8rem}.animal-weight-tracking-container .animal-context-banner .animal-info .animal-details .current-weight{color:#06b6d4;font-size:.75rem;font-weight:600}.animal-weight-tracking-container .filters-panel{align-items:flex-end;background:#f8faf8;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:16px;padding:14px 20px}.animal-weight-tracking-container .filters-panel .filter-group{display:flex;flex-direction:column;gap:4px;min-width:140px}.animal-weight-tracking-container .filters-panel .filter-group label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.animal-weight-tracking-container .filters-panel .filter-group .filter-select{background:#fff;border:1px solid #e5e7eb;border-radius:.25rem;color:#1f2937;font-size:.85rem;padding:6px 10px}.animal-weight-tracking-container .filters-panel .filter-group .filter-select:focus{border-color:#06b6d4;box-shadow:0 0 0 2px rgba(6,182,212,.1);outline:none}.animal-weight-tracking-container .filters-panel .clear-filters{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:inline-flex;font-size:13px;gap:4px;padding:4px 8px;text-decoration:none;white-space:nowrap}.animal-weight-tracking-container .filters-panel .clear-filters:hover{color:#dc2626;text-decoration:none}.animal-weight-tracking-container .weight-stats{align-items:center;display:flex;gap:4px}.animal-weight-tracking-container .weight-stats .stat-item{align-items:center;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:3px;padding:3px 8px;white-space:nowrap}.animal-weight-tracking-container .weight-stats .stat-item .stat-value{color:#1f2937;font-size:12px;font-weight:700}.animal-weight-tracking-container .weight-stats .stat-item .stat-label{color:#9ca3af;font-size:11px;font-weight:500}.animal-weight-tracking-container .weight-stats .stat-item.current{background:rgba(6,182,212,.05);border-color:rgba(6,182,212,.3)}.animal-weight-tracking-container .weight-stats .stat-item.current .stat-value{color:#06b6d4}.animal-weight-tracking-container .weight-stats .stat-item.total{background:rgba(99,102,241,.05);border-color:rgba(99,102,241,.3)}.animal-weight-tracking-container .weight-stats .stat-item.total .stat-value{color:#6366f1}.animal-weight-tracking-container .weight-stats .stat-item.gain{background:rgba(34,197,94,.05);border-color:rgba(34,197,94,.3)}.animal-weight-tracking-container .weight-stats .stat-item.gain .stat-value{color:#22c55e}.animal-weight-tracking-container .weight-stats .stat-item.loss{background:rgba(239,68,68,.05);border-color:rgba(239,68,68,.3)}.animal-weight-tracking-container .weight-stats .stat-item.loss .stat-value{color:#ef4444}.animal-weight-tracking-container .weight-stats .stat-item.adg{background:rgba(20,184,166,.05);border-color:rgba(20,184,166,.3)}.animal-weight-tracking-container .weight-stats .stat-item.adg .stat-value{color:#14b8a6}.animal-weight-tracking-container .weight-stats .stat-item.bcs{background:rgba(139,92,246,.05);border-color:rgba(139,92,246,.3)}.animal-weight-tracking-container .weight-stats .stat-item.bcs .stat-value{color:#8b5cf6}.animal-weight-tracking-container .growth-progress-section{background:linear-gradient(135deg,rgba(6,182,212,.1),rgba(6,182,212,.03));border-bottom:1px solid #e5e7eb;padding:12px 20px}.animal-weight-tracking-container .growth-progress-section .progress-header{align-items:center;color:#6b7280;display:flex;font-size:.8rem;font-weight:500;justify-content:space-between;margin-bottom:8px}.animal-weight-tracking-container .growth-progress-section .growth-progress-bar{background:rgba(6,182,212,.2);border-radius:5px;height:10px}.animal-weight-tracking-container .growth-progress-section .growth-progress-bar .progress-bar{background:linear-gradient(90deg,#06b6d4,#14b8a6);border-radius:5px}.animal-weight-tracking-container .growth-progress-section .progress-labels{color:#9ca3af;display:flex;font-size:.7rem;justify-content:space-between;margin-top:6px}.animal-weight-tracking-container .weight-tracking-content{min-height:200px;padding:16px 20px}.animal-weight-tracking-container .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:60px 20px}.animal-weight-tracking-container .loading-state .spin{animation:spin 1s linear infinite}.animal-weight-tracking-container .empty-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.animal-weight-tracking-container .empty-state .empty-icon{color:#9ca3af;margin-bottom:16px;opacity:.5}.animal-weight-tracking-container .empty-state h5{color:#1f2937;font-size:1.1rem;font-weight:600;margin-bottom:8px}.animal-weight-tracking-container .empty-state p{color:#6b7280;font-size:.9rem;margin-bottom:20px;max-width:400px}.animal-weight-tracking-container .empty-state .btn-primary{background:#06b6d4;border-color:#06b6d4}.animal-weight-tracking-container .empty-state .btn-primary:hover{background:#0891b2}.animal-weight-tracking-container .weight-table-wrapper{border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden}.animal-weight-tracking-container .weight-table-wrapper .weight-table{font-size:.85rem;margin:0;width:100%}.animal-weight-tracking-container .weight-table-wrapper .weight-table thead{background:#f8faf8}.animal-weight-tracking-container .weight-table-wrapper .weight-table thead th{border-bottom:2px solid #e5e7eb;color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;padding:10px 12px;text-transform:uppercase;white-space:nowrap}.animal-weight-tracking-container .weight-table-wrapper .weight-table tbody tr{transition:background .15s ease}.animal-weight-tracking-container .weight-table-wrapper .weight-table tbody tr:hover{background:rgba(6,182,212,.03)}.animal-weight-tracking-container .weight-table-wrapper .weight-table tbody tr td{border-color:#e5e7eb;padding:10px 12px;vertical-align:middle}.animal-weight-tracking-container .weight-table-wrapper .weight-table .date-cell{align-items:center;display:flex;flex-wrap:wrap}.animal-weight-tracking-container .weight-table-wrapper .weight-table .date-cell svg{color:#9ca3af}.animal-weight-tracking-container .weight-table-wrapper .weight-table .weight-cell strong{color:#06b6d4;font-size:1.05rem}.animal-weight-tracking-container .weight-table-wrapper .weight-table .recorded-by{align-items:center;display:flex;font-size:.85rem}.animal-weight-tracking-container .weight-table-wrapper .weight-table .recorded-by svg{color:#9ca3af}.animal-weight-tracking-container .weight-table-wrapper .weight-table .actions-col{text-align:right;width:100px}.animal-weight-tracking-container .weight-table-wrapper .weight-table .action-buttons{display:flex;gap:4px;justify-content:flex-end}.animal-weight-tracking-container .weight-table-wrapper .weight-table .action-buttons .btn{align-items:center;display:flex;justify-content:center;padding:4px 8px}.animal-weight-tracking-container .weight-change-badge{align-items:center;border:none;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px 8px}.animal-weight-tracking-container .weight-change-badge .percentage{font-size:.6rem;margin-left:2px;opacity:.8}.animal-weight-tracking-container .weight-change-badge.positive{background:rgba(34,197,94,.1);color:#22c55e}.animal-weight-tracking-container .weight-change-badge.negative{background:rgba(239,68,68,.1);color:#ef4444}.animal-weight-tracking-container .weight-change-badge.neutral{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-weight-tracking-container .bcs-badge{align-items:center;border:none;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px 8px}.animal-weight-tracking-container .bcs-badge.excellent{background:rgba(34,197,94,.1);color:#22c55e}.animal-weight-tracking-container .bcs-badge.good{background:rgba(6,182,212,.1);color:#0891b2}.animal-weight-tracking-container .bcs-badge.fair{background:rgba(250,140,22,.1);color:#fa8c16}.animal-weight-tracking-container .bcs-badge.poor{background:rgba(239,68,68,.1);color:#ef4444}.animal-weight-tracking-container .bcs-badge.over{background:rgba(139,92,246,.1);color:#8b5cf6}.animal-weight-tracking-container .method-badge{align-items:center;border:none;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px 8px}.animal-weight-tracking-container .method-badge.digital{background:rgba(6,182,212,.1);color:#0891b2}.animal-weight-tracking-container .method-badge.mechanical{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-weight-tracking-container .method-badge.tape{background:rgba(250,140,22,.1);color:#fa8c16}.animal-weight-tracking-container .method-badge.visual{background:rgba(139,92,246,.1);color:#8b5cf6}.animal-weight-tracking-container .method-badge.calculated{background:rgba(99,102,241,.1);color:#6366f1}.animal-weight-tracking-container .method-badge.portable{background:rgba(20,184,166,.1);color:#14b8a6}.animal-weight-tracking-container .method-badge.crush{background:rgba(34,197,94,.1);color:#22c55e}.animal-weight-tracking-container .method-badge.other{background:hsla(220,9%,46%,.1);color:#6b7280}.animal-weight-tracking-container .daily-gain-badge{align-items:center;border:none;border-radius:20px;display:inline-flex;font-size:.7rem;font-weight:600;gap:4px;padding:3px 8px}.animal-weight-tracking-container .daily-gain-badge.excellent{background:rgba(34,197,94,.1);color:#22c55e}.animal-weight-tracking-container .daily-gain-badge.good{background:rgba(6,182,212,.1);color:#0891b2}.animal-weight-tracking-container .daily-gain-badge.fair{background:rgba(250,140,22,.1);color:#fa8c16}.animal-weight-tracking-container .daily-gain-badge.low{background:rgba(249,115,22,.1);color:#f97316}.animal-weight-tracking-container .daily-gain-badge.negative{background:rgba(239,68,68,.1);color:#ef4444}.animal-weight-tracking-container .weight-records-cards{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.animal-weight-tracking-container .weight-record-card{background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden;transition:all .2s ease}.animal-weight-tracking-container .weight-record-card:hover{border-color:rgba(6,182,212,.3);box-shadow:0 4px 6px rgba(0,0,0,.07)}.animal-weight-tracking-container .weight-record-card .record-card-header{align-items:flex-start;background:linear-gradient(135deg,rgba(6,182,212,.1),rgba(6,182,212,.03));border-bottom:1px solid #e5e7eb;display:flex;justify-content:space-between;padding:12px 14px}.animal-weight-tracking-container .weight-record-card .record-card-header .record-info .record-weight{color:#06b6d4;font-size:1.2rem;font-weight:700;margin:0 0 4px}.animal-weight-tracking-container .weight-record-card .record-card-header .record-info .record-date{align-items:center;color:#6b7280;display:flex;font-size:.8rem}.animal-weight-tracking-container .weight-record-card .record-card-header .record-badges{display:flex;flex-wrap:wrap;gap:6px}.animal-weight-tracking-container .weight-record-card .record-card-body{display:flex;flex-direction:column;gap:8px;padding:12px 14px}.animal-weight-tracking-container .weight-record-card .record-card-body .record-detail{align-items:center;color:#6b7280;display:flex;font-size:.85rem;gap:6px}.animal-weight-tracking-container .weight-record-card .record-card-body .record-detail svg{color:#9ca3af;flex-shrink:0}.animal-weight-tracking-container .weight-record-card .record-card-actions{background:#f8faf8;border-top:1px solid #e5e7eb;display:flex;gap:8px;justify-content:flex-end;padding:10px 14px}.animal-weight-tracking-container .weight-record-card .record-card-actions .btn{align-items:center;display:flex;font-size:.8rem;font-weight:500;gap:4px;padding:5px 12px}@media(max-width:1023px){.animal-weight-tracking-container .weight-tracking-header{align-items:center;display:grid;grid-template-columns:1fr auto}.animal-weight-tracking-container .weight-tracking-header .header-title{grid-column:1;grid-row:1}.animal-weight-tracking-container .weight-tracking-header>.add-btn{grid-column:2;grid-row:1;justify-self:end}.animal-weight-tracking-container .weight-tracking-header .header-actions{gap:6px;grid-column:1/-1;grid-row:2;margin-left:0}.animal-weight-tracking-container .weight-stats{flex-wrap:wrap}}@media(min-width:768px)and (max-width:1399px){.animal-weight-tracking-container .weight-records-cards{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))}}@media(max-width:767px){.animal-weight-tracking-container .weight-tracking-header{padding:12px 16px}.animal-weight-tracking-container .weight-tracking-header .header-title h4{font-size:.95rem}.animal-weight-tracking-container .filters-panel{flex-direction:column;padding:12px 16px}.animal-weight-tracking-container .filters-panel .filter-group{width:100%}.animal-weight-tracking-container .weight-stats{flex-wrap:wrap;order:10;width:100%}.animal-weight-tracking-container .weight-tracking-content{padding:12px 16px}.animal-weight-tracking-container .weight-records-cards{grid-template-columns:1fr}.animal-weight-tracking-container .animal-context-banner{padding:10px 16px}.animal-weight-tracking-container .animal-context-banner .animal-info .animal-emoji{font-size:24px}.animal-weight-tracking-container .growth-progress-section{padding:10px 16px}}@media(prefers-reduced-motion:reduce){.animal-weight-tracking-container .progress-bar,.animal-weight-tracking-container .spin,.animal-weight-tracking-container .stat-item,.animal-weight-tracking-container .weight-record-card{animation:none!important;transition:none!important}}@media print{.animal-weight-tracking-container .action-buttons,.animal-weight-tracking-container .filters-panel,.animal-weight-tracking-container .header-actions,.animal-weight-tracking-container .record-card-actions{display:none!important}.animal-weight-tracking-container .growth-progress-section,.animal-weight-tracking-container .stat-item,.animal-weight-tracking-container .weight-record-card,.animal-weight-tracking-container .weight-table-wrapper{-moz-column-break-inside:avoid;border:1px solid #e5e7eb!important;box-shadow:none!important;break-inside:avoid}}.weight-record-form-overlay{bottom:0;display:flex;justify-content:flex-end;left:0;position:fixed;right:0;top:70px;z-index:1000}.weight-record-form-overlay .overlay-backdrop{background:rgba(0,0,0,.3);inset:0;position:absolute}.weight-record-form-overlay .form-panel{animation:slideIn .25s ease-out;background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100%;max-width:800px;position:relative;width:100%}.weight-record-form-overlay .form-panel .form-panel-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.weight-record-form-overlay .form-panel .form-panel-header .form-panel-title{align-items:center;color:#22c55e;display:flex;gap:.5rem}.weight-record-form-overlay .form-panel .form-panel-header .form-panel-title h3{color:#1f2937;font-size:1.15rem;font-weight:700;margin:0}.weight-record-form-overlay .form-panel .form-panel-header .close-btn{background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:1.5rem;line-height:1;padding:4px}.weight-record-form-overlay .form-panel .form-panel-header .close-btn:hover{background:#f8f9fa;color:#1f2937}.weight-record-form-overlay .form-panel .weight-record-inline-form{flex:1;overflow-y:auto;padding:1rem 1.5rem}.weight-record-form-overlay .form-panel .form-action-footer{border-top:1px solid #e5e7eb;box-shadow:none;flex-shrink:0;margin-top:0;position:static!important}@media(max-width:768px){.weight-record-form-overlay .form-panel{max-width:100%}}.animal-production-container{padding:0}.animal-production-container .production-header{align-items:center;border-bottom:1px solid #f8f9fa;display:flex;flex-wrap:wrap;gap:12px;padding:16px 20px}.animal-production-container .production-header .header-title{align-items:center;display:flex;flex-wrap:wrap;gap:4px}.animal-production-container .production-header .header-title h4{color:#1f2937;font-size:16px;font-weight:600;margin:0}.animal-production-container .production-header .header-title .header-subtitle{color:#9ca3af;font-size:12px;margin-top:2px;width:100%}.animal-production-container .production-header .header-title svg{color:#fa8c16}.animal-production-container .production-header .header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.animal-production-container .production-header .header-actions .filter-btn,.animal-production-container .production-header .header-actions .refresh-btn{align-items:center;display:flex;font-size:13px;gap:6px}.animal-production-container .production-header .header-actions .view-toggle{display:flex}.animal-production-container .production-header .header-actions .view-toggle .btn{border-radius:0}.animal-production-container .production-header .header-actions .view-toggle .btn:first-child{border-radius:6px 0 0 6px}.animal-production-container .production-header .header-actions .view-toggle .btn:last-child{border-radius:0 6px 6px 0}.animal-production-container .production-header .header-actions .spin{animation:prod-spin 1s linear infinite}.animal-production-container .production-header>.add-btn{align-items:center;display:flex;font-size:13px;gap:4px}.animal-production-container .production-header.inline-form-header .header-title .back-btn{align-items:center;color:#6b7280;display:flex;padding:4px 8px}.animal-production-container .production-header.inline-form-header .header-title .back-btn:hover{color:#fa8c16}.animal-production-container .animal-context-banner{background:linear-gradient(135deg,rgba(250,140,22,.1),rgba(250,140,22,.05));border-bottom:1px solid #f8f9fa;padding:12px 20px}.animal-production-container .animal-context-banner .animal-info{align-items:center;display:flex;gap:12px}.animal-production-container .animal-context-banner .animal-info .animal-emoji{font-size:28px}.animal-production-container .animal-context-banner .animal-info .animal-details{display:flex;flex-direction:column;gap:2px}.animal-production-container .animal-context-banner .animal-info .animal-details strong{color:#1f2937;font-size:14px}.animal-production-container .animal-context-banner .animal-info .animal-details .animal-tag{color:#6b7280;font-size:12px}.animal-production-container .filters-panel{align-items:flex-end;background:#f9fafb;border-bottom:1px solid #f8f9fa;display:flex;flex-wrap:wrap;gap:16px;padding:12px 20px}.animal-production-container .filters-panel .filter-group{display:flex;flex-direction:column;gap:4px}.animal-production-container .filters-panel .filter-group label{color:#6b7280;font-size:11px;font-weight:600;text-transform:uppercase}.animal-production-container .filters-panel .filter-group .filter-select{border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:13px;height:32px;min-width:140px;padding:0 28px 0 10px}.animal-production-container .filters-panel .filter-group .filter-select:focus{border-color:#fa8c16;box-shadow:0 0 0 3px rgba(250,140,22,.1)}.animal-production-container .filters-panel .clear-filters{align-items:center;background:none;border:none;color:#6b7280;cursor:pointer;display:inline-flex;font-size:13px;gap:4px;padding:4px 8px;text-decoration:none;white-space:nowrap}.animal-production-container .filters-panel .clear-filters:hover{color:#dc2626;text-decoration:none}.animal-production-container .production-stats{align-items:center;display:flex;gap:4px}.animal-production-container .production-stats .stat-item{align-items:center;background:#f8f9fa;border:1px solid #e5e7eb;border-radius:10px;display:flex;gap:3px;padding:3px 8px;white-space:nowrap}.animal-production-container .production-stats .stat-item .stat-value{align-items:center;color:#1f2937;display:flex;font-size:12px;font-weight:700;gap:2px}.animal-production-container .production-stats .stat-item .stat-value .trend-up{color:#22c55e}.animal-production-container .production-stats .stat-item .stat-value .trend-down{color:#ef4444}.animal-production-container .production-stats .stat-item .stat-label{color:#9ca3af;font-size:11px;font-weight:500}.animal-production-container .production-stats .stat-item.trend{background:rgba(250,140,22,.05);border-color:rgba(250,140,22,.3)}.animal-production-container .production-stats .stat-item.cost{background:rgba(34,197,94,.05);border-color:rgba(34,197,94,.3)}.animal-production-container .production-stats .stat-item.cost .stat-value{color:#22c55e}.animal-production-container .daily-chart-section{background:#fff;border:1px solid #f8f9fa;border-radius:12px;margin:0 20px 16px;padding:14px 16px}.animal-production-container .daily-chart-section .chart-header{align-items:center;color:#374151;display:flex;font-size:12px;font-weight:600;gap:6px;margin-bottom:12px}.animal-production-container .daily-chart-section .daily-bars{align-items:flex-end;display:flex;gap:4px;height:80px}.animal-production-container .daily-chart-section .daily-bars .day-col{align-items:center;display:flex;flex:1;flex-direction:column;gap:3px;height:100%}.animal-production-container .daily-chart-section .daily-bars .day-col .day-bar-track{align-items:flex-end;background:#f8f9fa;border-radius:3px 3px 0 0;display:flex;flex:1;max-width:24px;overflow:hidden;width:100%}.animal-production-container .daily-chart-section .daily-bars .day-col .day-bar-track .day-bar-fill{background:#e5e7eb;border-radius:3px 3px 0 0;transition:height .4s ease;width:100%}.animal-production-container .daily-chart-section .daily-bars .day-col .day-bar-track .day-bar-fill.active{background:linear-gradient(180deg,#fa8c16,#d97706)}.animal-production-container .daily-chart-section .daily-bars .day-col .day-label{color:#9ca3af;font-size:8px;font-weight:500}.animal-production-container .production-content{padding:0}.animal-production-container .production-table-wrapper{padding:0 20px 16px}.animal-production-container .production-table{font-size:13px}.animal-production-container .production-table thead th{border-bottom:2px solid #f8f9fa;color:#6b7280;font-size:11px;font-weight:600;padding:10px 12px;text-transform:uppercase}.animal-production-container .production-table tbody td{border-bottom:1px solid #f8f9fa;padding:10px 12px;vertical-align:middle}.animal-production-container .production-table .type-info{align-items:center;display:flex;gap:8px}.animal-production-container .production-table .type-info .type-emoji-small{font-size:16px}.animal-production-container .production-table .destination-badge,.animal-production-container .production-table .quality-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:11px;font-weight:600;padding:3px 8px}.animal-production-container .production-table .actions-col{text-align:right;width:100px}.animal-production-container .production-table .action-buttons{display:flex;gap:6px;justify-content:flex-end}.animal-production-container .production-table .action-buttons .btn{border-radius:6px;padding:3px 8px}.animal-production-container .production-cards{display:flex;flex-direction:column;gap:8px;padding:0 20px 16px}.animal-production-container .production-card{background:#fff;border:1px solid #f8f9fa;border-radius:10px;cursor:pointer;padding:14px 16px;transition:all .2s}.animal-production-container .production-card:hover{border-color:rgba(250,140,22,.3);box-shadow:0 2px 8px rgba(0,0,0,.06)}.animal-production-container .production-card .card-header-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.animal-production-container .production-card .card-header-row .type-badge{align-items:center;border-radius:12px;display:inline-flex;font-size:11px;font-weight:600;gap:5px;padding:3px 10px}.animal-production-container .production-card .card-header-row .type-badge .type-emoji{font-size:13px}.animal-production-container .production-card .card-header-row .card-date{color:#9ca3af;font-size:11px}.animal-production-container .production-card .card-quantity{align-items:baseline;display:flex;gap:6px;margin-bottom:8px}.animal-production-container .production-card .card-quantity .qty-value{color:#1f2937;font-size:22px;font-weight:700;line-height:1}.animal-production-container .production-card .card-quantity .qty-unit{color:#6b7280;font-size:12px;font-weight:500}.animal-production-container .production-card .card-quantity .session-badge{background:rgba(59,130,246,.08);border-radius:4px;color:#3b82f6;font-size:10px;font-weight:500;padding:2px 6px}.animal-production-container .production-card .card-details{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.animal-production-container .production-card .card-details .detail-chip{align-items:center;display:inline-flex;font-size:11px;font-weight:500;gap:3px}.animal-production-container .production-card .card-details .detail-chip.revenue{color:#22c55e;font-weight:700}.animal-production-container .production-card .milk-metrics{border-top:1px solid #f8f9fa;color:#6b7280;display:flex;font-size:10px;gap:12px;padding-top:6px}.animal-production-container .production-card .milk-metrics span{font-weight:500}.animal-production-container .production-card .card-actions{display:flex;gap:6px;justify-content:flex-end;margin-top:8px}.animal-production-container .production-card .card-actions .btn{align-items:center;border-radius:6px;display:flex;font-size:12px;gap:4px;padding:3px 8px}.animal-production-container .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:60px 20px}.animal-production-container .loading-state .spin{animation:prod-spin 1s linear infinite}.animal-production-container .empty-state{align-items:center;display:flex;flex-direction:column;padding:48px 24px;text-align:center}.animal-production-container .empty-state .empty-icon-wrapper{align-items:center;background:rgba(250,140,22,.1);border-radius:50%;display:flex;height:80px;justify-content:center;margin-bottom:16px;width:80px}.animal-production-container .empty-state .empty-icon-wrapper .empty-icon{color:#fa8c16;opacity:.6}.animal-production-container .empty-state h5{color:#374151;font-size:16px;font-weight:600;margin:0 0 8px}.animal-production-container .empty-state>p{color:#9ca3af;font-size:13px;line-height:1.5;margin:0 0 20px;max-width:380px}.animal-production-container .empty-state .empty-types{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-bottom:8px}.animal-production-container .empty-state .empty-types .type-item{align-items:center;background:#f9fafb;border-radius:8px;color:#4b5563;display:flex;font-size:12px;gap:6px;padding:8px 14px}.animal-production-container .empty-state .empty-types .type-item .type-icon{font-size:16px}@media(max-width:1023px){.animal-production-container .production-header{align-items:center;display:grid;grid-template-columns:1fr auto}.animal-production-container .production-header .header-title{grid-column:1;grid-row:1}.animal-production-container .production-header>.add-btn{grid-column:2;grid-row:1;justify-self:end}.animal-production-container .production-header .header-actions{gap:6px;grid-column:1/-1;grid-row:2;margin-left:0}.animal-production-container .production-stats{flex-wrap:wrap}}@media(max-width:767px){.animal-production-container .production-header{padding:12px 16px}.animal-production-container .production-stats{flex-wrap:wrap;order:10;width:100%}.animal-production-container .daily-chart-section{margin:0 16px 12px}.animal-production-container .daily-chart-section .daily-bars{gap:2px;height:60px}.animal-production-container .filters-panel{flex-direction:column;gap:8px;padding:10px 16px}.animal-production-container .filters-panel .filter-group{width:100%}.animal-production-container .filters-panel .filter-group .filter-select{min-width:0;width:100%}.animal-production-container .production-cards{padding:0 16px 12px}.animal-production-container .production-card .card-quantity .qty-value{font-size:18px}}@media(max-width:480px){.animal-production-container .production-stats{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.animal-production-container .day-bar-fill,.animal-production-container .production-card,.animal-production-container .spin,.animal-production-container .stat-item{animation:none!important;transition:none!important}}@media print{.animal-production-container .action-buttons,.animal-production-container .card-actions,.animal-production-container .filters-panel,.animal-production-container .header-actions{display:none!important}.animal-production-container .daily-chart-section,.animal-production-container .production-card,.animal-production-container .stat-item{-moz-column-break-inside:avoid;border:1px solid #e5e7eb!important;box-shadow:none!important;break-inside:avoid}}@keyframes prod-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.production-record-form-overlay{bottom:0;display:flex;justify-content:flex-end;left:0;position:fixed;right:0;top:70px;z-index:1000}.production-record-form-overlay .overlay-backdrop{background:rgba(0,0,0,.3);inset:0;position:absolute}.production-record-form-overlay .form-panel{animation:slideIn .25s ease-out;background:#fff;box-shadow:-4px 0 20px rgba(0,0,0,.1);display:flex;flex-direction:column;height:100%;max-width:800px;position:relative;width:100%}.production-record-form-overlay .form-panel .form-panel-header{align-items:center;background:#fff;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;justify-content:space-between;padding:1rem 1.5rem}.production-record-form-overlay .form-panel .form-panel-header .form-panel-title{align-items:center;color:#22c55e;display:flex;gap:.5rem}.production-record-form-overlay .form-panel .form-panel-header .form-panel-title h3{color:#1f2937;font-size:1.15rem;font-weight:700;margin:0}.production-record-form-overlay .form-panel .form-panel-header .close-btn{background:none;border:none;border-radius:6px;color:#6b7280;cursor:pointer;font-size:1.5rem;line-height:1;padding:4px}.production-record-form-overlay .form-panel .form-panel-header .close-btn:hover{background:#f8f9fa;color:#1f2937}.production-record-form-overlay .form-panel .production-record-inline-form{flex:1;overflow-y:auto;padding:1rem 1.5rem}.production-record-form-overlay .form-panel .form-action-footer{border-top:1px solid #e5e7eb;box-shadow:none;flex-shrink:0;margin-top:0;position:static!important}@keyframes slideIn{0%{transform:translateX(100%)}to{transform:translateX(0)}}@media(max-width:768px){.production-record-form-overlay .form-panel{max-width:100%}}.update-form-container{background:#f8f9fa;display:flex;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;margin-left:15px;margin-right:15px;margin-top:15px;min-height:100vh}.update-form-container.with-sidebar-open .main-content{width:calc(100% - 280px)}.update-form-container.with-sidebar-collapsed .main-content{margin-left:80px;width:calc(100% - 80px)}.update-form-container .main-content{background:#f8f9fa;flex:1;min-height:calc(100vh - 70px);transition:all .3s ease}@media(max-width:1399px){.update-form-container{margin:0;padding:0}.update-form-container.with-sidebar-collapsed .main-content,.update-form-container.with-sidebar-open .main-content{margin-left:0;width:100%}.update-form-container .main-content{min-height:100vh;width:100%}}.update-form-container .content-container{margin-left:10px;max-width:none;padding:5px}@media(min-width:768px)and (max-width:1399px){.update-form-container .content-container{margin-left:0;max-width:100%;padding:1rem}}@media(max-width:768px){.update-form-container .content-container{margin-left:0;padding:.5rem}}.update-form-container .page-header{background:linear-gradient(135deg,rgba(82,196,26,.03),rgba(82,196,26,.06));border-bottom:1px solid rgba(82,196,26,.15);box-shadow:0 1px 3px rgba(0,0,0,.05);color:#1f2937;margin-bottom:0;padding:20px 32px}.update-form-container .page-header .header-content{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;margin:0 auto;max-width:1000px}.update-form-container .page-header .header-title{align-items:flex-start;display:flex;gap:1rem}.update-form-container .page-header .header-icon{align-items:center;background:rgba(82,196,26,.1);border:1px solid rgba(82,196,26,.2);border-radius:12px;color:#22c55e;display:flex;flex-shrink:0;height:48px;justify-content:center;width:48px}@media(min-width:768px)and (max-width:1399px){.update-form-container .page-header .header-icon{border-radius:14px;height:52px;width:52px}}.update-form-container .page-header .title-info h1{color:#1f2937;font-size:28px;font-weight:700;line-height:1.25;margin:0 0 8px}@media(min-width:768px)and (max-width:1399px){.update-form-container .page-header .title-info h1{font-size:32px;margin-bottom:12px}}.update-form-container .page-header .title-info .subtitle{color:#6b7280;font-size:1.125rem;font-weight:500;line-height:1.4;margin:0}@media(min-width:768px)and (max-width:1399px){.update-form-container .page-header .title-info .subtitle{font-size:1.2rem}.update-form-container .page-header{padding:2rem}.update-form-container .page-header .header-content{gap:2rem;max-width:100%}}.update-form-container .form-container{margin:0 auto;max-width:1000px;padding:32px}@media(min-width:768px)and (max-width:1399px){.update-form-container .form-container{margin:0;max-width:100%;padding:2rem}}@media(max-width:768px){.update-form-container .form-container{margin:0;padding:1rem}}.update-form-container .form-card{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 4px 20px rgba(82,196,26,.1);overflow:hidden}@media(min-width:768px)and (max-width:1399px){.update-form-container .form-card{border-radius:20px;box-shadow:0 25px 30px -5px rgba(0,0,0,.12),0 0 0 1px hsla(0,0%,100%,.8);max-width:none;width:100%}}.update-form-container .form-card-body{padding:40px}@media(min-width:768px)and (max-width:1399px){.update-form-container .form-card-body{padding:3rem}}@media(max-width:768px){.update-form-container .form-card-body{padding:1.5rem}}.update-form-container .loading-state{align-items:center;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:80px 2rem}.update-form-container .loading-state .loading-spinner{animation:spin 1s linear infinite;border:3px solid rgba(82,196,26,.2);border-radius:50%;border-top-color:#22c55e;height:40px;width:40px}@media(min-width:768px)and (max-width:1399px){.update-form-container .loading-state .loading-spinner{border-width:4px;height:48px;width:48px}}.update-form-container .loading-state .loading-text{color:#1f2937;font-size:1.125rem;font-weight:500}@media(min-width:768px)and (max-width:1399px){.update-form-container .loading-state .loading-text{font-size:1.2rem}}.form-section,.update-form-container .form-section{margin-bottom:0}.form-section .section-header,.update-form-container .section-header{align-items:center;background:linear-gradient(135deg,rgba(82,196,26,.03),rgba(82,196,26,.06));border:1px solid rgba(82,196,26,.1);border-bottom:2px solid rgba(82,196,26,.15);border-radius:8px 8px 0 0;display:flex;margin-bottom:28px;padding:1rem;transition:background .2s ease}.form-section .section-header:hover,.update-form-container .section-header:hover{background:linear-gradient(135deg,rgba(82,196,26,.04),rgba(82,196,26,.08))}@media(min-width:768px)and (max-width:1399px){.form-section .section-header,.update-form-container .section-header{border-bottom-width:3px;border-radius:12px 12px 0 0;margin-bottom:2rem;padding:2rem}}.form-section .section-title,.update-form-container .section-title{align-items:center;color:#1f2937;display:flex;font-size:1.25rem;font-weight:700;gap:10px;margin:0 0 6px}.form-section .section-title svg,.update-form-container .section-title svg{color:#22c55e}@media(min-width:768px)and (max-width:1399px){.form-section .section-title,.update-form-container .section-title{font-size:1.5rem;gap:12px;margin-bottom:8px}}.form-section .section-subtitle,.update-form-container .section-subtitle{color:#6b7280;font-size:15px;font-style:italic;font-weight:500;line-height:1.5;margin:0 0 0 auto}@media(min-width:768px)and (max-width:1399px){.form-section .section-subtitle,.update-form-container .section-subtitle{font-size:16px}}.update-form-container .form-field{background:transparent!important;border:none!important;box-shadow:none!important;margin-bottom:28px;padding:0!important}@media(min-width:768px)and (max-width:1399px){.update-form-container .form-field{margin-bottom:2rem}}.update-form-container .field-label,.update-form-container .form-label-custom{color:#1f2937;display:block;font-size:15px;font-weight:600;line-height:1.4;margin-bottom:10px}.update-form-container .field-label.required:after,.update-form-container .form-label-custom.required:after{color:#ef4444;content:" *";font-weight:700}@media(min-width:768px)and (max-width:1399px){.update-form-container .field-label,.update-form-container .form-label-custom{font-size:16px;margin-bottom:12px}}.form-control-custom,.login-form .form-control-custom,.login-form input.form-control-custom,.login-form select.form-control-custom,.login-form textarea.form-control-custom,input.form-control-custom,select.form-control-custom,textarea.form-control-custom{background:#fff!important;border:2px solid #e5e7eb!important;border-radius:10px!important;box-shadow:none!important;box-sizing:border-box!important;color:#1f2937!important;font-size:15px!important;font-weight:500!important;line-height:1.4;padding:14px 18px!important;transition:.3s ease!important;width:100%!important}@media(min-width:768px)and (max-width:1399px){.form-control-custom,.login-form .form-control-custom,.login-form input.form-control-custom,.login-form select.form-control-custom,.login-form textarea.form-control-custom,input.form-control-custom,select.form-control-custom,textarea.form-control-custom{border-radius:12px!important;font-size:16px!important;min-height:48px;padding:16px 20px!important}}.form-control-custom:focus,.login-form .form-control-custom:focus,.login-form input.form-control-custom:focus,.login-form select.form-control-custom:focus,.login-form textarea.form-control-custom:focus,input.form-control-custom:focus,select.form-control-custom:focus,textarea.form-control-custom:focus{background:rgba(82,196,26,.02)!important;border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.1)!important;outline:none!important}@media(min-width:768px)and (max-width:1399px){.form-control-custom:focus,.login-form .form-control-custom:focus,.login-form input.form-control-custom:focus,.login-form select.form-control-custom:focus,.login-form textarea.form-control-custom:focus,input.form-control-custom:focus,select.form-control-custom:focus,textarea.form-control-custom:focus{box-shadow:0 0 0 4px rgba(82,196,26,.15)!important}}.form-control-custom::-moz-placeholder,.login-form .form-control-custom::-moz-placeholder,.login-form input.form-control-custom::-moz-placeholder,.login-form select.form-control-custom::-moz-placeholder,.login-form textarea.form-control-custom::-moz-placeholder,input.form-control-custom::-moz-placeholder,select.form-control-custom::-moz-placeholder,textarea.form-control-custom::-moz-placeholder{color:#6b7280;font-weight:400}.form-control-custom::placeholder,.login-form .form-control-custom::placeholder,.login-form input.form-control-custom::placeholder,.login-form select.form-control-custom::placeholder,.login-form textarea.form-control-custom::placeholder,input.form-control-custom::placeholder,select.form-control-custom::placeholder,textarea.form-control-custom::placeholder{color:#6b7280;font-weight:400}.form-control-custom[readonly],.login-form .form-control-custom[readonly],.login-form input.form-control-custom[readonly],.login-form select.form-control-custom[readonly],.login-form textarea.form-control-custom[readonly],input.form-control-custom[readonly],select.form-control-custom[readonly],textarea.form-control-custom[readonly]{background:#f8f9fa!important;border-color:#f3f4f6!important;color:#6b7280;cursor:not-allowed}.form-control-custom[type=number],.login-form .form-control-custom[type=number],.login-form input.form-control-custom[type=number],.login-form select.form-control-custom[type=number],.login-form textarea.form-control-custom[type=number],input.form-control-custom[type=number],select.form-control-custom[type=number],textarea.form-control-custom[type=number]{-moz-appearance:textfield}.form-control-custom[type=number]::-webkit-inner-spin-button,.form-control-custom[type=number]::-webkit-outer-spin-button,.login-form .form-control-custom[type=number]::-webkit-inner-spin-button,.login-form .form-control-custom[type=number]::-webkit-outer-spin-button,.login-form input.form-control-custom[type=number]::-webkit-inner-spin-button,.login-form input.form-control-custom[type=number]::-webkit-outer-spin-button,.login-form select.form-control-custom[type=number]::-webkit-inner-spin-button,.login-form select.form-control-custom[type=number]::-webkit-outer-spin-button,.login-form textarea.form-control-custom[type=number]::-webkit-inner-spin-button,.login-form textarea.form-control-custom[type=number]::-webkit-outer-spin-button,input.form-control-custom[type=number]::-webkit-inner-spin-button,input.form-control-custom[type=number]::-webkit-outer-spin-button,select.form-control-custom[type=number]::-webkit-inner-spin-button,select.form-control-custom[type=number]::-webkit-outer-spin-button,textarea.form-control-custom[type=number]::-webkit-inner-spin-button,textarea.form-control-custom[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.form-control-custom.is-invalid-custom,.login-form .form-control-custom.is-invalid-custom,.login-form input.form-control-custom.is-invalid-custom,.login-form select.form-control-custom.is-invalid-custom,.login-form textarea.form-control-custom.is-invalid-custom,input.form-control-custom.is-invalid-custom,select.form-control-custom.is-invalid-custom,textarea.form-control-custom.is-invalid-custom{background:rgba(239,68,68,.05)!important;border-color:#ef4444!important}.form-control-custom.is-invalid-custom:focus,.login-form .form-control-custom.is-invalid-custom:focus,.login-form input.form-control-custom.is-invalid-custom:focus,.login-form select.form-control-custom.is-invalid-custom:focus,.login-form textarea.form-control-custom.is-invalid-custom:focus,input.form-control-custom.is-invalid-custom:focus,select.form-control-custom.is-invalid-custom:focus,textarea.form-control-custom.is-invalid-custom:focus{border-color:#ef4444!important;box-shadow:0 0 0 3px rgba(239,68,68,.1)!important}.form-control-custom.is-valid-custom,.login-form .form-control-custom.is-valid-custom,.login-form input.form-control-custom.is-valid-custom,.login-form select.form-control-custom.is-valid-custom,.login-form textarea.form-control-custom.is-valid-custom,input.form-control-custom.is-valid-custom,select.form-control-custom.is-valid-custom,textarea.form-control-custom.is-valid-custom{background:rgba(82,196,26,.05)!important;border-color:#22c55e!important}.form-control-custom.is-valid-custom:focus,.login-form .form-control-custom.is-valid-custom:focus,.login-form input.form-control-custom.is-valid-custom:focus,.login-form select.form-control-custom.is-valid-custom:focus,.login-form textarea.form-control-custom.is-valid-custom:focus,input.form-control-custom.is-valid-custom:focus,select.form-control-custom.is-valid-custom:focus,textarea.form-control-custom.is-valid-custom:focus{border-color:#22c55e!important;box-shadow:0 0 0 3px rgba(34,197,94,.1)!important}.form-control-custom-with-icon,.login-form .form-control-custom-with-icon{padding-left:3.25rem!important}.form-control-custom-with-icon:focus~.input-icon-custom,.login-form .form-control-custom-with-icon:focus~.input-icon-custom{color:#22c55e}@media(min-width:768px)and (max-width:1399px){.form-control-custom-with-icon,.login-form .form-control-custom-with-icon{padding-left:3.5rem!important}}.input-icon-custom{align-items:center;color:#6b7280;display:flex;height:20px;justify-content:center;left:18px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);transition:color .2s ease;width:20px;z-index:5}.input-icon-custom svg{height:18px;width:18px}@media(min-width:768px)and (max-width:1399px){.input-icon-custom{height:22px;left:20px;width:22px}.input-icon-custom svg{height:20px;width:20px}}.input-group-custom{align-items:center;box-shadow:none!important;display:flex;margin:0!important;padding:0!important;position:relative;width:100%}.form-group-custom,.input-group-custom,.input-group-custom-append,.input-group-custom-prepend{background:transparent!important;border:none!important}.form-group-custom{box-shadow:none!important;margin-bottom:1.75rem!important}@media(min-width:768px)and (max-width:1399px){.form-group-custom{margin-bottom:2rem!important}}.fieldset-custom{border:none!important;margin:0!important;padding:0!important}.validated-field-wrapper-custom{background:transparent!important;border:none!important;box-shadow:none!important}select.form-control-custom{appearance:none!important;-webkit-appearance:none!important;-moz-appearance:none!important;background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E")!important;background-position:right 16px center!important;background-repeat:no-repeat!important;background-size:18px!important;cursor:pointer;padding-right:48px!important}select.form-control-custom:hover{border-color:#22c55e!important}@media(min-width:768px)and (max-width:1399px){select.form-control-custom{background-position:right 20px center!important;background-size:20px!important;padding-right:52px!important}}.checkbox-group-custom{margin-bottom:1rem}@media(min-width:768px)and (max-width:1399px){.checkbox-group-custom{margin-bottom:2rem}}.checkbox-field-custom{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:10px;cursor:pointer;display:flex;gap:1rem;padding:18px 2rem;transition:all .3s ease}.checkbox-field-custom:hover{background:#f8f9fa;border-color:#22c55e}@media(min-width:768px)and (max-width:1399px){.checkbox-field-custom{border-radius:12px;gap:1.5rem;padding:20px 2rem}}.checkbox-field-custom input[type=checkbox]{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#fff;border:2px solid #e5e7eb;border-radius:6px;cursor:pointer;height:20px;margin:0;position:relative;transition:all .3s ease;width:20px}@media(min-width:768px)and (max-width:1399px){.checkbox-field-custom input[type=checkbox]{border-radius:7px;height:22px;width:22px}}.checkbox-field-custom input[type=checkbox]:checked{background:#22c55e;border-color:#22c55e}.checkbox-field-custom input[type=checkbox]:checked:after{color:#fff;content:"✓";font-size:14px;font-weight:700;left:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}@media(min-width:768px)and (max-width:1399px){.checkbox-field-custom input[type=checkbox]:checked:after{font-size:15px}}.checkbox-field-custom input[type=checkbox]:focus{box-shadow:0 0 0 3px rgba(82,196,26,.15);outline:none}@media(min-width:768px)and (max-width:1399px){.checkbox-field-custom input[type=checkbox]:focus{box-shadow:0 0 0 4px rgba(82,196,26,.15)}}.checkbox-field-custom label{color:#1f2937;cursor:pointer;flex:1;font-size:15px;font-weight:600;line-height:1.4;margin:0}@media(min-width:768px)and (max-width:1399px){.checkbox-field-custom label{font-size:16px}}.loading-field-custom{align-items:center;background:#f8f9fa;border:2px solid #e5e7eb;border-radius:10px;color:#6b7280;display:flex;font-size:15px;gap:12px;padding:14px 18px}.loading-field-custom .animate-spin{animation:spin 1s linear infinite}@media(min-width:768px)and (max-width:1399px){.loading-field-custom{border-radius:12px;font-size:16px;gap:14px;padding:16px 20px}}.error-field-custom{align-items:center;background:rgba(239,68,68,.05);border:2px solid rgba(239,68,68,.4);border-radius:10px;color:#ef4444;display:flex;font-size:15px;font-weight:500;gap:12px;padding:14px 18px}@media(min-width:768px)and (max-width:1399px){.error-field-custom{border-radius:12px;font-size:16px;gap:14px;padding:16px 20px}}.error-field{border:2px solid #dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.1)!important}.error-field:focus{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.2)!important}@media(min-width:768px)and (max-width:1399px){.error-field:focus{box-shadow:0 0 0 4px rgba(220,38,38,.2)!important}}.field-error-message{align-items:center;color:#dc2626;display:flex;font-size:.75rem;gap:4px;margin-top:4px}@media(min-width:768px)and (max-width:1399px){.field-error-message{font-size:14px;gap:6px;margin-top:6px}}.update-form-container .form-actions{align-items:center;border-top:2px solid #f3f4f6;display:flex;gap:1rem;justify-content:space-between;margin-top:48px;padding-top:32px}@media(min-width:768px)and (max-width:1399px){.update-form-container .form-actions{border-top-width:3px;gap:2rem;margin-top:3rem;padding-top:2rem}}.update-form-container .form-actions .btn{align-items:center;border:none;border-radius:10px;box-shadow:0 3px 6px rgba(0,0,0,.1);cursor:pointer;display:inline-flex;font-size:15px;font-weight:600;gap:10px;justify-content:center;letter-spacing:.5px;line-height:1;min-width:180px;padding:1rem 32px;text-decoration:none;text-transform:uppercase;transition:all .3s ease}@media(min-width:768px)and (max-width:1399px){.update-form-container .form-actions .btn{border-radius:12px;font-size:16px;gap:12px;min-height:56px;min-width:200px;padding:1rem 2rem}}.update-form-container .form-actions .btn:disabled{box-shadow:0 1px 3px rgba(0,0,0,.1);cursor:not-allowed;opacity:.6;transform:none!important}.update-form-container .form-actions .btn:focus{outline:none}.update-form-container .btn-secondary{background:#6b7280;border:2px solid #6b7280;color:#fff}.update-form-container .btn-secondary:hover:not(:disabled){background:#4b5563;border-color:#4b5563;box-shadow:0 6px 12px hsla(220,9%,46%,.3);transform:translateY(-2px)}.update-form-container .btn-secondary:focus{box-shadow:0 0 0 4px hsla(220,9%,46%,.25)}.update-form-container .btn-primary{background:#22c55e;border:2px solid #22c55e;color:#fff}.update-form-container .btn-primary:hover:not(:disabled){background:#16a34a;border-color:#16a34a;box-shadow:0 6px 16px rgba(82,196,26,.4);transform:translateY(-2px)}.update-form-container .btn-primary:focus{box-shadow:0 0 0 4px rgba(82,196,26,.25)}.invalid-feedback-custom{color:#ef4444;display:block;font-size:13px;font-weight:500;line-height:1.4;margin-top:6px;padding-left:6px}@media(min-width:768px)and (max-width:1399px){.invalid-feedback-custom{font-size:14px;margin-top:8px;padding-left:8px}}.valid-feedback-custom{color:#22c55e;display:block;font-size:13px;font-weight:500;margin-top:6px;padding-left:6px}@media(min-width:768px)and (max-width:1399px){.valid-feedback-custom{font-size:14px;margin-top:8px;padding-left:8px}}.form-text-custom,.help-text-custom{color:#6b7280;font-size:13px;line-height:1.4;margin-top:6px;padding-left:6px}@media(min-width:768px)and (max-width:1399px){.form-text-custom,.help-text-custom{font-size:14px;margin-top:8px;padding-left:8px}}.update-form-container .form-field:focus-within .field-label{color:#22c55e}.monospace-field-custom{font-family:Courier New,monospace;font-weight:600;letter-spacing:.5px}.capitalize-field-custom{text-transform:capitalize}.lookup-field-container .lookup-input-wrapper{align-items:center;display:flex;gap:.5rem;margin-bottom:.5rem}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .lookup-input-wrapper{gap:1rem;margin-bottom:1rem}}.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn{align-items:center;background-color:#22c55e;border:2px solid #22c55e;border-radius:1rem;color:#fff;cursor:pointer;display:flex;flex-shrink:0;font-size:.875rem;font-weight:500;gap:.25rem;padding:.5rem .75rem;transition:.3s ease;white-space:nowrap}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn{border-radius:12px;font-size:15px;gap:8px;min-height:48px;padding:.75rem 1.25rem}}.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn:hover{background-color:#16a34a;border-color:#16a34a;box-shadow:0 2px 4px rgba(0,0,0,.1);color:#fff;transform:translateY(-1px)}.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn:active{background-color:#15803d;border-color:#15803d;box-shadow:0 1px 2px rgba(0,0,0,.1);color:#fff;transform:translateY(0)}.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn:focus{box-shadow:0 0 0 3px rgba(82,196,26,.25);color:#fff;outline:none}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn:focus{box-shadow:0 0 0 4px rgba(82,196,26,.25)}}.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn:disabled{background-color:#6b7280;border-color:#6b7280;color:#fff;cursor:not-allowed;opacity:.6;transform:none}.lookup-field-container .lookup-input-wrapper .lookup-trigger-btn svg{color:inherit;flex-shrink:0}.lookup-field-container .lookup-input-wrapper .lookup-display-field{background-color:#f8f9fa;border:1px solid #e5e7eb;color:#6b7280;flex:1;font-style:italic}.lookup-field-container .lookup-input-wrapper .lookup-display-field:focus{border-color:#22c55e;box-shadow:none;outline:none}.lookup-field-container .lookup-input-wrapper .lookup-display-field:not([value=""]){background-color:#fff;border-color:#22c55e;color:#1f2937;font-style:normal;font-weight:500}.lookup-field-container .lookup-input-wrapper .clear-selection-btn{align-items:center;border-radius:1rem;display:flex;flex-shrink:0;height:32px;justify-content:center;min-width:auto;padding:.25rem;transition:.3s ease;width:32px}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .lookup-input-wrapper .clear-selection-btn{border-radius:12px;height:40px;width:40px}}.lookup-field-container .lookup-input-wrapper .clear-selection-btn:hover{background-color:#fff5f5;border-color:#f56565;color:#e53e3e}.lookup-field-container .lookup-input-wrapper .clear-selection-btn svg{margin:0}.lookup-field-container .selected-item-info{background:linear-gradient(135deg,#f8f9fa,#f1f5f9);border:1px solid #e5e7eb;border-radius:1.5rem;font-size:.875rem;margin-top:.5rem;padding:.75rem}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .selected-item-info{border-radius:12px;font-size:15px;margin-top:1rem;padding:1.25rem}}.lookup-field-container .selected-item-info .info-row{align-items:center;display:flex;justify-content:space-between;margin-bottom:.25rem}.lookup-field-container .selected-item-info .info-row:last-child{margin-bottom:0}.lookup-field-container .selected-item-info .info-row .info-label{color:#6b7280;font-weight:500;min-width:60px}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .selected-item-info .info-row .info-label{font-size:15px;min-width:80px}}.lookup-field-container .selected-item-info .info-row .info-value{color:#1f2937;flex:1;margin-left:.75rem;text-align:right;word-break:break-word}@media(min-width:768px)and (max-width:1399px){.lookup-field-container .selected-item-info .info-row .info-value{font-size:15px;margin-left:1.5rem}}.animate-spin{animation:spin 1s linear infinite}.form-control-custom:focus,button:focus,input:focus,select:focus{outline:2px solid #22c55e;outline-offset:2px}@media(min-width:1400px){.update-form-container{margin-left:15px;margin-right:15px;margin-top:15px}}@media(min-width:768px)and (max-width:1399px){.update-form-container{margin:0;padding:0}.update-form-container.with-sidebar-collapsed .main-content,.update-form-container.with-sidebar-open .main-content{margin-left:0;width:100%}.update-form-container .main-content{min-height:100vh;width:100%}.update-form-container .content-container{margin-left:0;max-width:100%;padding:1rem}.update-form-container .page-header{padding:2rem}.update-form-container .page-header .header-content{gap:2rem;max-width:100%}.update-form-container .page-header .header-icon{border-radius:14px;height:52px;width:52px}.update-form-container .page-header .title-info h1{font-size:32px;margin-bottom:12px}.update-form-container .page-header .subtitle{font-size:1.2rem}.update-form-container .form-container{margin:0;max-width:100%;padding:2rem}.update-form-container .form-card{border-radius:20px;box-shadow:0 25px 30px -5px rgba(0,0,0,.12),0 0 0 1px hsla(0,0%,100%,.8);max-width:none;width:100%}.update-form-container .form-card-body{padding:3rem}.update-form-container .section-header{border-bottom-width:3px;border-radius:12px 12px 0 0;margin-bottom:2rem;padding:2rem}.update-form-container .section-title{font-size:1.5rem;gap:12px;margin-bottom:8px}.update-form-container .section-subtitle{font-size:16px}.update-form-container .form-field{margin-bottom:2rem}.update-form-container .field-label,.update-form-container .form-label-custom{font-size:16px;margin-bottom:12px}.update-form-container .form-actions{border-top-width:3px;gap:2rem;margin-top:3rem;padding-top:2rem}.update-form-container .form-actions .btn{border-radius:12px;font-size:16px;gap:12px;min-height:56px;min-width:200px;padding:1rem 2rem}.update-form-container .container,.update-form-container .container-fluid,.update-form-container .container-lg,.update-form-container .container-md,.update-form-container .container-sm,.update-form-container .container-xl,.update-form-container .container-xxl{margin-left:0!important;margin-right:0!important;max-width:none!important;padding-left:0!important;padding-right:0!important;width:100%!important}.update-form-container .col,.update-form-container .row,.update-form-container [class*=col-]{flex:none!important;max-width:none!important;padding-left:0!important;padding-right:0!important;width:100%!important}}@media(max-width:991px){.update-form-container{margin-top:60px}.update-form-container.with-sidebar-collapsed .main-content,.update-form-container.with-sidebar-open .main-content{margin-left:0;width:100%}.update-form-container .main-content{min-height:calc(100vh - 60px)}.update-form-container .page-header{padding:1rem}.update-form-container .page-header .header-content{align-items:flex-start;flex-direction:column;gap:1rem}.update-form-container .page-header .header-icon{border-radius:8px;height:40px;width:40px}.update-form-container .page-header .title-info h1{font-size:1.5rem}.update-form-container .page-header .subtitle{font-size:.875rem}.update-form-container .form-container{padding:1rem}.update-form-container .form-card-body{padding:2rem}.update-form-container .section-header{align-items:flex-start;border-radius:6px 6px 0 0;flex-direction:column;gap:.25rem;margin-bottom:1rem;padding:.75rem 1rem 1rem}.update-form-container .section-header .section-subtitle{margin-left:0}.update-form-container .section-title{font-size:1.125rem}.update-form-container .form-field{margin-bottom:1rem}.update-form-container .form-actions{flex-direction:column-reverse;gap:1rem;margin-top:32px}.update-form-container .form-actions .btn{min-width:auto;width:100%}.update-form-container .checkbox-field-custom{padding:14px 18px}.update-form-container .input-icon-custom{left:1rem}.update-form-container .input-icon-custom svg{height:1rem;width:1rem}.update-form-container .form-control-custom-with-icon{padding-left:2.75rem!important}.update-form-container .lookup-field-container .lookup-input-wrapper{flex-direction:column;gap:.75rem}.update-form-container .lookup-field-container .lookup-input-wrapper .lookup-trigger-btn{justify-content:center;width:100%}.update-form-container .lookup-field-container .lookup-input-wrapper .clear-selection-btn{align-self:flex-end}.update-form-container .lookup-field-container .selected-item-info .info-row{align-items:flex-start;flex-direction:column;gap:.25rem}.update-form-container .lookup-field-container .selected-item-info .info-row .info-label{min-width:auto}.update-form-container .lookup-field-container .selected-item-info .info-row .info-value{margin-left:0;text-align:left}}@media(max-width:768px){.update-form-container .form-card{border-radius:12px;margin:12px}.update-form-container .form-card-body{padding:1rem}.update-form-container .section-title{font-size:1.125rem}.update-form-container .section-subtitle{font-size:.875rem}.update-form-container .form-actions .btn{font-size:.875rem;padding:14px 2rem}.update-form-container .form-control-custom{font-size:.875rem!important;padding:12px 1rem!important}.update-form-container .form-control-custom-with-icon{padding-left:2.5rem!important}.update-form-container .input-icon-custom{left:14px}.update-form-container .input-icon-custom svg{height:15px;width:15px}.update-form-container select.form-control-custom{padding-right:40px!important}}@media(min-width:768px)and (max-width:1399px){.form-control-custom,input.form-control-custom,select.form-control-custom,textarea.form-control-custom{min-height:48px}.update-form-container .form-actions .btn{min-height:56px}.checkbox-field-custom input[type=checkbox]{min-height:22px;min-width:22px}.lookup-field-container .lookup-trigger-btn{min-height:48px}}@media(min-resolution:192dpi){.update-form-container .form-card{box-shadow:0 25px 30px -5px rgba(0,0,0,.12),0 0 0 1px hsla(0,0%,100%,.8)}.form-control-custom:focus{box-shadow:0 0 0 4px rgba(82,196,26,.15)!important}}@supports(-webkit-touch-callout:none){.form-control-custom,.update-form-container .form-actions .btn{-webkit-appearance:none;-webkit-tap-highlight-color:rgba(0,0,0,0)}}@media(prefers-reduced-motion:reduce){.update-form-container *{animation:none!important;transition:none!important}}@media(prefers-contrast:high){.form-control-custom,.update-form-container .btn{border-width:2px}}.page-header{background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;margin-bottom:1rem;padding:1rem 1.5rem}.page-header .page-header-top{align-items:center;display:flex;gap:1rem;justify-content:space-between}.page-header .page-header-body{align-items:flex-start;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between}.page-header .page-breadcrumb{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.25rem;margin-bottom:4px}.page-header .page-breadcrumb .breadcrumb-sep{opacity:.4}.page-header .page-breadcrumb .breadcrumb-link{cursor:pointer;transition:color .15s ease}.page-header .page-breadcrumb .breadcrumb-link:hover{color:#22c55e}.page-header .page-title{color:#1f2937;font-size:1.5rem;font-weight:700;line-height:1.2;margin:0 0 2px}.page-header .page-title .page-title-accent{color:#22c55e}.page-header .page-subtitle{color:#6b7280;font-size:.875rem;margin:0}.page-header .page-subtitle .required-star{color:#ef4444}.page-header .page-subtitle .tag-chip{background:#dcfce7;border-radius:.25rem;color:#22c55e;display:inline-block;font-size:.75rem;font-weight:600;padding:2px .5rem}.page-header .page-scope-indicator{align-items:center;color:#6b7280;display:flex;font-size:.75rem;gap:.25rem;margin-top:.5rem}.page-header .page-scope-indicator .scope-dot{background:#22c55e;border-radius:50%;flex-shrink:0;height:8px;width:8px}.page-header .page-header-stats{align-items:center;display:flex;flex-shrink:0;gap:.5rem}@media(max-width:768px){.page-header .page-header-stats{display:grid;gap:.5rem;grid-template-columns:1fr 1fr;margin-top:.75rem;width:100%}}.page-header .header-stat{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);display:flex;gap:.25rem;min-width:90px;padding:.25rem .75rem;transition:box-shadow .15s ease}.page-header .header-stat:hover{box-shadow:0 4px 6px rgba(0,0,0,.07)}.page-header .header-stat .header-stat-icon{align-items:center;border-radius:.375rem;display:flex;flex-shrink:0;font-size:.875rem;height:36px;justify-content:center;width:36px}.page-header .header-stat .header-stat-icon--total{background:rgba(34,197,94,.12);color:#22c55e}.page-header .header-stat .header-stat-icon--active{background:rgba(59,130,246,.12);color:#3b82f6}.page-header .header-stat .header-stat-icon--healthy{background:rgba(22,163,74,.12);color:#16a34a}.page-header .header-stat .header-stat-icon--breeding{background:rgba(239,68,68,.12);color:#ef4444}.page-header .header-stat .header-stat-value{color:#1f2937;display:block;font-size:1.125rem;font-weight:700;line-height:1}.page-header .header-stat .header-stat-label{color:#6b7280;display:block;font-size:.75rem;margin-top:2px;white-space:nowrap}@media(min-width:769px)and (max-width:1399px){.page-header .header-stat{min-width:80px;padding:.25rem .5rem}.page-header .header-stat .header-stat-icon{height:32px;width:32px}}.page-header .page-header-meta{align-items:flex-end;display:flex;flex-direction:column;flex-shrink:0;gap:2px}.page-header .page-header-meta .meta-label{color:#6b7280;font-size:.75rem}.page-header .page-header-meta .meta-value{color:#1f2937;font-size:.875rem;font-weight:500}@media(max-width:768px){.page-header .page-header-body,.page-header .page-header-top{flex-direction:column}.page-header .page-header-meta{align-items:flex-start}.page-header .page-title{font-size:1.25rem}}@media(min-width:769px)and (max-width:1399px){.page-header .page-title{font-size:1.5rem}}.animal-update{background:linear-gradient(135deg,#f0fdf4,#dcfce7);display:flex;flex-direction:column;margin:2rem auto;max-width:960px;min-height:100vh;padding:1rem}.animal-update .tag-number-helper{margin-top:.5rem}.animal-update .tag-number-helper button:disabled{cursor:not-allowed;opacity:.5;pointer-events:none}.animal-update .tag-number-helper .tag-duplicate-warning{align-items:flex-start;animation:tagHelperFadeIn .2s ease-out;background:rgba(239,68,68,.06);border:1px solid rgba(239,68,68,.25);border-radius:.375rem;color:#991b1b;display:flex;font-size:.75rem;gap:.5rem;line-height:1.6;padding:.75rem}.animal-update .tag-number-helper .tag-duplicate-warning svg{color:#ef4444;flex-shrink:0;margin-top:1px}.animal-update .tag-number-helper .tag-duplicate-warning strong{color:#ef4444;font-family:Monaco,Menlo,Ubuntu Mono,monospace}.animal-update .tag-number-helper .tag-duplicate-warning .tag-inline-link{background:none;border:none;color:#22c55e;cursor:pointer;display:inline;font-size:.75rem;font-weight:600;padding:0;text-decoration:underline;text-decoration-style:dotted}.animal-update .tag-number-helper .tag-duplicate-warning .tag-inline-link:hover{color:#16a34a;text-decoration-style:solid}.animal-update .tag-number-helper .tag-explainer{animation:tagHelperFadeIn .25s ease-out;background:linear-gradient(135deg,rgba(34,197,94,.06),rgba(20,184,166,.04));border:1px solid rgba(34,197,94,.2);border-radius:.375rem;margin-bottom:.75rem;overflow:hidden}.animal-update .tag-number-helper .tag-explainer .tag-explainer-header{align-items:center;background:rgba(34,197,94,.06);border-bottom:1px solid rgba(34,197,94,.1);display:flex;justify-content:space-between;padding:.75rem 1rem}.animal-update .tag-number-helper .tag-explainer .tag-explainer-header .tag-explainer-title{align-items:center;color:#16a34a;display:flex;font-size:.75rem;font-weight:700;gap:.5rem}.animal-update .tag-number-helper .tag-explainer .tag-explainer-header .tag-explainer-title svg{color:#fa8c16}.animal-update .tag-number-helper .tag-explainer .tag-explainer-header .tag-explainer-close{align-items:center;background:rgba(0,0,0,.06);border:none;border-radius:.25rem;color:#6b7280;cursor:pointer;display:flex;height:24px;justify-content:center;padding:0;transition:all .15s ease;width:24px}.animal-update .tag-number-helper .tag-explainer .tag-explainer-header .tag-explainer-close:hover{background:#e5e7eb;color:#374151}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body{padding:.75rem 1rem}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body p{color:#475569;font-size:.75rem;line-height:1.6;margin:0 0 .75rem}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body p strong{color:#1f2937}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-benefits{display:grid;gap:6px;grid-template-columns:1fr 1fr;list-style:none;margin:0 0 .75rem;padding:0}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-benefits li{align-items:center;color:#475569;display:flex;font-size:.75rem;gap:6px;padding:4px 0}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-benefits li svg{color:#22c55e;flex-shrink:0}@media(max-width:480px){.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-benefits{grid-template-columns:1fr}}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-physical-tip{align-items:flex-start;background:rgba(250,140,22,.08);border:1px solid rgba(250,140,22,.2);border-radius:.375rem;color:#475569;display:flex;font-size:.75rem;gap:.5rem;line-height:1.6;padding:.75rem}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-physical-tip svg{color:#fa8c16;flex-shrink:0;margin-top:1px}.animal-update .tag-number-helper .tag-explainer .tag-explainer-body .tag-physical-tip strong{color:#92400e}.animal-update .tag-number-helper .tag-explainer .tag-explainer-got-it{background:rgba(34,197,94,.04);border:none;border-top:1px solid rgba(34,197,94,.1);color:#22c55e;cursor:pointer;display:block;font-size:.75rem;font-weight:600;padding:.75rem;transition:background .15s ease;width:100%}.animal-update .tag-number-helper .tag-explainer .tag-explainer-got-it:hover{background:rgba(34,197,94,.1)}.animal-update .tag-number-helper .tag-suggestion{animation:tagHelperFadeIn .2s ease-out;background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;padding:.75rem 1rem;transition:all .15s ease}.animal-update .tag-number-helper .tag-suggestion:hover{border-color:rgba(34,197,94,.3)}.animal-update .tag-number-helper .tag-suggestion.compact{padding:.5rem 1rem}.animal-update .tag-number-helper .tag-suggestion.compact .tag-suggestion-actions{display:none}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-loading{align-items:center;color:#9ca3af;display:flex;font-size:.75rem;gap:.5rem;padding:4px 0}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-loading .tag-loading-dot{animation:tagPulse 1s ease-in-out infinite;background:#d1d5db;border-radius:50%;display:inline-block;height:8px;width:8px}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main{align-items:center;display:flex;flex-wrap:wrap;gap:.75rem}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-label{align-items:center;color:#6b7280;display:flex;font-size:.75rem;font-weight:600;gap:5px}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-label svg{color:#22c55e}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-value{align-items:center;background:linear-gradient(135deg,rgba(34,197,94,.1),rgba(20,184,166,.08));border:1.5px solid rgba(34,197,94,.3);border-radius:.375rem;cursor:pointer;display:inline-flex;gap:6px;padding:5px .75rem;transition:all .15s ease}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-value svg{color:#22c55e}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-value .tag-code{color:#16a34a;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.875rem;font-weight:700;letter-spacing:.5px}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-value:hover:not(:disabled){background:rgba(34,197,94,.12);border-color:#22c55e;box-shadow:0 2px 8px rgba(34,197,94,.15);transform:translateY(-1px)}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-main .tag-suggestion-value:active:not(:disabled){transform:translateY(0)}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-meta{margin-top:6px}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-meta .tag-count-info{color:#9ca3af;font-size:11px}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-meta .tag-count-info strong{color:#475569}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-actions{align-items:center;display:flex;gap:.75rem;margin-top:.75rem}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-actions .tag-apply-btn{align-items:center;background:linear-gradient(135deg,#22c55e,#14b8a6);border:none;border-radius:.375rem;color:#fff;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:6px;padding:7px 1rem;transition:all .15s ease}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-actions .tag-apply-btn:hover:not(:disabled){box-shadow:0 3px 10px rgba(34,197,94,.25);transform:translateY(-1px)}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-actions .tag-apply-btn:active:not(:disabled){transform:translateY(0)}.animal-update .tag-number-helper .tag-suggestion .tag-suggestion-actions .tag-or-text{color:#9ca3af;font-size:.75rem;font-style:italic}.animal-update .tag-number-helper .tag-suggestion .tag-custom-note{align-items:center;border-top:1px solid #f9fafb;display:flex;gap:.5rem;justify-content:space-between;margin-top:.5rem;padding-top:.5rem}.animal-update .tag-number-helper .tag-suggestion .tag-custom-note span{color:#6b7280;font-size:.75rem}.animal-update .tag-number-helper .tag-suggestion .tag-custom-note span strong{color:#374151;font-family:Monaco,Menlo,monospace}.animal-update .tag-number-helper .tag-suggestion .tag-custom-note .tag-switch-btn{background:none;border:none;border-radius:4px;color:#22c55e;cursor:pointer;font-size:11px;font-weight:600;padding:3px .5rem;transition:background .15s ease;white-space:nowrap}.animal-update .tag-number-helper .tag-suggestion .tag-custom-note .tag-switch-btn:hover:not(:disabled){background:rgba(34,197,94,.1)}.animal-update .tag-number-helper .tag-applied{align-items:center;animation:tagHelperFadeIn .2s ease-out;color:#22c55e;display:flex;font-size:.75rem;font-weight:500;gap:6px;padding:6px 0}.animal-update .tag-number-helper .tag-applied svg:first-child{flex-shrink:0}.animal-update .tag-number-helper .tag-applied strong{font-family:Monaco,Menlo,monospace;letter-spacing:.3px}.animal-update .tag-number-helper .tag-applied .tag-help-btn{align-items:center;background:none;border:none;border-radius:50%;color:#9ca3af;cursor:pointer;display:flex;height:20px;justify-content:center;margin-left:2px;padding:0;transition:all .15s ease;width:20px}.animal-update .tag-number-helper .tag-applied .tag-help-btn:hover{background:#f9fafb;color:#475569}.animal-update .tag-number-helper .tag-learn-more{align-items:center;background:none;border:none;color:#9ca3af;cursor:pointer;display:inline-flex;font-size:11px;gap:5px;margin-top:4px;padding:2px 0;transition:color .15s ease}.animal-update .tag-number-helper .tag-learn-more:hover{color:#22c55e}@keyframes tagHelperFadeIn{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@keyframes tagPulse{0%,to{opacity:.4}50%{opacity:1}}.animal-update .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:3rem 1.5rem}.animal-update .loading-state .animate-spin{animation:spin 1s linear infinite}.animal-update .loading-state span{font-size:.875rem;font-weight:500}.animal-update .access-denied-state{align-items:center;color:#475569;display:flex;flex-direction:column;gap:1rem;justify-content:center;padding:3rem 1.5rem;text-align:center}.animal-update .access-denied-state svg{color:#ef4444}.animal-update .access-denied-state h3{color:#1f2937;font-size:1.25rem;font-weight:700;margin:0}.animal-update .access-denied-state p{color:#6b7280;font-size:.875rem;margin:0 0 1rem}.animal-update .page-header{border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05)}.animal-update .autosave-indicator{display:flex;font-size:.75rem;justify-content:flex-end;padding:0 4px .5rem}.animal-update .autosave-indicator .saving{align-items:center;color:#22c55e;display:flex;font-weight:600;gap:4px}.animal-update .autosave-indicator .saved{align-items:center;color:#6b7280;display:flex;gap:4px}.animal-update .autosave-indicator .unsaved{color:#fa8c16;font-weight:500}.animal-update .form-scrollable-content{flex:1;min-height:0;padding-left:1rem;padding-right:1rem}.animal-update .form-scrollable-content::-webkit-scrollbar{width:8px}.animal-update .form-scrollable-content::-webkit-scrollbar-track{background:#f9fafb;border-radius:4px}.animal-update .form-scrollable-content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.animal-update .form-scrollable-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}.animal-update .form-sections{display:flex;flex-direction:column;gap:12px}.animal-update .form-section{background:#fff;border:1px solid #e5e7eb;border-radius:1rem;box-shadow:0 1px 3px rgba(0,0,0,.05);overflow:hidden;transition:all .15s ease}.animal-update .form-section:hover{border-color:rgba(34,197,94,.3);box-shadow:0 4px 16px rgba(0,0,0,.08)}.animal-update .form-section.collapsed .section-content{display:none}.animal-update .form-section .section-header{align-items:center;background:#f8f9fa;cursor:pointer;display:flex;justify-content:space-between;padding:1rem;transition:background .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.animal-update .form-section .section-header:hover{background:#f9fafb}.animal-update .form-section .section-header .section-title{align-items:center;color:#374151;display:flex;font-size:.875rem;font-weight:600;gap:.75rem}.animal-update .form-section .section-header .section-title .section-icon{color:#22c55e}.animal-update .form-section .section-header .section-title .required-badge{background:rgba(239,68,68,.1);border-radius:4px;color:#ef4444;font-size:10px;font-weight:600;padding:2px 6px;text-transform:uppercase}.animal-update .form-section .section-header .section-title .ai-badge{align-items:center;background:rgba(114,46,209,.1);border-radius:1rem;color:#722ed1;display:inline-flex;font-size:10px;font-weight:600;gap:4px;padding:2px .5rem}.animal-update .form-section .section-header .section-title .info-badge{align-items:center;background:rgba(59,130,246,.1);border-radius:1rem;color:#3b82f6;display:inline-flex;font-size:10px;font-weight:600;gap:4px;padding:2px .5rem}.animal-update .form-section .section-header>svg:last-child{color:#6b7280;transition:transform .15s ease}.animal-update .form-section:not(.collapsed) .section-header>svg:last-child{transform:rotate(180deg)}.animal-update .form-section .section-content{border-top:1px solid #e5e7eb;padding:1rem}.animal-update .form-group-custom{margin-bottom:1rem;padding-left:.75rem;padding-right:.75rem}.animal-update .form-group-custom:last-child{margin-bottom:0}.animal-update .form-label-custom{color:#374151;display:block;font-size:.75rem;font-weight:600;margin-bottom:6px}.animal-update .form-label-custom .text-danger{color:#ef4444}.animal-update .form-control-custom{background:#fff;border:1px solid #d1d5db;border-radius:.375rem;font-size:.875rem;padding:.75rem;transition:all .15s ease;width:100%}.animal-update .form-control-custom:focus{border-color:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.1);outline:none}.animal-update .form-control-custom:hover:not(:focus){border-color:#9ca3af}.animal-update .form-control-custom.is-invalid{border-color:#ef4444}.animal-update .form-control-custom.is-invalid:focus{box-shadow:0 0 0 3px rgba(239,68,68,.1)}.animal-update .form-control-custom[readonly]{background:#f8f9fa;color:#6b7280;cursor:not-allowed}.animal-update .form-control-custom::-moz-placeholder{color:#9ca3af}.animal-update .form-control-custom::placeholder{color:#9ca3af}.animal-update .form-control-custom.weight-field{font-size:1rem;font-weight:600;text-align:center}.animal-update .monospace-field{font-family:Monaco,Menlo,Ubuntu Mono,monospace!important;letter-spacing:.5px;text-transform:uppercase}.animal-update .form-hint{color:#6b7280;display:block;font-size:.75rem;margin-top:4px}.animal-update .field-error{align-items:center;color:#ef4444;display:flex;font-size:.75rem;font-weight:500;gap:6px;margin-top:4px}.animal-update .field-error svg{flex-shrink:0}.animal-update .dev-test-data{border-top:1px dashed #d1d5db;margin-top:1rem;padding-top:1rem}.animal-update .dev-test-data .dev-generate-btn{align-items:center;background:rgba(34,197,94,.1);border:1px solid rgba(34,197,94,.3);border-radius:.375rem;color:#22c55e;cursor:pointer;display:inline-flex;font-size:.75rem;font-weight:600;gap:6px;padding:.5rem 1rem;transition:all .15s ease}.animal-update .dev-test-data .dev-generate-btn:hover{background:rgba(34,197,94,.15);border-color:#22c55e}.animal-update .weight-method-tabs{background:#f9fafb;border-radius:.375rem;display:flex;gap:.5rem;margin-bottom:1.5rem;padding:4px}.animal-update .weight-method-tabs .method-tab{align-items:center;background:transparent;border:2px solid transparent;border-radius:.375rem;color:#475569;cursor:pointer;display:flex;flex:1;font-size:.75rem;font-weight:600;gap:6px;justify-content:center;padding:.75rem;position:relative;transition:all .15s ease}.animal-update .weight-method-tabs .method-tab:hover{background:#fff;color:#374151}.animal-update .weight-method-tabs .method-tab.active{background:#fff;border-color:rgba(34,197,94,.3);box-shadow:0 1px 3px rgba(0,0,0,.05);color:#22c55e}.animal-update .weight-method-tabs .method-tab .no-scale-tag{background:#fa8c16;border-radius:4px;color:#fff;font-size:9px;font-weight:700;padding:1px 5px;text-transform:uppercase}@media(max-width:600px){.animal-update .weight-method-tabs{flex-direction:column}.animal-update .weight-method-tabs .method-tab{justify-content:flex-start}}.animal-update .weight-input-area{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:.375rem;padding:1rem}.animal-update .tape-measure-area .tape-info-banner{align-items:flex-start;background:rgba(59,130,246,.1);border:1px solid rgba(59,130,246,.3);border-radius:.375rem;color:#374151;display:flex;font-size:.75rem;gap:.75rem;line-height:1.6;margin-bottom:1.5rem;padding:1rem}.animal-update .tape-measure-area .tape-info-banner svg{color:#3b82f6;flex-shrink:0;margin-top:2px}.animal-update .tape-measure-area .tape-info-banner strong{color:#3b82f6}.animal-update .tape-measure-area .tape-illustration{display:flex;justify-content:center;margin-bottom:1.5rem}.animal-update .tape-measure-area .tape-illustration .animal-outline{align-items:center;background:linear-gradient(135deg,#e0f2fe,#bae6fd);border:1px solid #93c5fd;border-radius:1rem;display:flex;height:140px;justify-content:center;position:relative;width:240px}.animal-update .tape-measure-area .tape-illustration .animal-outline .animal-emoji-large{font-size:3rem}.animal-update .tape-measure-area .tape-illustration .animal-outline .measure-label{background:#fff;border:1px solid #3b82f6;border-radius:4px;color:#3b82f6;font-size:10px;font-weight:700;padding:2px .5rem;position:absolute;white-space:nowrap}.animal-update .tape-measure-area .tape-illustration .animal-outline .measure-label.girth{left:50%;top:.5rem;transform:translateX(-50%)}.animal-update .tape-measure-area .tape-illustration .animal-outline .measure-label.length{bottom:.5rem;left:50%;transform:translateX(-50%)}.animal-update .tape-measure-area .tape-result{background:linear-gradient(135deg,#dcfce7,#bbf7d0);border:1px solid #86efac;border-radius:.375rem;padding:1rem;text-align:center}.animal-update .tape-measure-area .tape-result .tape-weight-value{color:#16a34a;font-size:1.875rem;font-weight:700;margin-bottom:4px}.animal-update .tape-measure-area .tape-result .tape-formula{color:#166534;font-family:Monaco,Menlo,monospace;font-size:11px;margin-bottom:.5rem}.animal-update .tape-measure-area .tape-placeholder{background:#f8f9fa;border:1px dashed #d1d5db;border-radius:.375rem;color:#9ca3af;font-size:.75rem;font-style:italic;padding:2rem 1rem;text-align:center}.animal-update .visual-estimate-area .weight-range-guide{background:rgba(250,140,22,.1);border:1px solid rgba(250,140,22,.3);border-radius:.375rem;margin-bottom:1.5rem;padding:1rem}.animal-update .visual-estimate-area .weight-range-guide .guide-header{align-items:center;color:#92400e;display:flex;font-size:.75rem;font-weight:600;gap:.5rem;margin-bottom:.75rem}.animal-update .visual-estimate-area .weight-range-guide .guide-header svg{color:#fa8c16}.animal-update .visual-estimate-area .weight-range-guide .range-grid{display:grid;gap:.5rem;grid-template-columns:repeat(auto-fit,minmax(150px,1fr))}.animal-update .visual-estimate-area .weight-range-guide .range-grid .range-item{align-items:center;background:hsla(0,0%,100%,.7);border-radius:.25rem;display:flex;justify-content:space-between;padding:.5rem .75rem}.animal-update .visual-estimate-area .weight-range-guide .range-grid .range-item .range-age{color:#475569;font-size:.75rem}.animal-update .visual-estimate-area .weight-range-guide .range-grid .range-item .range-weight{color:#1f2937;font-size:.75rem;font-weight:600}.animal-update .physical-extras{border-top:1px solid #e5e7eb;margin-top:1.5rem;padding-top:1.5rem}.animal-update .bcs-selector{display:flex;gap:6px}.animal-update .bcs-selector .bcs-btn{align-items:center;background:#fff;border:2px solid #e5e7eb;border-radius:.375rem;cursor:pointer;display:flex;flex:1;flex-direction:column;gap:2px;padding:.75rem 6px;transition:all .15s ease}.animal-update .bcs-selector .bcs-btn .bcs-num{color:#374151;font-size:1rem;font-weight:700}.animal-update .bcs-selector .bcs-btn .bcs-label{color:#9ca3af;font-size:9px;font-weight:600;letter-spacing:.3px;text-transform:uppercase}.animal-update .bcs-selector .bcs-btn:hover{background:rgba(34,197,94,.1);border-color:rgba(34,197,94,.4)}.animal-update .bcs-selector .bcs-btn.active{background:rgba(34,197,94,.1);border-color:#22c55e}.animal-update .bcs-selector .bcs-btn.active .bcs-num{color:#16a34a}.animal-update .bcs-selector .bcs-btn.active .bcs-label{color:#22c55e}.animal-update .parent-info-card{background:#f8f9fa;border:1px solid #e5e7eb;border-radius:.375rem;margin-top:.75rem;padding:.75rem}.animal-update .parent-info-card.dam{background:rgba(236,72,153,.04);border-left:3px solid #ec4899}.animal-update .parent-info-card.sire{background:rgba(59,130,246,.04);border-left:3px solid #3b82f6}.animal-update .parent-info-card .parent-header{align-items:center;display:flex;gap:.75rem;margin-bottom:.5rem}.animal-update .parent-info-card .parent-header .parent-emoji{font-size:1.25rem}.animal-update .parent-info-card .parent-header .parent-name strong{color:#1f2937;font-size:.875rem}.animal-update .parent-info-card .parent-header .parent-name .parent-tag{color:#6b7280;font-family:Monaco,Menlo,monospace;font-size:.75rem;margin-left:6px}.animal-update .parent-info-card .parent-details{display:grid;gap:4px 1rem;grid-template-columns:repeat(2,1fr)}.animal-update .parent-info-card .parent-details .detail{color:#475569;font-size:.75rem}.animal-update .parent-info-card .parent-details .detail span{color:#6b7280;font-weight:600}@media(max-width:600px){.animal-update .parent-info-card .parent-details{grid-template-columns:1fr}}.animal-update .parentage-empty{align-items:center;background:#f8f9fa;border:1px dashed #d1d5db;border-radius:.375rem;color:#6b7280;display:flex;font-size:.75rem;gap:.75rem;margin-top:.75rem;padding:1rem}.animal-update .parentage-empty svg{color:#9ca3af;flex-shrink:0}.animal-update .parentage-loading{padding:1rem}.animal-update .parent-lookup-trigger,.animal-update .parentage-loading{align-items:center;color:#6b7280;display:flex;font-size:.875rem;gap:.5rem}.animal-update .parent-lookup-trigger{background:#fff;border:1px solid #d1d5db;border-radius:.375rem;cursor:pointer;padding:.75rem;transition:all .15s ease;width:100%}.animal-update .parent-lookup-trigger svg{color:#9ca3af;flex-shrink:0}.animal-update .parent-lookup-trigger:hover{background:rgba(34,197,94,.1);border-color:#22c55e;color:#374151}.animal-update .parent-lookup-trigger:hover svg{color:#22c55e}.animal-update .parent-lookup-trigger:disabled{cursor:not-allowed;opacity:.6}.animal-update .parent-lookup-trigger:disabled:hover{background:#fff;border-color:#d1d5db;color:#6b7280}.animal-update .parent-lookup-trigger:disabled:hover svg{color:#9ca3af}.animal-update .selected-animal-banner{align-items:center;background:#fff;border:1px solid rgba(34,197,94,.3);border-left:4px solid #22c55e;border-radius:.375rem;display:flex;gap:.75rem;justify-content:space-between;padding:.75rem 1rem}.animal-update .selected-animal-banner .animal-info{align-items:flex-start;display:flex;flex:1;gap:.75rem;min-width:0}.animal-update .selected-animal-banner .animal-info>svg{color:#22c55e;flex-shrink:0;margin-top:2px}.animal-update .selected-animal-banner .animal-details{display:flex;flex-direction:column;gap:2px;min-width:0}.animal-update .selected-animal-banner .animal-name{color:#1f2937;font-size:.9375rem;font-weight:700}@media(max-width:576px){.animal-update .selected-animal-banner{align-items:flex-start;flex-direction:column}}.animal-update .selected-parent-tag{align-items:center;border-radius:.375rem;display:flex;font-size:.875rem;font-weight:600;gap:.5rem;padding:.5rem .75rem}.animal-update .selected-parent-tag.dam{background:rgba(236,72,153,.08);border:1px solid rgba(236,72,153,.25);color:#9d174d}.animal-update .selected-parent-tag.sire{background:rgba(59,130,246,.08);border:1px solid rgba(59,130,246,.25);color:#1d4ed8}.animal-update .selected-parent-tag .parent-tag-emoji{flex-shrink:0;font-size:1rem}.animal-update .selected-parent-tag .parent-tag-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-update .selected-parent-tag .parent-tag-id{font-family:Monaco,Menlo,monospace;font-size:.75rem;font-weight:500;opacity:.7}.animal-update .selected-parent-tag .clear-parent-btn{align-items:center;background:rgba(0,0,0,.08);border:none;border-radius:50%;color:inherit;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;padding:0;transition:all .15s ease;width:20px}.animal-update .selected-parent-tag .clear-parent-btn:hover{background:#ef4444;color:#fff}.animal-update .parentage-lookup-section{animation:parentageSlideDown .2s ease-out;background:#fff;border:2px solid rgba(34,197,94,.25);border-radius:.375rem;box-shadow:0 4px 16px rgba(0,0,0,.08);margin-top:.5rem;overflow:hidden}.animal-update .parentage-lookup-section .parentage-search-box{align-items:center;background:#f8f9fa;border-bottom:1px solid #e5e7eb;display:flex;gap:.5rem;padding:.75rem}.animal-update .parentage-lookup-section .parentage-search-box .search-icon{color:#9ca3af;flex-shrink:0}.animal-update .parentage-lookup-section .parentage-search-box .parentage-search-input{background:#fff;border:1px solid #e5e7eb;border-radius:.25rem;color:#1f2937;flex:1;font-size:.75rem;padding:6px .5rem;transition:all .15s ease}.animal-update .parentage-lookup-section .parentage-search-box .parentage-search-input::-moz-placeholder{color:#9ca3af}.animal-update .parentage-lookup-section .parentage-search-box .parentage-search-input::placeholder{color:#9ca3af}.animal-update .parentage-lookup-section .parentage-search-box .parentage-search-input:focus{border-color:#22c55e;box-shadow:0 0 0 2px rgba(34,197,94,.1);outline:none}.animal-update .parentage-lookup-section .parentage-search-box .close-lookup-btn{align-items:center;background:rgba(156,163,175,.15);border:none;border-radius:.25rem;color:#6b7280;cursor:pointer;display:flex;flex-shrink:0;height:26px;justify-content:center;padding:0;transition:all .15s ease;width:26px}.animal-update .parentage-lookup-section .parentage-search-box .close-lookup-btn:hover{background:#ef4444;color:#fff}.animal-update .parentage-lookup-section .parentage-items-list{max-height:240px;overflow-y:auto;padding:6px}.animal-update .parentage-lookup-section .parentage-items-list::-webkit-scrollbar{width:5px}.animal-update .parentage-lookup-section .parentage-items-list::-webkit-scrollbar-track{background:transparent}.animal-update .parentage-lookup-section .parentage-items-list::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.animal-update .parentage-lookup-section .parentage-item{background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;cursor:pointer;display:flex;flex-direction:column;gap:4px;margin-bottom:4px;padding:.75rem;text-align:left;transition:all .15s ease;width:100%}.animal-update .parentage-lookup-section .parentage-item:last-child{margin-bottom:0}.animal-update .parentage-lookup-section .parentage-item:hover{box-shadow:0 1px 3px rgba(0,0,0,.05);transform:translateY(-1px)}.animal-update .parentage-lookup-section .parentage-item.dam:hover{background:rgba(236,72,153,.03);border-color:#ec4899}.animal-update .parentage-lookup-section .parentage-item.sire:hover{background:rgba(59,130,246,.03);border-color:#3b82f6}.animal-update .parentage-lookup-section .parentage-item.selected{box-shadow:0 0 0 2px rgba(34,197,94,.2)}.animal-update .parentage-lookup-section .parentage-item.selected.dam{background:rgba(236,72,153,.06);border-color:#ec4899}.animal-update .parentage-lookup-section .parentage-item.selected.sire{background:rgba(59,130,246,.06);border-color:#3b82f6}.animal-update .parentage-lookup-section .parentage-item .parentage-item-main{align-items:center;display:flex;gap:.5rem}.animal-update .parentage-lookup-section .parentage-item .parentage-item-main .parentage-item-tag{color:#1f2937;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.75rem;font-weight:700}.animal-update .parentage-lookup-section .parentage-item .parentage-item-main .parentage-item-name{color:#475569;font-size:.75rem;font-weight:600}.animal-update .parentage-lookup-section .parentage-item .parentage-item-details{display:flex;flex-wrap:wrap;gap:.75rem}.animal-update .parentage-lookup-section .parentage-item .parentage-item-details .parentage-detail{align-items:center;color:#6b7280;display:inline-flex;font-size:11px;gap:3px}.animal-update .parentage-lookup-section .parentage-item .parentage-item-details .parentage-detail svg{color:#9ca3af}.animal-update .parentage-lookup-section .parentage-item .parentage-item-details .parentage-health{background:#f9fafb;border-radius:4px;color:#6b7280;font-size:10px;font-weight:600;letter-spacing:.03em;padding:1px 6px;text-transform:uppercase}.animal-update .parentage-lookup-section .parentage-item .parentage-item-details .parentage-health.healthy{background:rgba(34,197,94,.1);color:#22c55e}.animal-update .parentage-lookup-section .no-parentage-items{align-items:center;color:#9ca3af;display:flex;flex-direction:column;font-size:.75rem;gap:.5rem;padding:2rem 1rem}.animal-update .parentage-lookup-section .no-parentage-items svg{opacity:.5}@keyframes parentageSlideDown{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.animal-update .form-action-footer{background:#fff;border-top:1px solid #e5e7eb;bottom:0;box-shadow:0 -2px 12px rgba(0,0,0,.08);flex-shrink:0;left:0;margin-top:1rem;padding:.75rem 1rem;position:sticky;right:0;z-index:100}.animal-update .form-action-footer .form-action-footer-inner{align-items:center;display:flex;gap:.75rem;justify-content:space-between;max-width:100%}.animal-update .form-action-footer .btn-success{background:linear-gradient(135deg,#22c55e,#14b8a6);border:none;border-radius:.375rem;color:#fff;font-weight:600;padding:.75rem 2rem;transition:all .15s ease}.animal-update .form-action-footer .btn-success:hover:not(:disabled){box-shadow:0 4px 12px rgba(34,197,94,.3);transform:translateY(-1px)}.animal-update .form-action-footer .btn-success:disabled{opacity:.6;transform:none}.animal-update .form-action-footer .btn-cancel-custom{background:#fff;border:1.5px solid #e5e7eb;border-radius:.375rem;color:#1f2937;font-weight:500;min-height:48px;padding:.5rem 1.5rem;transition:border-color .15s ease,color .15s ease}.animal-update .form-action-footer .btn-cancel-custom:hover{background:#fff;border-color:#22c55e;color:#22c55e}.animal-update .form-action-footer .btn-save-custom{min-height:48px}@media(max-width:768px){.animal-update .form-action-footer .form-action-footer-inner{flex-direction:column-reverse}.animal-update .form-action-footer .btn-cancel-custom,.animal-update .form-action-footer .btn-save-custom{justify-content:center;width:100%}}@media(min-width:769px)and (max-width:1399px){.animal-update .form-action-footer{padding:.75rem 1.5rem}.animal-update .form-action-footer .btn-secondary,.animal-update .form-action-footer .btn-success{min-height:48px;padding:.5rem 1.5rem}}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.animal-update .animate-spin{animation:spin 1s linear infinite}@media(min-width:481px)and (max-width:1024px){.animal-update .section-content .row{display:grid!important;gap:12px 16px;grid-template-columns:1fr 1fr;margin-left:0;margin-right:0}.animal-update .section-content .row>[class*=col]{flex:none!important;max-width:none!important;padding-left:0;padding-right:0;width:auto!important}.animal-update .section-content .row .form-group-custom{margin-bottom:0;padding-left:0;padding-right:0}.animal-update .section-content .basic-info-grid,.animal-update .section-content .tablet-pair-grid{display:grid!important;gap:12px 16px;grid-template-columns:1fr 1fr}.animal-update .section-content .basic-info-grid>.row,.animal-update .section-content .tablet-pair-grid>.row{display:contents!important}.animal-update .section-content .basic-info-grid>.row>[class*=col],.animal-update .section-content .tablet-pair-grid>.row>[class*=col]{flex:none!important;max-width:none!important;padding-left:0;padding-right:0;width:auto!important}.animal-update .section-content .basic-info-grid>.row .form-group-custom,.animal-update .section-content .tablet-pair-grid>.row .form-group-custom{margin-bottom:0;padding-left:0;padding-right:0}.animal-update .section-content .basic-info-grid>.row:first-child>[class*=col]:first-child{order:1}.animal-update .section-content .basic-info-grid>.row:first-child>[class*=col]:nth-child(2){order:2}.animal-update .section-content .basic-info-grid>.row:first-child>[class*=col]:nth-child(3){order:5}.animal-update .section-content .basic-info-grid>.row:last-child>[class*=col]:first-child{order:3}.animal-update .section-content .basic-info-grid>.row:last-child>[class*=col]:nth-child(2){order:4}.animal-update .section-content .basic-info-grid>.row:last-child>[class*=col]:nth-child(3){order:6}.animal-update .tag-number-helper{margin-bottom:8px}}@media(max-width:768px){.animal-update,.animal-update .form-section .section-content{padding:.75rem}.animal-update .form-control-custom{font-size:1rem}.animal-update .bcs-selector .bcs-btn{padding:.5rem 4px}.animal-update .bcs-selector .bcs-btn .bcs-num{font-size:.875rem}.animal-update .bcs-selector .bcs-btn .bcs-label{font-size:8px}.animal-update .weight-method-tabs{flex-direction:column}.animal-update .weight-method-tabs .method-tab{justify-content:flex-start}.animal-update .tape-measure-area .tape-illustration .animal-outline{height:110px;width:180px}.animal-update .tape-measure-area .tape-illustration .animal-outline .animal-emoji-large{font-size:2rem}.animal-update .parentage-lookup-section .parentage-items-list{max-height:200px}.animal-update .parentage-lookup-section .parentage-item .parentage-item-details{gap:6px}.animal-update .selected-parent-tag{font-size:.75rem}.animal-update .selected-parent-tag .parent-tag-id{display:none}}@media(min-width:1400px){.animal-update{max-width:1060px}}@media(prefers-reduced-motion:reduce){.animal-update *,.animal-update :after,.animal-update :before{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}}:focus-visible{outline:2px solid #22c55e;outline-offset:2px}@media(min-width:769px)and (max-width:1399px){.animal-update{margin:1rem auto;max-width:100%;padding:.75rem}.animal-update .form-control-custom,.animal-update .form-select,.animal-update input[type=date],.animal-update input[type=number],.animal-update input[type=text],.animal-update select,.animal-update textarea{font-size:1rem;min-height:48px;padding:.75rem 1rem}.animal-update .form-section .section-header{min-height:56px;padding:.75rem 1rem}.animal-update .form-label-custom,.animal-update label{font-size:.875rem;margin-bottom:.25rem}.animal-update .weight-method-tabs .method-tab{min-height:48px;padding:.75rem 1rem}.animal-update .bcs-selector .bcs-btn{min-height:48px;padding:.75rem}.animal-update .parent-lookup-trigger{min-height:48px}.animal-update .form-action-footer .btn{font-size:1rem;min-height:48px;padding:.75rem 1.5rem}}@media print{.animal-update .autosave-indicator,.animal-update .dev-test-data,.animal-update .form-action-footer,.animal-update .parent-lookup-trigger,.animal-update .parentage-lookup-section,.animal-update .weight-method-tabs{display:none!important}.animal-update .form-section{-moz-column-break-inside:avoid;border:1px solid #ccc;box-shadow:none;break-inside:avoid}.animal-update .form-section.collapsed .section-content{display:block!important}}