.ff-day-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:-4px 0 16px;padding:14px 18px;background:#eef5f7;border:1px solid #d7e4e9;border-radius:9px}.ff-day-heading div{display:grid;gap:3px}.ff-day-heading div span,.ff-date-label{font-size:.78rem;color:var(--muted)}.ff-day-heading strong{font-size:1rem;text-transform:capitalize}.ff-journal-panel{padding:14px}.ff-date-strip{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:4px 4px 14px}.ff-date-strip>div{display:grid;gap:4px}.ff-date-strip>div strong{text-transform:capitalize}.ff-date-picker{display:flex;grid-template-columns:auto auto;align-items:center;gap:9px}.ff-date-picker input{width:auto;min-width:145px;min-height:38px;padding:7px 9px}.ff-table-scroll{overflow:auto;border-radius:6px}.ff-journal-table{width:max-content;min-width:100%;table-layout:fixed;text-align:center;font-size:.76rem}.ff-journal-table th{height:34px;padding:6px 7px;white-space:nowrap;color:#fff;border:1px solid #fff;text-align:center}.ff-journal-table th.ff-base{background:#355070;min-width:72px}.ff-journal-table th.ff-water{background:#287271}.ff-journal-table th.ff-feed{background:#c46a1a}.ff-journal-table th.ff-mortality{background:#b42318}.ff-journal-table th.ff-sub{height:39px;white-space:normal;min-width:78px;font-size:.68rem}.ff-journal-table th.ff-sub.ff-mortality{min-width:130px}.ff-journal-table td{height:42px;min-width:78px;padding:4px;border:1px solid #9fb2c4;text-align:center}.ff-journal-table tbody tr:nth-child(even){background:#f5f8fa}.ff-journal-table td.ff-basin{min-width:72px;font-weight:700}.ff-journal-table td.ff-feed-name{min-width:112px;font-size:.72rem;font-weight:650;white-space:nowrap;background:#f1f5f8}.ff-journal-table td.ff-mortality-cell{background:#fce8e6;border-left:2px solid #b42318;border-right:2px solid #b42318}.ff-cell-input{width:100%;min-width:66px;min-height:34px;padding:5px 4px;border-radius:4px;text-align:center;font-size:.75rem;font-variant-numeric:tabular-nums}.ff-mortality-cell .ff-cell-input{min-width:112px}.ff-help{font-size:.8rem;color:var(--muted);margin:12px 2px 0}.ff-totals-panel{margin-top:18px}.ff-totals-panel .panel-title{margin-bottom:8px}.ff-totals-panel .panel-title h2{margin-bottom:4px}.ff-totals-panel .panel-title p{margin:0;text-transform:capitalize}.ff-live{font-size:.76rem;color:#087c66;background:#e2f3ec;padding:7px 10px;border-radius:6px}.ff-totals{max-width:520px}.ff-totals th,.ff-totals td{padding:10px 12px;border-bottom:1px solid var(--line)}.ff-totals th{color:var(--ink);background:#f6f9fa;font-weight:600}.ff-totals td{text-align:right;font-weight:700;font-variant-numeric:tabular-nums}.ff-demo-note{margin-bottom:2px}
@media(max-width:760px){.ff-day-heading{align-items:flex-start;flex-direction:column}.ff-date-strip{align-items:flex-start;flex-direction:column}.ff-date-picker{width:100%;justify-content:space-between}.ff-date-picker input{flex:1}.ff-journal-panel{padding:12px}.ff-totals-panel .panel-title{align-items:flex-start;flex-direction:column}.ff-totals{width:100%}}
.ff-journal-table td.ff-manager-feed{background:#fff7ed;color:#7a4312;font-weight:650;white-space:nowrap}

.ff-journal-table{border-collapse:collapse;border:1px solid #9fb2c4}.ff-journal-table tbody tr td{border-top:1px solid #9fb2c4;border-bottom:1px solid #9fb2c4}.ff-journal-table tbody tr:last-child td{border-bottom:1px solid #9fb2c4!important}.ff-journal-table tbody tr td:last-child{border-right:1px solid #9fb2c4!important}

/* Keep the complete grid, including the last row, above the global table reset. */
.ff-journal-table tbody tr:last-child td{border:1px solid #9fb2c4!important}
.ff-journal-table tbody tr:last-child td.ff-mortality-cell{border-left:2px solid #b42318!important;border-right:2px solid #b42318!important}
.ff-totals-panel{max-width:600px}
.ff-totals{width:100%;max-width:520px;border-collapse:collapse;border:1px solid #9fb2c4}
.ff-totals tbody tr th,.ff-totals tbody tr td{border:1px solid #9fb2c4;padding:9px 12px}
.ff-totals th{width:48%;text-align:left}
.ff-totals td{white-space:nowrap}
.ff-cell-input[aria-invalid="true"]{border-color:#b42318;background:#fff0ee}
/* Compact widths prevent native input sizing from stretching every column. */
.ff-journal-table td{min-width:60px;padding:3px}
.ff-journal-table th.ff-sub{min-width:60px;padding:5px 3px}
.ff-journal-table th.ff-base,.ff-journal-table td.ff-basin{min-width:52px}
.ff-journal-table td.ff-feed-name{min-width:80px}
.ff-journal-table .ff-cell-input{width:58px;min-width:58px;padding:5px 2px}
.ff-journal-table .ff-manager-feed .ff-cell-input{width:68px;min-width:68px}
.ff-journal-table th.ff-sub.ff-mortality{min-width:102px}
.ff-journal-table .ff-mortality-cell .ff-cell-input{width:96px;min-width:96px}
