body {
  background: radial-gradient(circle at 20% 20%, #f5f8ff 0, #eef2f7 45%, #e7ebf2 100%);
}

.card {
  border-radius: 0.8rem;
}

.table a {
  text-decoration: none;
}

.bills-table-wrap {
  border: 1px solid #dfe4ee;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.bills-table th,
.bills-table td {
  white-space: normal;
  overflow-wrap: anywhere;
  word-break: break-word;
  vertical-align: top;
  padding: 0.65rem 0.7rem;
  line-height: 1.35;
}

.bills-table {
  font-size: 0.9rem;
}

.bills-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #eef3fb;
  color: #2a3447;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #d7deea;
}

.bills-table tbody tr:nth-child(even) {
  background: #fafcff;
}

.bills-table tbody tr:hover {
  background: #eef5ff;
}

.bills-print {
  font-weight: 700;
  color: #24324a;
}

.bills-title-link,
.bills-cell-text {
  display: inline-block;
  max-width: 100%;
}

.bills-title-link {
  font-weight: 600;
  color: #1f3b73;
}

.bills-date {
  color: #49566f;
  font-size: 0.82rem;
}

.bills-table .col-print {
  min-width: 78px;
}

.bills-table .col-title {
  min-width: 320px;
}

.bills-table .col-summary {
  min-width: 260px;
}

.bills-table .col-reason {
  min-width: 240px;
}

.bills-table .col-impact {
  min-width: 180px;
}

.bills-table .col-pred,
.bills-table .col-type,
.bills-table .col-stage,
.bills-table .col-votes,
.bills-table .col-updated {
  white-space: nowrap;
}

.bills-table .col-updated {
  min-width: 12ch;
}

.bills-table-related .col-votes {
  min-width: 170px;
  max-width: 220px;
  white-space: normal;
  padding-left: 0.9rem;
  padding-right: 1rem;
}

.bills-table-related td.col-votes > a.badge:first-child {
  margin-left: 0.35rem;
}

.bills-table-related .col-outcome {
  min-width: 130px;
  max-width: 170px;
}

.bills-table-related .col-summary {
  min-width: 360px;
}

.bills-table-related .col-updated {
  min-width: calc(110px + 1ch);
  width: calc(110px + 1ch);
  white-space: normal;
}

.bills-date-stacked {
  display: inline-block;
  line-height: 1.2;
}

@media (max-width: 992px) {
  .bills-table .col-title {
    min-width: 250px;
  }

  .bills-table .col-summary {
    min-width: 220px;
  }
}

@media (max-width: 768px) {
  .bills-table th,
  .bills-table td {
    padding: 0.55rem 0.55rem;
    font-size: 0.85rem;
  }

  .bills-table .col-title {
    min-width: 210px;
  }

  .bills-table .col-summary,
  .bills-table .col-reason {
    min-width: 200px;
  }
}

@media (max-width: 640px) {
  .bills-table .col-updated,
  .bills-table .col-votes {
    white-space: normal;
  }
}

.stage-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.stage-step {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border: 1px solid #d9dee8;
  border-radius: 999px;
  background: #fff;
}

.stage-step .stage-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #c1c7d3;
}

.stage-step.done .stage-dot {
  background: #198754;
}

.stage-step.active {
  border-color: #0d6efd;
  background: #eef4ff;
}

.stage-step .stage-label {
  font-size: 0.85rem;
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 24px;
  margin-bottom: 14px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-item .timeline-dot {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #0d6efd;
}

.cookie-consent-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
}

.cookie-consent-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background: rgba(17, 24, 39, 0.96);
  color: #f9fafb;
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.28);
}

.cookie-consent-title {
  font-weight: 700;
  margin-bottom: 0.2rem;
}

.cookie-consent-text {
  font-size: 0.9rem;
  color: #d1d5db;
  max-width: 56rem;
}

.cookie-consent-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .cookie-consent-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-consent-actions {
    width: 100%;
  }

  .cookie-consent-actions .btn {
    flex: 1 1 auto;
  }
}
