:root {
  --hf-bg: #f6f8fb;
  --hf-surface: #ffffff;
  --hf-border: #e5eaf1;
  --hf-text: #152033;
  --hf-muted: #5b6b82;
  --hf-primary: #1f6feb;
  --hf-accent: #0f9d58;
  --hf-shadow: 0 18px 44px rgba(18, 28, 45, 0.08);
}

html, body {
  background: var(--hf-bg);
  color: var(--hf-text);
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1 0 auto;
}

.site-header {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
}

.brand {
  color: var(--hf-text);
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--hf-primary);
}

.nav-linkish {
  color: var(--hf-muted);
  text-decoration: none;
  font-weight: 500;
}

.nav-linkish:hover {
  color: var(--hf-primary);
}

.hero-shell {
  background:
    radial-gradient(circle at top right, rgba(31, 111, 235, 0.10), transparent 28%),
    radial-gradient(circle at bottom left, rgba(15, 157, 88, 0.10), transparent 22%),
    linear-gradient(135deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid var(--hf-border);
  border-radius: 28px;
  box-shadow: var(--hf-shadow);
}

.surface-card,
.card,
.app-card {
  border: 1px solid var(--hf-border) !important;
  border-radius: 22px !important;
  background: var(--hf-surface) !important;
  box-shadow: var(--hf-shadow);
}

.soft-card {
  border: 1px solid var(--hf-border);
  border-radius: 22px;
  background: var(--hf-surface);
}

.module-card {
  height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--hf-border);
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
  box-shadow: var(--hf-shadow);
}

.module-card .eyebrow,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #eef4ff;
  color: var(--hf-primary);
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.metric-card {
  border: 1px solid var(--hf-border);
  border-radius: 20px;
  background: #fff;
  padding: 1rem 1.1rem;
}

.metric-value {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.site-footer {
  background: #fff;
}

.footer-links a {
  color: var(--hf-muted);
  text-decoration: none;
  margin: 0 .55rem;
}

.footer-links a:hover {
  color: var(--hf-primary);
}

.kicker {
  color: var(--hf-muted);
  font-size: .95rem;
}

.empty-state {
  border: 1px dashed var(--hf-border);
  border-radius: 20px;
  padding: 1rem;
  color: var(--hf-muted);
  background: #fbfcfe;
}

.table thead th {
  background: #f8fbff;
}

.badge-soft {
  background: #edf5ff;
  color: #1659c0;
}

@media (max-width: 991px) {
  .site-header .container {
    gap: 1rem;
  }
}


.actions-col {
  width: 260px;
}

.quick-actions {
  display: inline-flex;
  gap: .35rem;
  white-space: nowrap;
  align-items: center;
}

.report-shell {
  background: #fff;
  border: 1px solid var(--hf-border);
  border-radius: 22px;
  padding: 1.5rem;
  box-shadow: var(--hf-shadow);
}

.report-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}

.report-subtitle {
  text-align: center;
  color: var(--hf-muted);
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.report-block {
  margin-bottom: 8px;
  page-break-inside: avoid;
  break-inside: avoid;
}

.report-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: .75rem;
}

.report-block + .report-block {
  margin-top: 1.25rem;
}

.report-table {
  margin-bottom: 0;
}

@media (max-width: 767px) {
  .actions-col {
    width: auto;
  }

  .quick-actions .btn,
  .table .btn {
    min-width: 52px;
  }
}




@media print {
  @page {
    size: auto;
    margin: 0.45in;
  }

  body {
    background: #fff !important;
    color: #000;
    font-size: 11px;
    line-height: 1.2;
  }

  .site-header,
  .site-footer,
  .no-print,
  .print-toolbar,
  .btn,
  button {
    display: none !important;
  }

  main.container {
    max-width: none !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .report-shell {
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .page-break-start {
    page-break-before: auto !important;
    break-before: auto !important;
  }

  .report-title {
    font-size: 1.25rem;
    margin: 0 0 0.1rem 0;
    line-height: 1.1;
  }

  .report-title::after {
    content: none !important;
    display: none !important;
    margin: 0 !important;
  }

  .report-subtitle {
    margin-top: 0 !important;
    margin-bottom: 0.35rem !important;
    font-size: 0.85rem;
    line-height: 1.1;
  }

  .report-block {
    margin: 0 0 0.35rem 0 !important;
    padding: 0 !important;
    page-break-inside: avoid;
    break-inside: avoid;
  }

  .report-block h2,
  .report-block h3,
  .report-block h4 {
    margin: 0 0 0.2rem 0 !important;
    font-size: 0.95rem;
    line-height: 1.1;
  }

  table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 0.2rem 0 !important;
    font-size: 10px;
  }

  th,
  td {
    padding: 4px 6px !important;
    vertical-align: top;
  }

  p,
  ul,
  ol {
    margin-top: 0;
    margin-bottom: 0.25rem;
  }
}

.actions-cell {
  white-space: nowrap;
}

.actions-inline {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.35rem;
  align-items: center;
}

.actions-inline .btn {
  white-space: nowrap;
}

.table-responsive {
  overflow-x: auto;
}

.actions-cell .btn {
  padding: 2px 6px;
}

@media print {
  .no-print {
    display: none !important;
  }
}

.print-page-title {
  font-size: 2rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.print-farm-title {
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  margin: 0 0 0.15rem 0;
}

.print-generated {
  font-size: 0.9rem;
  text-align: center;
  margin: 0 0 0.75rem 0;
  color: #444;
}

.freezer-section {
  margin: 0 0 0.75rem 0;
  page-break-inside: avoid;
  break-inside: avoid;
}

.freezer-section h2,
.freezer-section h3 {
  font-size: 1.1rem;
  margin: 0 0 0.3rem 0;
}