code{font-family:source-code-pro,Menlo,Monaco,Consolas,Courier New,monospace}.app-header{background:#fff;box-shadow:0 2px 4px #0000001a;justify-content:space-between;padding:1rem 2rem;position:-webkit-sticky;position:sticky;top:0;z-index:100}.app-header,.header-left{align-items:center;display:flex}.farm-name{color:#333;font-size:1.5rem;font-weight:600;margin:0}.header-right{align-items:center;display:flex;gap:1rem}.profile-menu{cursor:pointer;position:relative}.profile-icon{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);border-radius:50%;color:#fff;display:flex;font-size:.9rem;font-weight:600;height:40px;justify-content:center;transition:transform .2s;width:40px}.profile-icon:hover{transform:scale(1.05)}.profile-dropdown{background:#fff;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:250px;overflow:hidden;position:absolute;right:0;top:calc(100% + .5rem);z-index:1000}.profile-info{border-bottom:1px solid #eee;padding:1rem}.profile-name{color:#333;font-weight:600;margin-bottom:.25rem}.profile-email{color:#666;font-size:.85rem;margin-bottom:.5rem}.profile-role{align-items:center;display:flex}.role-badge{background:#667eea;border-radius:12px;color:#fff;font-size:.75rem;font-weight:500;padding:.25rem .75rem;text-transform:uppercase}.profile-actions{padding:.5rem}.logout-btn{background:#f5f5f5;border:none;border-radius:6px;color:#333;cursor:pointer;font-size:.9rem;padding:.75rem;transition:background .2s;width:100%}.logout-btn:hover{background:#e0e0e0}.app-navbar{background:#fff;border-bottom:1px solid #eee;padding:0 2rem}.nav-list{list-style:none;margin:0;padding:0}.nav-link,.nav-list{display:flex;gap:.5rem}.nav-link{align-items:center;border-bottom:3px solid #0000;color:#666;font-weight:500;padding:1rem 1.5rem;text-decoration:none;transition:all .2s}.nav-link.active,.nav-link:hover{background:#f8f9fa;color:#667eea}.nav-link.active{border-bottom-color:#667eea}.nav-icon{font-size:1.2rem}.nav-label{font-size:.95rem}.app-layout{background:#f5f5f5;display:flex;flex-direction:column;min-height:100vh}.app-main{flex:1 1;margin:0 auto;max-width:1400px;padding:2rem;width:100%}.login-page{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh}.login-container{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000001a;max-width:400px;padding:2rem;width:100%}.login-container h1{color:#333;margin-bottom:.5rem;text-align:center}.login-container h2{color:#666;font-weight:400;margin-bottom:2rem;text-align:center}.accept-invite-page{align-items:center;background:linear-gradient(135deg,#667eea,#764ba2);display:flex;justify-content:center;min-height:100vh}.accept-invite-container{background:#fff;border-radius:8px;box-shadow:0 4px 6px #0000001a;max-width:450px;padding:2rem;width:100%}.accept-invite-container h1{color:#333;margin-bottom:.5rem;text-align:center}.accept-invite-container h2{color:#666;font-weight:400;margin-bottom:1.5rem;text-align:center}.invite-info{background:#f0f0f0;border-radius:4px;margin-bottom:1.5rem;padding:1rem;text-align:center}.invite-info p{color:#666;margin:.5rem 0}.form-group{margin-bottom:1.5rem}.form-group input{border:1px solid #ddd;border-radius:4px;box-sizing:border-box;font-size:1rem;padding:.75rem;width:100%}.form-group input:focus{border-color:#667eea;outline:none}button{background:#667eea;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;padding:.75rem;transition:background .2s;width:100%}button:hover:not(:disabled){background:#5568d3}button:disabled{cursor:not-allowed;opacity:.6}.multi-category-entry{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.multi-category-entry h2{color:#333;margin-bottom:1.5rem;margin-top:0}.form-header{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:1fr 1fr;margin-bottom:1.5rem}.form-group{margin-bottom:1rem}.form-group label{color:#666;display:block}.form-group input,.form-group select{border-radius:4px;box-sizing:border-box;font-size:.9rem;padding:.5rem;width:100%}.entries-list{margin-bottom:1.5rem}.entry-row{grid-gap:1rem;align-items:end;background:#f9f9f9;border-radius:4px;display:grid;gap:1rem;grid-template-columns:2fr 1fr 1fr 1fr 1fr auto;margin-bottom:1rem;padding:1rem}.remove-btn{background:#dc3545;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.remove-btn:hover{background:#c82333}.actions{display:flex;gap:1rem;justify-content:flex-end}.add-btn{background:#28a745;border-radius:4px;font-size:1rem}.add-btn:hover{background:#218838}.submit-btn{border-radius:4px;font-size:1rem;padding:.75rem 2rem}.submit-btn:hover:not(:disabled){background:#5568d3}.submit-btn:disabled{cursor:not-allowed;opacity:.6}.error-message{padding:.75rem}.breakdown-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.breakdown-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:900px;width:90%}.breakdown-modal-header{align-items:center;border-bottom:1px solid #ddd;display:flex;justify-content:space-between;padding:1.5rem}.breakdown-modal-header h2{color:#333;margin:0}.close-btn{height:30px;width:30px}.close-btn:hover{color:#333}.breakdown-modal-content{flex:1 1;overflow-y:auto;padding:1.5rem}.summary-info{background:#f5f5f5;border-radius:4px;display:flex;gap:2rem;margin-bottom:1.5rem;padding:1rem}.summary-value{font-size:1.1rem}.transactions-list{display:flex;flex-direction:column;gap:1.5rem}.date-group{border:1px solid #ddd;border-radius:4px;overflow:hidden}.date-header{align-items:center;background:#667eea;color:#fff;display:flex;font-weight:600;justify-content:space-between;padding:.75rem 1rem}.date-label{font-size:1rem}.date-total{font-size:.9rem;opacity:.9}.transaction-item{border-bottom:1px solid #eee;padding:1rem}.transaction-item:last-child{border-bottom:none}.transaction-details{justify-content:space-between}.transaction-details,.transaction-main{align-items:center;display:flex;gap:1rem}.transaction-main{flex:1 1;flex-wrap:wrap}.transaction-item-name{color:#333;font-weight:500;min-width:150px}.transaction-quantity{color:#666;font-size:.9rem}.transaction-rate{color:#888;font-size:.85rem}.transaction-amount{color:#333;font-size:1.1rem;font-weight:700}.transaction-actions{display:flex;gap:.5rem}.delete-transaction-btn,.edit-transaction-btn{border:none;border-radius:4px;cursor:pointer;font-size:.85rem;padding:.4rem .8rem;transition:background .2s}.edit-transaction-btn{background:#667eea;color:#fff}.edit-transaction-btn:hover{background:#5568d3}.delete-transaction-btn{background:#dc3545;color:#fff}.delete-transaction-btn:hover{background:#c82333}.edit-form{background:#f9f9f9;border-radius:4px;gap:1rem;padding:1rem}.edit-form,.form-row{display:flex;flex-direction:column}.form-row{gap:.25rem}.form-row label{color:#666;font-size:.85rem;font-weight:500}.form-row input{border:1px solid #ddd;border-radius:4px;font-size:.9rem;padding:.5rem}.form-row input:disabled{background:#f5f5f5;cursor:not-allowed}.form-actions{gap:.5rem;margin-top:.5rem}.cancel-btn,.save-btn{border:none;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.save-btn{background:#28a745;color:#fff}.save-btn:hover:not(:disabled){background:#218838}.save-btn:disabled{background:#ccc;cursor:not-allowed}.cancel-btn{background:#6c757d;color:#fff}.cancel-btn:hover{background:#5a6268}.add-transaction-section{background:#f0f8ff;border:1px solid #d0e8ff;border-radius:4px;margin-bottom:1.5rem;padding:1rem}.add-transaction-btn{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.add-transaction-btn:hover{background:#218838}.add-transaction-form{background:#fff;border-radius:4px;display:flex;flex-direction:column;gap:1rem;padding:1rem}.add-transaction-form h3{color:#333;font-size:1.1rem;margin:0 0 .5rem}.add-transaction-form textarea{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:.9rem;padding:.5rem;resize:vertical}.payment-modal{max-width:1000px}.add-payment-section{background:#f0f8ff;border:1px solid #d0e8ff;border-radius:4px;margin-bottom:1.5rem;padding:1rem}.add-payment-btn{background:#28a745;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:1rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.add-payment-btn:hover{background:#218838}.add-payment-form{background:#fff;border-radius:4px;display:flex;flex-direction:column;gap:1rem;padding:1rem}.add-payment-form h3{color:#333;font-size:1.1rem;margin:0 0 .5rem}.add-payment-form textarea{border:1px solid #ddd;border-radius:4px;font-family:inherit;font-size:.9rem;padding:.5rem;resize:vertical}.transaction-notes{color:#666;font-size:.85rem;font-style:italic;margin-left:.5rem}.monthly-statistics{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.monthly-statistics-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1.5rem}.monthly-statistics h2{color:#333;margin:0}.refresh-btn{background:#667eea;border:none;border-radius:4px;color:#fff;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.refresh-btn:hover{background:#5568d3}.stat-card-header{align-items:center;display:flex;justify-content:space-between;margin-bottom:1rem}.edit-btn{background:#0000;border:none;cursor:pointer;font-size:1.2rem;opacity:.7;padding:.25rem .5rem;transition:opacity .2s}.stats-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}.stat-card{background:#f9f9f9;border-left:4px solid #667eea;border-radius:8px;padding:1.5rem}.stat-card.net-profit{border-left-color:#28a745}.stat-card h3{color:#666;font-size:.9rem;font-weight:500;margin:0 0 1rem;text-transform:uppercase}.stat-value{color:#333;font-size:1.5rem;font-weight:700}.stat-value.clickable{cursor:pointer;transition:color .2s,-webkit-text-decoration .2s;transition:color .2s,text-decoration .2s;transition:color .2s,text-decoration .2s,-webkit-text-decoration .2s}.stat-value.clickable:hover{color:#667eea;text-decoration:underline}.stat-value.positive{color:#28a745}.stat-value.negative{color:#dc3545}.breakdown{border-top:1px solid #ddd;margin-top:1rem;padding-top:1rem}.breakdown-header{color:#555;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.breakdown-item{align-items:center;color:#666;display:flex;flex-wrap:wrap;font-size:.85rem;gap:.5rem;margin-bottom:.5rem}.breakdown-name{font-weight:500;min-width:120px}.breakdown-value{color:#333}.breakdown-amount{color:#888;font-size:.8rem}.error-message{text-align:center}.yearly-statistics{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.yearly-statistics h2{color:#333;margin-bottom:1.5rem;margin-top:0}.yearly-table{overflow-x:auto}.yearly-table table{border-collapse:collapse;width:100%}.yearly-table td,.yearly-table th{border-bottom:1px solid #ddd;padding:1rem;text-align:left}.yearly-table th{background:#f9f9f9;color:#333;font-weight:600}.yearly-table td.positive{color:#28a745;font-weight:600}.yearly-table td.negative{color:#dc3545;font-weight:600}.yearly-table td.no-data{color:#666}.error-message,.loading,.yearly-table td.no-data{padding:2rem;text-align:center}.error-message{background:#fee;border-radius:4px;color:#c33}.yearly-note{background:#fff3cd;border-radius:6px;color:#856404;font-size:.9rem;margin-bottom:1rem;padding:.75rem 1rem}.yearly-note strong{font-weight:600}.monthly-bar-chart{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.chart-header{margin-bottom:1.5rem}.chart-header h3{color:#333;font-size:1.25rem;font-weight:600;margin:0 0 .5rem}.chart-subtitle{color:#666;font-size:.9rem;font-style:italic}.chart-wrapper{cursor:pointer;margin:1rem 0}.chart-tooltip{background:#fff;border:1px solid #ddd;border-radius:8px;box-shadow:0 4px 12px #00000026;min-width:250px;padding:1rem}.tooltip-header{font-size:1rem;margin-bottom:.75rem;padding-bottom:.5rem}.tooltip-item{margin-bottom:.5rem}.tooltip-item.sales .tooltip-value{color:#4caf50;font-weight:600}.tooltip-item.expense .tooltip-value{color:#f44336;font-weight:600}.tooltip-item.profit .tooltip-value{color:#4caf50;font-weight:600}.tooltip-item.loss .tooltip-value{color:#f44336;font-weight:600}.tooltip-label{color:#666}.tooltip-breakdown{background:#f8f9fa;border-radius:4px;color:#666;font-size:.85rem;margin:.5rem 0;padding:.5rem}.tooltip-breakdown div{margin:.25rem 0}.tooltip-note{border-top:1px solid #eee;color:#999;font-size:.8rem;font-style:italic;margin-top:.5rem;padding-top:.5rem}.chart-summary{border-top:2px solid #eee;display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-around;margin-top:1.5rem;padding-top:1.5rem}.summary-item{align-items:center;gap:.5rem;min-width:200px}.summary-label,.summary-value{text-align:center}.summary-value{font-weight:700}.summary-value.sales{color:#4caf50}.summary-value.expense{color:#f44336}.summary-value.profit{color:#4caf50}.summary-value.loss{color:#f44336}.chart-error,.chart-loading,.chart-no-data{background:#f8f9fa;border-radius:8px;color:#666;padding:3rem;text-align:center}.chart-error{background:#ffebee;color:#d32f2f}.recharts-bar-rectangle{cursor:pointer;transition:opacity .2s}.recharts-bar-rectangle:hover{opacity:.8}.hen-age-display{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.hen-age-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.hen-age-header h2{color:#333;font-size:1.25rem;margin:0}.total-count{color:#666;font-size:1rem}.total-count strong{color:#667eea;font-size:1.1rem}.batches-grid{grid-gap:1rem;gap:1rem;grid-template-columns:repeat(auto-fill,minmax(280px,1fr))}.batch-card{background:#fafafa;border:1px solid #e0e0e0;padding:1rem}.batch-card:hover{box-shadow:0 2px 8px #0000001a}.batch-header{border-bottom:1px solid #e0e0e0;padding-bottom:.75rem}.batch-header h3{font-size:1rem}.batch-details{gap:.5rem}.no-batches{padding:2rem}.error,.loading,.no-batches{color:#666;text-align:center}.error,.loading{padding:1rem}.age-categories{margin-bottom:2rem}.age-categories h3{color:#333;font-size:1.1rem;margin:0 0 1rem}.category-cards{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1rem}.category-card{border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.25rem;text-align:center;transition:transform .2s,box-shadow .2s}.category-card:hover{box-shadow:0 4px 8px #00000026;transform:translateY(-2px)}.category-card.chick{background:linear-gradient(135deg,#fff3e0,#ffe0b2);border:2px solid #ffb74d}.category-card.grower{background:linear-gradient(135deg,#e8f5e9,#c8e6c9);border:2px solid #66bb6a}.category-card.pre-layer{background:linear-gradient(135deg,#e3f2fd,#bbdefb);border:2px solid #42a5f5}.category-card.layer{background:linear-gradient(135deg,#f3e5f5,#e1bee7);border:2px solid #ab47bc}.category-label{color:#555;font-size:.9rem;font-weight:600;margin-bottom:.5rem}.category-count{color:#333;font-size:2rem;font-weight:700;margin-bottom:.25rem}.category-percentage{color:#666;font-size:.85rem;font-weight:500}.batches-section{margin-top:2rem}.batches-section h3{color:#333;font-size:1.1rem;margin:0 0 1rem}.category-badge{border-radius:12px;font-size:.75rem;font-weight:600;padding:.25rem .75rem;text-transform:uppercase}.category-badge.chick{background:#ffb74d;color:#fff}.category-badge.grower{background:#66bb6a;color:#fff}.category-badge.pre-layer{background:#42a5f5;color:#fff}.category-badge.layer{background:#ab47bc;color:#fff}.batch-card.chick{border-left:4px solid #ffb74d}.batch-card.grower{border-left:4px solid #66bb6a}.batch-card.pre-layer{border-left:4px solid #42a5f5}.batch-card.layer{border-left:4px solid #ab47bc}.home-page{margin:0 auto;max-width:1200px}.statistics-section{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-top:2rem;padding:1.5rem}.view-controls{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.view-toggle{background:#f0f0f0}.view-toggle button{color:#666;padding:.5rem 1.5rem}.view-toggle button:hover{background:#ffffff80}.view-toggle button.active{background:#fff;box-shadow:0 2px 4px #0000001a;color:#333;font-weight:600}.date-selector{display:flex;gap:1rem}.date-selector select{border:1px solid #ddd;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem}.date-selector select:focus{border-color:#667eea;outline:none}.expenses-page{margin:0 auto;max-width:1200px}.add-expense-form{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.add-expense-form h2{color:#333;margin:0 0 1.5rem}.form-group input,.form-group select,.form-group textarea{background-color:#fff;border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:.95rem;padding:.75rem}.form-group select{cursor:pointer}.expense-select{width:100%}.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:#667eea;outline:none}.form-section-header{border-bottom:2px solid #eee;margin:1.5rem 0 1rem;padding-bottom:.5rem}.form-section-header h3{color:#333;font-size:1rem;font-weight:600;margin:0 0 .25rem}.form-hint{color:#666;font-size:.85rem}.form-group small.form-hint,.form-hint{display:block;margin-top:.25rem}.expenses-summary{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));margin-bottom:2rem}.summary-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.summary-label{font-size:.9rem;margin-bottom:.5rem}.summary-value{font-size:1.5rem}.expenses-table{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;overflow:hidden}.expenses-table table{border-collapse:collapse;width:100%}.expenses-table thead{background:#f8f9fa}.expenses-table th{color:#333;font-size:.9rem;font-weight:600;letter-spacing:.5px;padding:1rem;text-align:left;text-transform:uppercase}.expenses-table td{border-top:1px solid #eee;color:#666;padding:1rem}.expenses-table tbody tr:hover{background:#f8f9fa}.status-badge{border-radius:12px;font-size:.75rem;font-weight:500;padding:.25rem .75rem;text-transform:uppercase}.status-draft{background:#fff3cd;color:#856404}.status-submitted{background:#cfe2ff;color:#084298}.status-approved{background:#d1e7dd;color:#0f5132}.status-rejected{background:#f8d7da;color:#842029}.info-message{background:#e3f2fd;color:#1976d2;text-align:center}.mortality-chart-modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.mortality-chart-modal{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;display:flex;flex-direction:column;max-height:90vh;max-width:1000px;width:90%}.mortality-chart-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;padding:1.5rem}.mortality-chart-header h2{color:#333;font-size:1.5rem;margin:0}.mortality-chart-content{flex:1 1;overflow-y:auto;padding:1.5rem}.mortality-summary{background:#f5f5f5;border-radius:6px;display:flex;gap:2rem;margin-bottom:2rem;padding:1rem}.summary-item{display:flex;flex-direction:column;gap:.25rem}.summary-label{color:#666;font-size:.85rem}.summary-value{color:#333;font-size:1.2rem;font-weight:600}.chart-container{margin-bottom:2rem}.chart-container h3{color:#333;font-size:1.1rem;margin:0 0 1rem}.mortality-table{margin-top:2rem}.mortality-table h3{color:#333;font-size:1.1rem;margin:0 0 1rem}.mortality-table table{background:#fff;border-collapse:collapse;border-radius:6px;box-shadow:0 1px 3px #0000001a;overflow:hidden;width:100%}.mortality-table thead{background:#667eea;color:#fff}.mortality-table th{font-size:.9rem;font-weight:600;padding:.75rem;text-align:left}.mortality-table td{border-bottom:1px solid #eee;font-size:.9rem;padding:.75rem}.mortality-table tbody tr:hover{background:#f5f5f5}.mortality-table tbody tr:last-child td{border-bottom:none}.error,.loading,.no-data{color:#666;padding:2rem;text-align:center}.error{color:#d32f2f}.hen-batches-page{margin:0 auto;max-width:1200px}.page-header{align-items:flex-start}.page-header h1{margin:0 0 .5rem}.page-subtitle{color:#666;font-size:.95rem;margin:0}.page-subtitle strong{color:#667eea;font-size:1.1rem}.info-message{background:#fff3cd;border-radius:6px;color:#856404;margin-bottom:1rem;padding:1rem}.add-batch-form{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.add-batch-form h2{color:#333;margin:0 0 1.5rem}.form-group label .hint{color:#666;font-size:.85rem;font-style:italic;font-weight:400}.form-group input,.form-group textarea{border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:.95rem;padding:.75rem}.form-group input:focus,.form-group textarea:focus{border-color:#667eea;outline:none}.batches-grid{grid-gap:1.5rem;display:grid;gap:1.5rem;grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.batch-card{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem;transition:box-shadow .2s}.batch-card:hover{box-shadow:0 4px 8px #00000026}.batch-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:1rem;padding-bottom:1rem}.batch-header h3{color:#333;font-size:1.1rem;margin:0}.batch-header-right{align-items:center;display:flex;gap:.5rem}.batch-actions{display:flex;gap:.25rem}.delete-btn,.edit-btn{font-size:1.1rem;opacity:.7;transition:background .2s}.delete-btn:hover,.edit-btn:hover{opacity:1}.batch-age{background:#667eea;border-radius:12px;color:#fff;font-size:.85rem;font-weight:600;padding:.25rem .75rem}.batch-details{display:flex;flex-direction:column;gap:.75rem}.detail-item{display:flex;font-size:.9rem;justify-content:space-between}.detail-item .label{color:#666}.detail-item .value{color:#333;font-weight:500}.detail-item .value.mortality{color:#d32f2f}.batch-notes{border-top:1px solid #eee;display:flex;flex-direction:column;gap:.25rem;margin-top:.5rem;padding-top:.75rem}.batch-notes .label{color:#666;font-size:.85rem}.batch-notes .value{color:#333;font-size:.9rem}.batch-actions-bottom{border-top:1px solid #eee;display:flex;gap:.5rem;margin-top:1rem;padding-top:1rem}.chart-btn,.mortality-btn{border:none;border-radius:6px;color:#fff;cursor:pointer;flex:1 1;font-size:.9rem;font-weight:500;padding:.75rem;transition:background .2s}.mortality-btn{background:#d32f2f}.mortality-btn:hover{background:#b71c1c}.chart-btn{background:#667eea}.chart-btn:hover{background:#5568d3}.modal-overlay{align-items:center;background:#00000080;bottom:0;display:flex;justify-content:center;left:0;position:fixed;right:0;top:0;z-index:1000}.modal-content{background:#fff;border-radius:8px;box-shadow:0 4px 20px #0000004d;max-height:90vh;max-width:500px;overflow-y:auto;padding:2rem;width:90%}.modal-header{align-items:center;border-bottom:1px solid #eee;display:flex;justify-content:space-between;margin-bottom:1.5rem;padding-bottom:1rem}.modal-header h2{color:#333;font-size:1.5rem;margin:0}.close-btn{align-items:center;background:none;border:none;border-radius:4px;color:#666;cursor:pointer;display:flex;font-size:2rem;height:2rem;justify-content:center;line-height:1;padding:0;transition:background .2s;width:2rem}.close-btn:hover{background:#f5f5f5}.btn-primary{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.btn-primary:hover{background:#5568d3}.btn-secondary{background:#f5f5f5;border:none;border-radius:6px;color:#333;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.btn-secondary:hover{background:#e0e0e0}.price-line-chart{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1rem;width:100%}.price-chart-tooltip{background:#fff;border:1px solid #ddd;border-radius:4px;box-shadow:0 2px 8px #00000026;padding:.75rem}.tooltip-header{border-bottom:1px solid #eee;color:#333;font-weight:600;margin-bottom:.5rem;padding-bottom:.25rem}.tooltip-item{display:flex;font-size:.9rem;gap:1rem;justify-content:space-between;margin:.25rem 0}.tooltip-label{font-weight:500}.tooltip-value{font-weight:600}.chart-no-data{color:#666;font-style:italic;padding:3rem;text-align:center}.price-history-page{margin:0 auto;max-width:1400px;padding:1rem}.page-header{justify-content:space-between;margin-bottom:2rem}.header-actions,.page-header{align-items:center;display:flex;flex-wrap:wrap;gap:1rem}.view-toggle{background:#f5f5f5;border-radius:6px;display:flex;gap:.5rem;padding:.25rem}.view-toggle button{background:#0000;border:none;border-radius:4px;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:all .2s}.view-toggle button.active{background:#667eea;color:#fff}.view-toggle button:hover:not(.active){background:#e0e0e0}.page-header h1{color:#333;margin:0}.add-btn{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.add-btn:hover{background:#5568d3}.add-price-form{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;margin-bottom:2rem;padding:1.5rem}.add-price-form h2{color:#333;margin:0 0 1.5rem}.form-row{grid-gap:1rem;display:grid;gap:1rem;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));margin-bottom:1rem}.form-group{display:flex;flex-direction:column}.form-group label{color:#333;font-size:.9rem;font-weight:500;margin-bottom:.5rem}.form-group input,.form-group select{border:1px solid #ddd;border-radius:6px;font-family:inherit;font-size:.95rem;padding:.75rem}.form-group input:focus,.form-group select:focus{border-color:#667eea;outline:none}.form-actions{display:flex;gap:1rem;margin-top:1.5rem}.submit-btn{background:#667eea;border:none;border-radius:6px;color:#fff;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.submit-btn:hover{background:#5568d3}.cancel-btn{background:#f5f5f5;border:none;border-radius:6px;color:#333;cursor:pointer;font-size:.95rem;font-weight:500;padding:.75rem 1.5rem;transition:background .2s}.cancel-btn:hover{background:#e0e0e0}.filters{align-items:flex-end;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-wrap:wrap;gap:1rem;margin-bottom:2rem;padding:1rem}.filter-group{display:flex;flex-direction:column;gap:.5rem}.filter-group label{color:#666;font-size:.85rem;font-weight:500}.filter-group input,.filter-group select{border:1px solid #ddd;border-radius:4px;font-size:.9rem;padding:.5rem}.clear-filters{background:#f5f5f5;border:none;border-radius:4px;color:#333;cursor:pointer;font-size:.9rem;padding:.5rem 1rem;transition:background .2s}.clear-filters:hover{background:#e0e0e0}.error-message{background:#ffebee;border-radius:6px;color:#c62828;margin-bottom:1rem;padding:1rem}.price-groups{display:flex;flex-direction:column;gap:1.5rem}.price-group{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.price-group h3{color:#333;font-size:1.1rem;margin:0 0 1rem}.price-group table{border-collapse:collapse;width:100%}.price-group th{background:#f8f9fa;border-bottom:2px solid #eee;color:#333;font-size:.9rem;font-weight:600;padding:.75rem;text-align:left}.price-group td{border-bottom:1px solid #eee;color:#666;padding:.75rem}.price-group tbody tr:hover{background:#f8f9fa}.loading,.no-data{background:#fff;border-radius:8px;color:#666;padding:2rem;text-align:center}.chart-panes{display:flex;flex-direction:column;gap:2rem}.chart-pane{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.pane-header{margin-bottom:1.5rem}.pane-header h2{color:#333;font-size:1.5rem;margin:0 0 .5rem}.pane-subtitle{color:#666;font-size:.9rem;margin:0}.table-panes{display:flex;flex-direction:column;gap:2rem}.table-pane{background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;padding:1.5rem}.monthly-avg-badge{color:#666;font-size:.8em;font-weight:400;margin-left:10px}.calculated-badge{color:#666;font-size:.9rem;font-style:italic}.action-buttons{display:flex;gap:.5rem}.delete-btn,.edit-btn{background:#0000;border:none;border-radius:4px;cursor:pointer;font-size:1rem;padding:.25rem .5rem;transition:all .2s}.edit-btn:hover{background:#e3f2fd}.delete-btn:hover{background:#ffebee}.price-group table td:last-child,.price-group table th:last-child{text-align:center;width:100px}.year-controls{align-items:flex-start;background:#fff;border-radius:8px;box-shadow:0 2px 4px #0000001a;display:flex;flex-wrap:wrap;gap:1.5rem;margin-bottom:2rem;padding:1.5rem}.year-control-group{display:flex;flex-direction:column;gap:.5rem}.year-control-group label{color:#333;font-size:.9rem;font-weight:500}.year-select{background:#fff;border:1px solid #ddd;border-radius:6px;cursor:pointer;font-size:.95rem;min-width:150px;padding:.5rem 1rem}.year-select:focus{border-color:#667eea;outline:none}.year-checkboxes{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem}.year-checkbox{align-items:center;background:#f5f5f5;border-radius:6px;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.year-checkbox:hover{background:#e0e0e0}.year-checkbox input[type=checkbox]{cursor:pointer;height:18px;width:18px}.year-checkbox input[type=checkbox]:checked+span{color:#667eea;font-weight:600}.year-control-group>label:first-child{align-items:center;cursor:pointer;display:flex;gap:.5rem}.year-control-group>label:first-child input[type=checkbox]{cursor:pointer;height:18px;width:18px}.item-checkboxes{display:flex;flex-wrap:wrap;gap:1rem;margin-top:.5rem}.item-checkbox{align-items:center;background:#f5f5f5;border-radius:6px;cursor:pointer;display:flex;gap:.5rem;padding:.5rem 1rem;transition:all .2s}.item-checkbox:hover{background:#e0e0e0}.item-checkbox input[type=checkbox]{cursor:pointer;height:18px;width:18px}.item-checkbox input[type=checkbox]:checked+span{color:#667eea;font-weight:600}*{box-sizing:border-box}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#f5f5f5;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;margin:0}.App{min-height:100vh}
/*# sourceMappingURL=main.eeda9eaf.css.map*/