.animal-offspring{padding:0}.animal-offspring .error-state,.animal-offspring .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:60px 20px}.animal-offspring .error-state .animate-spin,.animal-offspring .loading-state .animate-spin{animation:spin 1s linear infinite}.animal-offspring .error-state span,.animal-offspring .loading-state span{font-size:14px}.animal-offspring .error-state{color:#ef4444}.animal-offspring .offspring-header{align-items:flex-start;border-bottom:1px solid #f3f4f6;display:flex;justify-content:space-between;padding:16px 20px}.animal-offspring .offspring-header .header-info h5{align-items:center;color:#1f2937;display:flex;font-size:16px;font-weight:600;gap:8px;margin:0}.animal-offspring .offspring-header .header-info h5 .header-icon{color:#0891b2}.animal-offspring .offspring-header .header-info h5 .offspring-count-pill{align-items:center;background:#0891b2;border-radius:11px;color:#fff;display:inline-flex;font-size:11px;font-weight:700;height:22px;justify-content:center;line-height:1;min-width:22px;padding:0 7px}.animal-offspring .offspring-header .header-info .header-subtitle{color:#9ca3af;display:block;font-size:12px;margin-top:4px}.animal-offspring .offspring-header .refresh-btn{border-radius:8px;color:#9ca3af;padding:6px;transition:all .2s}.animal-offspring .offspring-header .refresh-btn:hover{background:rgba(8,145,178,.1);color:#0891b2}.animal-offspring .offspring-stats-row{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));padding:16px 20px}.animal-offspring .offspring-stats-row .offspring-stat-card{align-items:center;background:#fff;border:1px solid #f3f4f6;border-left:3px solid;border-radius:10px;display:flex;gap:12px;padding:14px 16px;transition:all .2s}.animal-offspring .offspring-stats-row .offspring-stat-card:hover{box-shadow:0 2px 8px rgba(0,0,0,.06)}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-icon{align-items:center;border-radius:8px;display:flex;flex-shrink:0;height:36px;justify-content:center;width:36px}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-info{display:flex;flex-direction:column;min-width:0}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-info .stat-value{color:#1f2937;font-size:18px;font-weight:700;line-height:1.2}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-info .stat-label{color:#9ca3af;font-size:11px;letter-spacing:.3px;text-transform:uppercase}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-info .stat-sub{color:#6b7280;font-size:11px;margin-top:2px}.animal-offspring .family-tree-mini{background:linear-gradient(135deg,rgba(8,145,178,.1),rgba(8,145,178,.03));border:1px solid rgba(8,145,178,.15);border-radius:12px;margin:0 20px 16px;padding:16px}.animal-offspring .family-tree-mini .tree-header{align-items:center;color:#0891b2;display:flex;font-size:13px;font-weight:600;gap:8px;margin-bottom:16px}.animal-offspring .family-tree-mini .tree-visualization{align-items:center;display:flex;flex-direction:column;gap:0}.animal-offspring .family-tree-mini .tree-parent-node{align-items:center;background:#fff;border:2px solid #0891b2;border-radius:10px;box-shadow:0 2px 8px rgba(8,145,178,.15);display:flex;gap:10px;padding:10px 16px}.animal-offspring .family-tree-mini .tree-parent-node .parent-avatar{font-size:20px;line-height:1}.animal-offspring .family-tree-mini .tree-parent-node .parent-info{display:flex;flex-direction:column}.animal-offspring .family-tree-mini .tree-parent-node .parent-info .parent-name-label{color:#1f2937;font-size:13px;font-weight:600}.animal-offspring .family-tree-mini .tree-parent-node .parent-info .parent-role{color:#0891b2;font-size:11px}.animal-offspring .family-tree-mini .tree-connector{align-items:center;display:flex;gap:8px;padding:4px 0}.animal-offspring .family-tree-mini .tree-connector .connector-line{background:#0891b2;height:16px;opacity:.3;width:1px}.animal-offspring .family-tree-mini .tree-connector .offspring-count-badge{background:#fff;border:1px solid rgba(8,145,178,.2);border-radius:10px;color:#0891b2;font-size:10px;font-weight:600;padding:2px 8px}.animal-offspring .family-tree-mini .tree-offspring-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;max-width:100%}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node{align-items:center;cursor:pointer;display:flex;flex-direction:column;gap:4px;transition:transform .2s}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node:hover{transform:translateY(-2px)}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node .offspring-avatar{align-items:center;background:#fff;border:2px solid #d1d5db;border-radius:50%;display:flex;font-size:14px;height:36px;justify-content:center;transition:border-color .2s;width:36px}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node .offspring-avatar.more{background:#f3f4f6;border-color:#d1d5db}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node .offspring-avatar.more span{color:#6b7280;font-size:11px;font-weight:600}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node .offspring-mini-name{color:#4b5563;font-size:10px;font-weight:500;max-width:60px;overflow:hidden;text-align:center;text-overflow:ellipsis;white-space:nowrap}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node .offspring-mini-age{color:#9ca3af;font-size:9px}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node.more{cursor:default}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node.more:hover{transform:none}.animal-offspring .offspring-filters{align-items:center;border-bottom:1px solid #f3f4f6;display:flex;gap:10px;padding:12px 20px}.animal-offspring .offspring-filters .search-box{flex:1;min-width:0;position:relative}.animal-offspring .offspring-filters .search-box .search-icon{color:#9ca3af;left:10px;pointer-events:none;position:absolute;top:50%;transform:translateY(-50%);z-index:1}.animal-offspring .offspring-filters .search-box .search-input{border:1px solid #e5e7eb;border-radius:8px;font-size:13px;height:36px;padding-left:32px;width:100%}.animal-offspring .offspring-filters .search-box .search-input:focus{border-color:#0891b2;box-shadow:0 0 0 3px rgba(8,145,178,.1)}.animal-offspring .offspring-filters .filter-group{display:flex;flex-shrink:0;gap:8px}.animal-offspring .offspring-filters .filter-group .filter-select{border:1px solid #e5e7eb;border-radius:8px;cursor:pointer;font-size:13px;height:36px;padding:0 30px 0 10px;width:auto!important}.animal-offspring .offspring-filters .filter-group .filter-select:focus{border-color:#0891b2;box-shadow:0 0 0 3px rgba(8,145,178,.1)}.animal-offspring .filter-results-info{background:#f9fafb;border-bottom:1px solid #f3f4f6;color:#6b7280;font-size:12px;padding:8px 20px}.animal-offspring .offspring-list{display:flex;flex-direction:column;gap:10px;padding:16px 20px}.animal-offspring .offspring-card{background:#fff;border:1px solid #f3f4f6;border-radius:10px;cursor:pointer;padding:14px 16px;transition:all .2s}.animal-offspring .offspring-card:hover{border-color:#0891b2;box-shadow:0 2px 12px rgba(8,145,178,.1);transform:translateY(-1px)}.animal-offspring .offspring-card .card-header-row{align-items:flex-start;display:flex;justify-content:space-between;margin-bottom:10px}.animal-offspring .offspring-card .card-header-row .offspring-identity{align-items:center;display:flex;gap:10px}.animal-offspring .offspring-card .card-header-row .offspring-identity .gender-emoji{font-size:20px;line-height:1}.animal-offspring .offspring-card .card-header-row .offspring-identity .identity-info{display:flex;flex-direction:column}.animal-offspring .offspring-card .card-header-row .offspring-identity .identity-info .offspring-name{color:#1f2937;font-size:14px;font-weight:600}.animal-offspring .offspring-card .card-header-row .offspring-identity .identity-info .offspring-tag{color:#9ca3af;font-size:11px}.animal-offspring .offspring-card .card-header-row .card-badges{display:flex;gap:6px}.animal-offspring .offspring-card .card-header-row .card-badges .mini-badge{align-items:center;border-radius:6px;display:inline-flex;font-size:10px;font-weight:600;letter-spacing:.3px;padding:3px 8px;text-transform:uppercase}.animal-offspring .offspring-card .card-details{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.animal-offspring .offspring-card .card-details .detail-chip{align-items:center;background:#f3f4f6;border-radius:6px;color:#4b5563;display:inline-flex;font-size:11px;font-weight:500;gap:4px;padding:4px 10px}.animal-offspring .offspring-card .card-details .detail-chip.age{background:rgba(8,145,178,.1);color:#0891b2;font-weight:600}.animal-offspring .offspring-card .other-parent-info{align-items:center;background:#f9fafb;border-radius:6px;display:flex;font-size:11px;gap:6px;margin-bottom:8px;padding:6px 10px}.animal-offspring .offspring-card .other-parent-info .parent-label{color:#9ca3af;font-weight:500}.animal-offspring .offspring-card .other-parent-info .parent-name{color:#4b5563;font-weight:600}.animal-offspring .offspring-card .card-footer-row{display:flex;justify-content:flex-end}.animal-offspring .offspring-card .card-footer-row .view-link{align-items:center;color:#0891b2;display:flex;font-size:12px;font-weight:500;gap:4px;transition:gap .2s}.animal-offspring .offspring-card:hover .card-footer-row .view-link{gap:6px}.animal-offspring .no-results{align-items:center;color:#9ca3af;display:flex;flex-direction:column;gap:8px;padding:40px 20px}.animal-offspring .no-results .no-results-icon{opacity:.3}.animal-offspring .no-results span{font-size:14px}.animal-offspring .empty-state{align-items:center;display:flex;flex-direction:column;padding:48px 24px;text-align:center}.animal-offspring .empty-state .empty-icon-wrapper{align-items:center;background:rgba(8,145,178,.1);border-radius:50%;display:flex;height:80px;justify-content:center;margin-bottom:16px;width:80px}.animal-offspring .empty-state .empty-icon-wrapper .empty-icon{color:#0891b2;opacity:.6}.animal-offspring .empty-state h5{color:#374151;font-size:16px;font-weight:600;margin:0 0 8px}.animal-offspring .empty-state>p{color:#9ca3af;font-size:13px;line-height:1.5;margin:0 0 24px;max-width:400px}.animal-offspring .empty-state .empty-tips{display:flex;flex-direction:column;gap:10px;max-width:400px;width:100%}.animal-offspring .empty-state .empty-tips .tip{align-items:flex-start;background:#f9fafb;border-radius:8px;display:flex;gap:12px;padding:10px 14px;text-align:left}.animal-offspring .empty-state .empty-tips .tip .tip-number{align-items:center;background:#0891b2;border-radius:50%;color:#fff;display:flex;flex-shrink:0;font-size:11px;font-weight:700;height:22px;justify-content:center;width:22px}.animal-offspring .empty-state .empty-tips .tip span:last-child{color:#6b7280;font-size:12px;line-height:1.4}@media(min-width:768px){.animal-offspring .offspring-filters{align-items:center;flex-direction:row}.animal-offspring .offspring-filters .search-box{flex:1;max-width:320px;min-width:180px;width:auto}.animal-offspring .offspring-filters .filter-group{flex-shrink:0}}@media(max-width:767px){.animal-offspring .offspring-stats-row{gap:8px;grid-template-columns:repeat(2,1fr);padding:12px 16px}.animal-offspring .offspring-stats-row .offspring-stat-card{padding:10px 12px}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-icon{height:30px;width:30px}.animal-offspring .offspring-stats-row .offspring-stat-card .stat-info .stat-value{font-size:16px}.animal-offspring .family-tree-mini{margin:0 16px 12px;padding:12px}.animal-offspring .family-tree-mini .tree-offspring-row .tree-offspring-node .offspring-avatar{font-size:12px;height:30px;width:30px}.animal-offspring .offspring-filters{padding:10px 16px}.animal-offspring .offspring-filters .filter-group{width:100%}.animal-offspring .offspring-filters .filter-group .filter-select{flex:1;min-width:0}.animal-offspring .offspring-list{padding:12px 16px}.animal-offspring .offspring-card{padding:12px}.animal-offspring .offspring-card .card-details{gap:4px}.animal-offspring .offspring-card .card-details .detail-chip{font-size:10px;padding:3px 8px}}@media(max-width:480px){.animal-offspring .offspring-stats-row{grid-template-columns:1fr 1fr}.animal-offspring .offspring-filters .filter-group{flex-direction:column}.animal-offspring .offspring-filters .filter-group .filter-select{width:100%}}@media(prefers-reduced-motion:reduce){.animal-offspring .animate-spin,.animal-offspring .bar-segment,.animal-offspring .offspring-avatar,.animal-offspring .offspring-card,.animal-offspring .offspring-stat-card,.animal-offspring .refresh-btn,.animal-offspring .tree-offspring-node,.animal-offspring .view-link{animation:none!important;transition:none!important}}@media print{.animal-offspring .offspring-filters,.animal-offspring .refresh-btn{display:none!important}.animal-offspring .family-tree-mini,.animal-offspring .offspring-card,.animal-offspring .offspring-stat-card{-moz-column-break-inside:avoid;border:1px solid #e5e7eb!important;box-shadow:none!important;break-inside:avoid}}.photo-upload-inline-form{background:#fff;border-radius:12px;display:flex;flex-direction:column;max-height:80vh;overflow:hidden}.photo-upload-inline-form .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:16px;justify-content:center;padding:60px 20px}.photo-upload-inline-form .loading-state .animate-spin{animation:photo-form-spin 1s linear infinite}.photo-upload-inline-form .loading-state span{font-size:14px;font-weight:500}.photo-upload-inline-form .form-progress{align-items:center;background:#f9fafb;border-bottom:1px solid #e5e7eb;display:flex;flex-shrink:0;gap:12px;padding:16px 20px}.photo-upload-inline-form .form-progress .progress-bar{background:#e5e7eb;border-radius:4px;flex:1;height:8px;overflow:hidden}.photo-upload-inline-form .form-progress .progress-bar .progress-fill{background:linear-gradient(90deg,#06b6d4,#0891b2);border-radius:4px;height:100%;transition:width .3s ease}.photo-upload-inline-form .form-progress .progress-text{color:#06b6d4;font-size:13px;font-weight:600;white-space:nowrap}.photo-upload-inline-form .record-source-indicator{border-bottom:1px solid #e5e7eb;border-radius:0;flex-shrink:0;margin:0}.photo-upload-inline-form .record-source-indicator.farmer{background:linear-gradient(135deg,rgba(6,182,212,.1),rgba(6,182,212,.05))}.photo-upload-inline-form .record-source-indicator.farmer .source-notice .notice-title{color:#0891b2}.photo-upload-inline-form .record-source-indicator.farmer .source-notice svg{color:#06b6d4}.photo-upload-inline-form .record-source-indicator.professional{background:linear-gradient(135deg,rgba(59,130,246,.1),rgba(59,130,246,.05))}.photo-upload-inline-form .record-source-indicator.professional .source-notice .notice-title,.photo-upload-inline-form .record-source-indicator.professional .source-notice svg{color:#3b82f6}.photo-upload-inline-form .record-source-indicator .source-notice{align-items:flex-start;display:flex;gap:12px;padding:14px 20px}.photo-upload-inline-form .record-source-indicator .source-notice svg{flex-shrink:0;margin-top:2px}.photo-upload-inline-form .record-source-indicator .source-notice .notice-text{display:flex;flex-direction:column;gap:4px}.photo-upload-inline-form .record-source-indicator .source-notice .notice-text .notice-title{font-size:14px;font-weight:600}.photo-upload-inline-form .record-source-indicator .source-notice .notice-text .notice-description{color:#4b5563;font-size:13px;line-height:1.5}.photo-upload-inline-form .form-scrollable-content{flex:1;min-height:0;overflow-y:auto;padding:20px}.photo-upload-inline-form .form-scrollable-content::-webkit-scrollbar{width:8px}.photo-upload-inline-form .form-scrollable-content::-webkit-scrollbar-track{background:#f8f9fa;border-radius:4px}.photo-upload-inline-form .form-scrollable-content::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:4px}.photo-upload-inline-form .form-scrollable-content::-webkit-scrollbar-thumb:hover{background:#9ca3af}.photo-upload-inline-form .form-sections{display:flex;flex-direction:column;gap:16px}.photo-upload-inline-form .form-section{background:#fff;border:1px solid #e5e7eb;border-radius:10px;overflow:hidden;transition:all .2s ease}.photo-upload-inline-form .form-section:hover{border-color:rgba(6,182,212,.3)}.photo-upload-inline-form .form-section.collapsed .section-content{display:none}.photo-upload-inline-form .form-section .section-header{align-items:center;background:#f9fafb;cursor:pointer;display:flex;justify-content:space-between;padding:14px 16px;transition:background .2s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.photo-upload-inline-form .form-section .section-header:hover{background:#f8f9fa}.photo-upload-inline-form .form-section .section-header .section-title{align-items:center;color:#374151;display:flex;font-size:14px;font-weight:600;gap:10px}.photo-upload-inline-form .form-section .section-header .section-title .section-icon{color:#06b6d4}.photo-upload-inline-form .form-section .section-header .section-title .required-badge{background:rgba(239,68,68,.1);border-radius:4px;color:#dc2626;font-size:10px;font-weight:600;padding:2px 6px;text-transform:uppercase}.photo-upload-inline-form .form-section .section-header>svg:last-child{color:#6b7280;transition:transform .2s ease}.photo-upload-inline-form .form-section:not(.collapsed) .section-header>svg:last-child{transform:rotate(180deg)}.photo-upload-inline-form .form-section .section-content{border-top:1px solid #e5e7eb;padding:16px}.photo-upload-inline-form .upload-previews{display:grid;gap:10px;grid-template-columns:repeat(auto-fill,minmax(120px,1fr))}.photo-upload-inline-form .upload-previews .preview-card{border:1px solid #e5e7eb;border-radius:8px;overflow:hidden;transition:all .2s ease}.photo-upload-inline-form .upload-previews .preview-card:hover{border-color:rgba(6,182,212,.3);box-shadow:0 2px 8px rgba(0,0,0,.08)}.photo-upload-inline-form .upload-previews .preview-card img{height:90px;-o-object-fit:cover;object-fit:cover;width:100%}.photo-upload-inline-form .upload-previews .preview-card .preview-info{padding:6px 8px}.photo-upload-inline-form .upload-previews .preview-card .preview-info .preview-name{color:#374151;display:block;font-size:.7rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.photo-upload-inline-form .upload-previews .preview-card .preview-info .preview-size{color:#9ca3af;display:block;font-size:.6rem;margin-top:2px}.photo-upload-inline-form .no-files-notice{align-items:center;background:rgba(250,140,22,.1);border:1px solid rgba(250,140,22,.3);border-radius:8px;color:#fa8c16;display:flex;font-size:13px;font-weight:500;gap:8px;padding:12px 14px}.photo-upload-inline-form .category-preview{background:#f9fafb;border:1px solid #e5e7eb;border-radius:8px;padding:10px 12px}.photo-upload-inline-form .category-preview .cat-preview-badge{border-radius:12px;display:inline-flex;font-size:.8rem;font-weight:600;padding:4px 12px}.photo-upload-inline-form .form-label-custom{color:#374151;display:block;font-size:13px;font-weight:600;margin-bottom:6px}.photo-upload-inline-form .form-label-custom .text-danger{color:#dc2626}.photo-upload-inline-form .form-control-custom{background:#fff;border:1px solid #d1d5db;border-radius:8px;font-size:14px;padding:10px 12px;transition:all .2s ease;width:100%}.photo-upload-inline-form .form-control-custom:focus{border-color:#06b6d4;box-shadow:0 0 0 3px rgba(6,182,212,.1);outline:none}.photo-upload-inline-form .form-control-custom:hover:not(:focus){border-color:#9ca3af}.photo-upload-inline-form .form-control-custom.is-invalid{border-color:#dc2626}.photo-upload-inline-form .form-control-custom.is-invalid:focus{box-shadow:0 0 0 3px rgba(239,68,68,.1)}.photo-upload-inline-form .form-control-custom::-moz-placeholder{color:#9ca3af}.photo-upload-inline-form .form-control-custom::placeholder{color:#9ca3af}.photo-upload-inline-form .field-error{align-items:center;color:#dc2626;display:flex;font-size:12px;gap:6px;margin-top:6px}.photo-upload-inline-form .field-error svg{flex-shrink:0}.photo-upload-inline-form .row{margin-bottom:12px;margin-left:-8px;margin-right:-8px}.photo-upload-inline-form .row:last-child{margin-bottom:0}.photo-upload-inline-form .row>[class*=col]{padding-left:8px;padding-right:8px}.photo-upload-inline-form .upload-progress-bar{align-items:center;background:#f9fafb;border-top:1px solid #e5e7eb;display:flex;gap:10px;padding:10px 20px}.photo-upload-inline-form .upload-progress-bar .progress-track{background:#e5e7eb;border-radius:3px;flex:1;height:6px;overflow:hidden}.photo-upload-inline-form .upload-progress-bar .progress-track .progress-fill{background:#06b6d4;border-radius:3px;height:100%;transition:width .3s ease}.photo-upload-inline-form .upload-progress-bar .progress-label{color:#0891b2;font-size:11px;font-weight:600;min-width:36px}.photo-upload-inline-form .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:16px;padding:16px 24px;position:sticky;right:0;z-index:100}.photo-upload-inline-form .form-action-footer .form-action-footer-inner{align-items:center;display:flex;gap:12px;justify-content:space-between}.photo-upload-inline-form .form-action-footer .btn-save-custom{align-items:center;background:linear-gradient(135deg,#22c55e,#1ca24d);border:none;border-radius:8px;color:#fff;display:flex;font-size:14px;font-weight:600;gap:6px;padding:10px 28px;transition:all .2s ease}.photo-upload-inline-form .form-action-footer .btn-save-custom:hover:not(:disabled){box-shadow:0 4px 12px rgba(34,197,94,.3);transform:translateY(-1px)}.photo-upload-inline-form .form-action-footer .btn-save-custom:disabled{cursor:not-allowed;opacity:.7}.photo-upload-inline-form .form-action-footer .btn-cancel-custom{align-items:center;background:#fff;border:1px solid #d1d5db;border-radius:8px;color:#374151;display:flex;font-size:14px;font-weight:600;gap:6px;padding:10px 20px;transition:all .2s ease}.photo-upload-inline-form .form-action-footer .btn-cancel-custom:hover:not(:disabled){background:#f9fafb;border-color:#9ca3af}.photo-upload-inline-form .form-action-footer svg{flex-shrink:0}.photo-upload-inline-form .form-action-footer .animate-spin{animation:photo-form-spin 1s linear infinite}@keyframes photo-form-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media(max-width:767px){.photo-upload-inline-form{max-height:90vh}.photo-upload-inline-form .form-progress{align-items:stretch;flex-direction:column;gap:8px;padding:12px 16px}.photo-upload-inline-form .form-progress .progress-text{text-align:center}.photo-upload-inline-form .record-source-indicator .source-notice{flex-direction:column;padding:12px 16px;text-align:center}.photo-upload-inline-form .record-source-indicator .source-notice svg{margin:0 auto}.photo-upload-inline-form .form-scrollable-content{padding:16px}.photo-upload-inline-form .form-section .section-header{padding:12px 14px}.photo-upload-inline-form .form-section .section-header .section-title{font-size:13px}.photo-upload-inline-form .form-section .section-content{padding:14px}.photo-upload-inline-form .upload-previews{grid-template-columns:repeat(2,1fr)}.photo-upload-inline-form .form-action-footer{padding:12px 16px}.photo-upload-inline-form .form-action-footer .form-action-footer-inner{flex-direction:column-reverse}.photo-upload-inline-form .form-action-footer .btn-cancel-custom,.photo-upload-inline-form .form-action-footer .btn-save-custom{justify-content:center;width:100%}.photo-upload-inline-form .row>[class*=col]{margin-bottom:12px}.photo-upload-inline-form .row>[class*=col]:last-child{margin-bottom:0}}.photo-upload-inline-form .btn:focus-visible,.photo-upload-inline-form .form-control-custom:focus-visible{outline:2px solid #06b6d4;outline-offset:2px}.photo-upload-inline-form .section-header:focus-visible{outline:2px solid #06b6d4;outline-offset:-2px}@media(prefers-reduced-motion:reduce){.photo-upload-inline-form .animate-spin,.photo-upload-inline-form .btn,.photo-upload-inline-form .form-control-custom,.photo-upload-inline-form .form-section,.photo-upload-inline-form .preview-card,.photo-upload-inline-form .progress-fill{animation:none!important;transition:none!important}}@media print{.photo-upload-inline-form{max-height:none;overflow:visible}.photo-upload-inline-form .form-action-footer{display:none}.photo-upload-inline-form .form-scrollable-content{overflow:visible}}.photo-detail-inline{background:#fff;border-radius:1rem;overflow:hidden}.photo-detail-inline .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:12px;justify-content:center;min-height:300px}.photo-detail-inline .loading-state .animate-spin{animation:photo-detail-spin 1s linear infinite}.photo-detail-inline .inline-detail-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;justify-content:space-between;padding:16px 20px}.photo-detail-inline .inline-detail-header .header-title{align-items:center;display:flex;gap:12px}.photo-detail-inline .inline-detail-header .header-title .back-btn{border-radius:.25rem;color:#6b7280;padding:6px}.photo-detail-inline .inline-detail-header .header-title .back-btn:hover{background:rgba(0,0,0,.05);color:#1f2937}.photo-detail-inline .inline-detail-header .header-title .header-icon{color:#06b6d4}.photo-detail-inline .inline-detail-header .header-title h4{color:#1f2937;font-size:1.1rem;font-weight:600;margin:0}.photo-detail-inline .quick-info-banner{background:#f8faf8;border-bottom:1px solid #e5e7eb;display:flex;flex-wrap:wrap;gap:8px;padding:12px 20px}.photo-detail-inline .quick-info-banner .info-item .info-badge{align-items:center;border-radius:20px;display:inline-flex;font-size:.75rem;font-weight:600;gap:4px;letter-spacing:.025em;padding:4px 10px;text-transform:uppercase}.photo-detail-inline .quick-info-banner .info-item .info-badge.primary{background:rgba(250,140,22,.1);color:#fa8c16}.photo-detail-inline .quick-info-banner .info-item .info-badge.size{background:hsla(220,9%,46%,.1);color:#6b7280}.photo-detail-inline .quick-info-banner .info-item .info-badge.counter{background:rgba(6,182,212,.1);color:#0891b2}.photo-detail-inline .quick-info-banner .info-item .info-badge svg{flex-shrink:0}.photo-detail-inline .tab-navigation{background:#fff;border-bottom:1px solid #e5e7eb;display:flex;gap:2px;overflow-x:auto;padding:8px 12px}.photo-detail-inline .tab-navigation::-webkit-scrollbar{display:none}.photo-detail-inline .tab-navigation .tab-btn{align-items:center;background:transparent;border:none;border-radius:.25rem;color:#6b7280;cursor:pointer;display:flex;font-size:.8rem;font-weight:500;gap:6px;padding:8px 14px;transition:all .15s ease;white-space:nowrap}.photo-detail-inline .tab-navigation .tab-btn svg{flex-shrink:0}.photo-detail-inline .tab-navigation .tab-btn:hover{background:#f8faf8;color:#1f2937}.photo-detail-inline .tab-navigation .tab-btn.active{background:#06b6d4;color:#fff}.photo-detail-inline .tab-content-area{max-height:600px;overflow-y:auto;padding:16px}.photo-detail-inline .preview-container,.photo-detail-inline .tab-content-area{display:flex;flex-direction:column;gap:12px}.photo-detail-inline .image-viewer{align-items:center;background:#1a1a2e;border-radius:.375rem;display:flex;justify-content:center;min-height:300px;overflow:hidden;position:relative}.photo-detail-inline .image-viewer .image-wrapper{align-items:center;display:flex;justify-content:center;padding:24px;width:100%}.photo-detail-inline .image-viewer .image-wrapper img{border-radius:4px;max-height:50vh;max-width:100%;-o-object-fit:contain;object-fit:contain}.photo-detail-inline .image-viewer .nav-btn{align-items:center;background:hsla(0,0%,100%,.15);border:none;border-radius:50%;color:#fff;cursor:pointer;display:flex;height:40px;justify-content:center;position:absolute;top:50%;transform:translateY(-50%);transition:background .2s;width:40px;z-index:5}.photo-detail-inline .image-viewer .nav-btn:hover{background:hsla(0,0%,100%,.3)}.photo-detail-inline .image-viewer .nav-btn.prev{left:12px}.photo-detail-inline .image-viewer .nav-btn.next{right:12px}.photo-detail-inline .thumbnail-strip{background:#f8faf8;border-radius:.375rem;display:flex;gap:6px;overflow-x:auto;padding:8px}.photo-detail-inline .thumbnail-strip::-webkit-scrollbar{height:4px}.photo-detail-inline .thumbnail-strip::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:2px}.photo-detail-inline .thumbnail-strip .thumb-btn{background:none;border:2px solid transparent;border-radius:6px;cursor:pointer;flex-shrink:0;height:42px;overflow:hidden;padding:0;transition:all .2s;width:56px}.photo-detail-inline .thumbnail-strip .thumb-btn.active{border-color:#06b6d4;box-shadow:0 0 0 2px rgba(6,182,212,.2)}.photo-detail-inline .thumbnail-strip .thumb-btn:hover:not(.active){border-color:rgba(6,182,212,.4)}.photo-detail-inline .thumbnail-strip .thumb-btn img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.photo-detail-inline .preview-actions{display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.photo-detail-inline .preview-actions .action-btn{align-items:center;background:#fff;border:1px solid #e5e7eb;border-radius:.25rem;color:#6b7280;cursor:pointer;display:flex;font-size:.8rem;font-weight:500;gap:6px;padding:8px 14px;text-decoration:none;transition:all .2s}.photo-detail-inline .preview-actions .action-btn:hover{background:#f8faf8;border-color:#06b6d4;color:#06b6d4}.photo-detail-inline .preview-actions .action-btn.danger:hover{background:rgba(239,68,68,.1);border-color:#ef4444;color:#ef4444}.photo-detail-inline .detail-section{background:#f8faf8;border-radius:.375rem;overflow:hidden}.photo-detail-inline .detail-section .section-header{align-items:center;cursor:pointer;display:flex;justify-content:space-between;padding:12px 16px;transition:background .15s ease;-webkit-user-select:none;-moz-user-select:none;user-select:none}.photo-detail-inline .detail-section .section-header:hover{background:rgba(0,0,0,.02)}.photo-detail-inline .detail-section .section-header .section-title-group{align-items:center;display:flex;gap:10px}.photo-detail-inline .detail-section .section-header .section-title-group .section-icon{color:#06b6d4}.photo-detail-inline .detail-section .section-header .section-title-group h3{color:#1f2937;font-size:.9rem;font-weight:600;margin:0}.photo-detail-inline .detail-section .section-header svg:last-child{color:#9ca3af;flex-shrink:0}.photo-detail-inline .detail-section .section-content{padding:0 16px 16px}.photo-detail-inline .detail-section.collapsed .section-content{display:none}.photo-detail-inline .detail-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.photo-detail-inline .detail-row{display:flex;flex-direction:column;gap:2px}.photo-detail-inline .detail-row .detail-label{align-items:center;color:#9ca3af;display:flex;font-size:.7rem;font-weight:500;gap:4px;letter-spacing:.05em;text-transform:uppercase}.photo-detail-inline .detail-row .detail-label .label-icon{color:#9ca3af}.photo-detail-inline .detail-row .detail-value{color:#1f2937;font-size:.85rem;font-weight:500}.photo-detail-inline .detail-row .detail-value .value-badge{align-items:center;border-radius:4px;display:inline-flex;font-size:.75rem;font-weight:600;padding:2px 8px}.photo-detail-inline .description-content{background:#fff;border-left:3px solid #06b6d4;border-radius:.25rem;color:#1f2937;font-size:.85rem;line-height:1.6;padding:10px 14px}@keyframes photo-detail-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media(max-width:600px){.photo-detail-inline .inline-detail-header{align-items:flex-start;flex-direction:column;gap:12px}.photo-detail-inline .inline-detail-header .header-title h4{font-size:1rem}.photo-detail-inline .quick-info-banner{padding:10px 16px}.photo-detail-inline .tab-navigation{padding:6px 8px}.photo-detail-inline .tab-navigation .tab-btn{font-size:.75rem;padding:6px 10px}.photo-detail-inline .tab-content-area{max-height:500px;padding:12px}.photo-detail-inline .image-viewer{min-height:200px}.photo-detail-inline .image-viewer .image-wrapper{padding:16px}.photo-detail-inline .image-viewer .image-wrapper img{max-height:40vh}.photo-detail-inline .image-viewer .nav-btn{height:32px;width:32px}.photo-detail-inline .thumbnail-strip .thumb-btn{height:33px;width:44px}.photo-detail-inline .preview-actions .action-btn{font-size:.75rem;padding:6px 10px}.photo-detail-inline .detail-grid{grid-template-columns:1fr}}@media(prefers-reduced-motion:reduce){.photo-detail-inline .action-btn,.photo-detail-inline .animate-spin,.photo-detail-inline .form-section,.photo-detail-inline .nav-btn,.photo-detail-inline .tab-btn,.photo-detail-inline .thumb-btn{animation:none!important;transition:none!important}}@media print{.photo-detail-inline .preview-actions,.photo-detail-inline .tab-navigation{display:none!important}.photo-detail-inline .tab-content-area{max-height:none;overflow:visible}.photo-detail-inline .detail-section,.photo-detail-inline .image-viewer{-moz-column-break-inside:avoid;box-shadow:none!important;break-inside:avoid}}.animal-photos-container{background:#fff;border-radius:1rem;overflow:hidden}.animal-photos-container.inline-form-mode{background:#f8faf8}.animal-photos-container .photos-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-photos-container .photos-header.inline-form-header{background:#fff;border-bottom:1px solid #e5e7eb}.animal-photos-container .photos-header .header-title{align-items:center;display:flex;gap:10px}.animal-photos-container .photos-header .header-title .back-btn{border-radius:.25rem;color:#6b7280;padding:6px}.animal-photos-container .photos-header .header-title .back-btn:hover{background:rgba(0,0,0,.05);color:#1f2937}.animal-photos-container .photos-header .header-title svg{color:#06b6d4;flex-shrink:0}.animal-photos-container .photos-header .header-title h4{color:#1f2937;font-size:1.05rem;font-weight:600;margin:0}.animal-photos-container .photos-header .header-actions{align-items:center;display:flex;flex-wrap:wrap;gap:8px;margin-left:auto}.animal-photos-container .photos-header .header-actions .filter-btn,.animal-photos-container .photos-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-photos-container .photos-header .header-actions .filter-btn svg,.animal-photos-container .photos-header .header-actions .refresh-btn svg{flex-shrink:0}.animal-photos-container .photos-header .header-actions .filter-btn svg.spin,.animal-photos-container .photos-header .header-actions .refresh-btn svg.spin{animation:spin 1s linear infinite}.animal-photos-container .photos-header .header-actions .view-toggle{border:1px solid #e5e7eb;border-radius:.25rem;display:flex;gap:2px;overflow:hidden}.animal-photos-container .photos-header .header-actions .view-toggle .btn{align-items:center;border:none;border-radius:0;display:flex;padding:6px 10px}.animal-photos-container .photos-header>.add-actions{align-items:center;display:flex;gap:6px}.animal-photos-container .photos-header>.add-actions .camera-btn{align-items:center;border-color:#06b6d4;color:#06b6d4;display:flex;font-size:13px;font-weight:500;gap:6px}.animal-photos-container .photos-header>.add-actions .camera-btn:hover{background:rgba(6,182,212,.1)}.animal-photos-container .photos-header>.add-actions .upload-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-photos-container .photos-header>.add-actions .upload-btn:hover{background:#0891b2;border-color:#0891b2}.animal-photos-container .animal-context-banner{align-items:center;background:#f8faf8;border-bottom:1px solid #e5e7eb;display:flex;padding:12px 20px}.animal-photos-container .animal-context-banner .animal-info{align-items:center;display:flex;gap:12px}.animal-photos-container .animal-context-banner .animal-info .animal-emoji{font-size:28px;line-height:1}.animal-photos-container .animal-context-banner .animal-info .animal-details{display:flex;flex-direction:column;gap:2px}.animal-photos-container .animal-context-banner .animal-info .animal-details strong{color:#1f2937;font-size:.95rem}.animal-photos-container .animal-context-banner .animal-info .animal-details .animal-tag{color:#6b7280;font-size:.8rem}.animal-photos-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-photos-container .filters-panel .filter-group{display:flex;flex-direction:column;gap:4px;min-width:180px}.animal-photos-container .filters-panel .filter-group label{color:#6b7280;font-size:.75rem;font-weight:600;letter-spacing:.05em;text-transform:uppercase}.animal-photos-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-photos-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-photos-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-photos-container .filters-panel .clear-filters:hover{color:#dc2626;text-decoration:none}.animal-photos-container .photo-stats{align-items:center;display:flex;gap:4px}.animal-photos-container .photo-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-photos-container .photo-stats .stat-item .stat-value{color:#1f2937;font-size:12px;font-weight:700}.animal-photos-container .photo-stats .stat-item .stat-label{color:#9ca3af;font-size:11px;font-weight:500}.animal-photos-container .photo-stats .stat-item.primary{background:rgba(250,140,22,.05);border-color:rgba(250,140,22,.3)}.animal-photos-container .photo-stats .stat-item.primary .stat-value{color:#fa8c16}.animal-photos-container .photo-stats .stat-item.categories{background:rgba(6,182,212,.05);border-color:rgba(6,182,212,.3)}.animal-photos-container .photo-stats .stat-item.categories .stat-value{color:#06b6d4}.animal-photos-container .photo-stats .stat-item.size{background:rgba(59,130,246,.05);border-color:rgba(59,130,246,.3)}.animal-photos-container .photo-stats .stat-item.size .stat-value{color:#3b82f6}.animal-photos-container .photos-content{min-height:200px;padding:16px 20px}.animal-photos-container .loading-state{align-items:center;color:#6b7280;display:flex;flex-direction:column;gap:12px;justify-content:center;padding:60px 20px}.animal-photos-container .loading-state .spin{animation:spin 1s linear infinite}.animal-photos-container .photo-grid{display:grid;gap:12px;grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}.animal-photos-container .photo-tile{background:#fff;border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden;transition:all .2s ease}.animal-photos-container .photo-tile:hover{border-color:rgba(6,182,212,.3);box-shadow:0 4px 6px rgba(0,0,0,.07)}.animal-photos-container .photo-tile:hover .tile-overlay{opacity:1}.animal-photos-container .photo-tile.primary{border-color:rgba(250,140,22,.4)}.animal-photos-container .photo-tile.primary .primary-badge{display:flex}.animal-photos-container .photo-tile .tile-image{background:#f3f4f6;cursor:pointer;height:150px;overflow:hidden;position:relative;width:100%}.animal-photos-container .photo-tile .tile-image.no-image{align-items:center;display:flex;justify-content:center}.animal-photos-container .photo-tile .tile-image.no-image:after{content:"📷";font-size:32px;opacity:.3}.animal-photos-container .photo-tile .tile-image img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.animal-photos-container .photo-tile .tile-image .tile-overlay{align-items:center;background:rgba(0,0,0,.4);color:#fff;display:flex;inset:0;justify-content:center;opacity:0;position:absolute;transition:opacity .2s}.animal-photos-container .photo-tile .primary-badge{align-items:center;background:#fa8c16;border-radius:10px;color:#fff;display:none;font-size:9px;font-weight:700;gap:3px;left:6px;padding:2px 8px;position:absolute;top:6px;z-index:2}.animal-photos-container .photo-tile .tile-info{padding:10px 12px}.animal-photos-container .photo-tile .tile-info .tile-title{color:#1f2937;display:block;font-size:.85rem;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.animal-photos-container .photo-tile .tile-info .tile-meta{align-items:center;display:flex;justify-content:space-between;margin-top:6px}.animal-photos-container .photo-tile .tile-info .tile-meta .cat-badge{border-radius:8px;font-size:.65rem;font-weight:600;padding:2px 8px}.animal-photos-container .photo-tile .tile-info .tile-meta .tile-date{color:#9ca3af;font-size:.7rem}.animal-photos-container .photo-tile .tile-actions{background:#f8faf8;border-top:1px solid #e5e7eb;display:flex;gap:8px;justify-content:flex-end;padding:8px 12px}.animal-photos-container .photo-tile .tile-actions .btn{align-items:center;display:flex;font-size:.8rem;font-weight:500;gap:4px;padding:4px 10px}.animal-photos-container .photo-table-wrapper{border:1px solid #e5e7eb;border-radius:.375rem;overflow:hidden}.animal-photos-container .photo-table-wrapper .photo-table{border-collapse:collapse;font-size:.85rem;margin:0;width:100%}.animal-photos-container .photo-table-wrapper .photo-table thead{background:#f8faf8}.animal-photos-container .photo-table-wrapper .photo-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-photos-container .photo-table-wrapper .photo-table tbody tr{transition:background .15s ease}.animal-photos-container .photo-table-wrapper .photo-table tbody tr:hover{background:rgba(6,182,212,.03)}.animal-photos-container .photo-table-wrapper .photo-table tbody tr td{border-bottom:1px solid #e5e7eb;padding:10px 12px;vertical-align:middle}.animal-photos-container .photo-table-wrapper .photo-table .table-thumb{background:#f3f4f6;border-radius:4px;height:36px;overflow:hidden;width:48px}.animal-photos-container .photo-table-wrapper .photo-table .table-thumb img{height:100%;-o-object-fit:cover;object-fit:cover;width:100%}.animal-photos-container .photo-table-wrapper .photo-table .cat-badge{border-radius:8px;display:inline-flex;font-size:.65rem;font-weight:600;padding:2px 8px}.animal-photos-container .photo-table-wrapper .photo-table .primary-indicator{align-items:center;color:#fa8c16;display:inline-flex;font-size:.8rem;font-weight:600;gap:4px}.animal-photos-container .photo-table-wrapper .photo-table .actions-col{text-align:right;width:120px}.animal-photos-container .photo-table-wrapper .photo-table .action-buttons{display:flex;gap:4px;justify-content:flex-end}.animal-photos-container .photo-table-wrapper .photo-table .action-buttons .btn{align-items:center;display:flex;justify-content:center;padding:4px 8px}.animal-photos-container .empty-state{align-items:center;display:flex;flex-direction:column;justify-content:center;padding:60px 20px;text-align:center}.animal-photos-container .empty-state .empty-icon{color:#9ca3af;margin-bottom:16px;opacity:.5}.animal-photos-container .empty-state h5{color:#1f2937;font-size:1.1rem;font-weight:600;margin-bottom:8px}.animal-photos-container .empty-state p{color:#6b7280;font-size:.9rem;margin-bottom:20px;max-width:400px}.animal-photos-container .empty-state .empty-tips{display:flex;flex-direction:column;gap:6px;margin-bottom:20px;text-align:left}.animal-photos-container .empty-state .empty-tips .tip{color:#4b5563;font-size:.85rem;line-height:1.4}.animal-photos-container .empty-state .empty-actions{display:flex;gap:10px}.animal-photos-container .empty-state .empty-actions .btn-primary{background:#06b6d4;border-color:#06b6d4}.animal-photos-container .empty-state .empty-actions .btn-primary:hover{background:#0891b2}.animal-photos-container .empty-state .empty-actions .btn-outline-primary{border-color:#06b6d4;color:#06b6d4}.animal-photos-container .empty-state .empty-actions .btn-outline-primary:hover{background:rgba(6,182,212,.1)}@keyframes spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@media(max-width:1023px){.animal-photos-container .photos-header{align-items:center;display:grid;grid-template-columns:1fr auto}.animal-photos-container .photos-header .header-title{grid-column:1;grid-row:1}.animal-photos-container .photos-header>.add-actions{grid-column:2;grid-row:1;justify-self:end}.animal-photos-container .photos-header .header-actions{gap:6px;grid-column:1/-1;grid-row:2;margin-left:0}.animal-photos-container .photo-stats{flex-wrap:wrap}}@media(min-width:768px)and (max-width:1399px){.animal-photos-container .photo-grid{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}}@media(max-width:767px){.animal-photos-container .photos-header{padding:12px 16px}.animal-photos-container .photos-header .header-title h4{font-size:.95rem}.animal-photos-container .filters-panel{flex-direction:column;padding:12px 16px}.animal-photos-container .filters-panel .filter-group{width:100%}.animal-photos-container .photo-stats{flex-wrap:wrap;order:10;width:100%}.animal-photos-container .photos-content{padding:12px 16px}.animal-photos-container .photo-grid{gap:8px;grid-template-columns:repeat(2,1fr)}.animal-photos-container .photo-grid .photo-tile .tile-image{height:110px}.animal-photos-container .animal-context-banner{padding:10px 16px}.animal-photos-container .animal-context-banner .animal-info .animal-emoji{font-size:24px}}@media(prefers-reduced-motion:reduce){.animal-photos-container .photo-tile,.animal-photos-container .spin,.animal-photos-container .stat-item,.animal-photos-container .tile-overlay{animation:none!important;transition:none!important}}@media print{.animal-photos-container .action-buttons,.animal-photos-container .empty-actions,.animal-photos-container .filters-panel,.animal-photos-container .header-actions,.animal-photos-container .tile-actions{display:none!important}.animal-photos-container .photo-table-wrapper,.animal-photos-container .photo-tile,.animal-photos-container .stat-item{-moz-column-break-inside:avoid;border:1px solid #e5e7eb!important;box-shadow:none!important;break-inside:avoid}}.photo-form-overlay{bottom:0;display:flex;justify-content:flex-end;left:0;position:fixed;right:0;top:70px;z-index:1000}.photo-form-overlay .overlay-backdrop{background:rgba(0,0,0,.3);inset:0;position:absolute}.photo-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%}.photo-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}.photo-form-overlay .form-panel .form-panel-header .form-panel-title{align-items:center;color:#22c55e;display:flex;gap:.5rem}.photo-form-overlay .form-panel .form-panel-header .form-panel-title h3{color:#1f2937;font-size:1.15rem;font-weight:700;margin:0}.photo-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}.photo-form-overlay .form-panel .form-panel-header .close-btn:hover{background:#f8f9fa;color:#1f2937}.photo-form-overlay .form-panel .photo-upload-inline-form{flex:1;overflow-y:auto;padding:1rem 1.5rem}.photo-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){.photo-form-overlay .form-panel{max-width:100%}}