/* ── Packaging Forecast tab ───────────────────────────────────────────────── */
.fc-toolbar { flex-wrap: wrap; gap: 10px; }
.fc-field { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--subtext); white-space: nowrap; }
.fc-inner { padding: 16px; display: flex; flex-direction: column; gap: 16px; }

.fc-input {
  width: 58px; padding: 3px 6px; font-size: 12px; text-align: right;
  background: var(--bg); color: var(--text);
  border: 1px solid var(--card-border); border-radius: 4px;
}
.fc-input:focus { outline: none; border-color: var(--accent); }
.fc-input-wide { width: 100%; min-width: 140px; text-align: left; }

.fc-card { padding: 16px; }
.fc-card-title { font-size: 12px; font-weight: 600; color: var(--subtext); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.fc-card-title .fc-sub { text-transform: none; letter-spacing: 0; font-weight: 400; margin-left: 6px; }
.fc-sub { font-size: 11px; color: var(--muted); }
.fc-note { font-size: 11px; color: var(--muted); margin: 10px 0 0; }
.fc-empty { padding: 32px; text-align: center; color: var(--muted); }
.fc-scroll { overflow-x: auto; }

.fc-table { width: 100%; font-size: 12px; }
.fc-table td, .fc-table th { white-space: nowrap; }
.fc-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.fc-muted { color: var(--muted); }
.fc-up { color: #5ecaa0; }
.fc-down { color: #e07a6a; }
.fc-cell-out { background: var(--surface-danger); color: #e07a6a; }
.fc-cell-low { background: var(--surface-warning); }

.fc-badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 11px; font-weight: 600; white-space: nowrap; }
.fc-badge-danger { background: var(--surface-danger); color: #e07a6a; border: 1px solid var(--surface-danger-border); }
.fc-badge-warn   { background: var(--surface-warning); color: var(--accent); border: 1px solid var(--surface-warning-border); }
.fc-badge-ok     { background: var(--surface-success); color: #5ecaa0; border: 1px solid var(--surface-success-border); }
.fc-badge-muted  { background: var(--surface-muted); color: var(--muted); }

.fc-del { padding: 2px 8px; font-size: 11px; }
.fc-select { width: auto; text-align: left; }
.fc-input-sm { width: 46px; }
.fc-chans { display: flex; gap: 8px; font-size: 11px; color: var(--subtext); }
.fc-chans label { display: inline-flex; align-items: center; gap: 3px; }
.fc-row-idle td { opacity: .55; }
.fc-table th { white-space: normal; vertical-align: bottom; }
.fc-table td:nth-child(2) { white-space: normal; min-width: 110px; }
.fc-csv { float: right; padding: 2px 10px; font-size: 11px; text-transform: none; letter-spacing: 0; }
.fc-headline { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin-bottom: 14px; }
.fc-callout { border: 1px solid var(--surface-warning-border); background: var(--surface-warning); border-radius: 8px; padding: 10px 12px; }
.fc-callout-now { border-color: var(--surface-danger-border); background: var(--surface-danger); }
.fc-callout-when { font-size: 11px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: .05em; }
.fc-callout-now .fc-callout-when { color: #e07a6a; }
.fc-callout-what { font-size: 15px; font-weight: 600; color: var(--text); margin: 3px 0 2px; }
.fc-row-soon td { background: var(--surface-warning); }
.fc-chart-wrap { position: relative; height: 300px; }
.fc-chart-small { height: 170px; margin-top: 12px; }
.fc-card-title .fc-select { margin-left: 8px; text-transform: none; letter-spacing: 0; font-weight: 400; }
