
:root {
  --spot-x: 100px;
  --inner-pad: 20px;
  --maxw: 1000px;

  --bg: #f8f8f8;
  --card-bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --soft-border: rgba(0,0,0,0.08);
  --nav-bg: #141a22;
  --blue: #3b82f6;
  --blue-dark: #2563eb;
  --shadow: 0 8px 24px rgba(0,0,0,0.10);
  --shadow-soft: 0 5px 14px rgba(0,0,0,0.08);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.35;
  color: #111;
}

/* TOP BAR / NAV */
.top-bar {
  --container-w: min(var(--maxw), calc(100vw - (2 * var(--inner-pad))));
  --container-left: calc(50% - (var(--container-w) / 2));
  --spot-page-x: calc(var(--container-left) + var(--inner-pad) + var(--spot-x));

  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background:
    radial-gradient(240px 62px at var(--spot-page-x) 50%, rgba(255,255,255,0.26), rgba(255,255,255,0.00) 58%),
    radial-gradient(420px 110px at var(--spot-page-x) 50%, rgba(255,255,255,0.07), rgba(255,255,255,0.00) 75%),
    var(--nav-bg);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}

.top-bar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  max-width: var(--maxw);
  margin: 0 auto;
}

.site-title {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.4px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.35);
}

.site-title a {
  color: inherit;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  opacity: 0.9;
}

.nav-links a:hover {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-links a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.nav-links a[aria-current="page"] {
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  margin-right: -15px;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
}

.mobile-menu {
  display: none;
  position: absolute;
  top: 70px;
  left: 0;
  width: 100%;
  background: var(--nav-bg);
  border-top: 1px solid rgba(255,255,255,0.25);
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

.mobile-menu a {
  display: block;
  padding: 14px 20px;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 90px 20px 20px;
}

/* SETTLEMENTS PAGE */
.settlements-panel {
  background: var(--card-bg);
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.settlements-head {
  padding: 24px 26px;
  background: linear-gradient(to bottom, #f8fafc, #f1f5f9);
  border-bottom: 1px solid var(--border);
}

.settlements-head h1 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  line-height: 1.1;
  margin: 0 0 8px;
  font-weight: 850;
  color: var(--text);
}

.settlements-head p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  max-width: none;
}

.settlements-table-wrap {
  width: 100%;
}

.settlements-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  background: #fff;
}

.settlements-table th {
  text-align: left;
  padding: 13px 14px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.settlements-table td {
  padding: 14px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  color: #111827;
}

.settlements-table tbody tr:hover {
  background: #f8fafc;
}

.settlement-name {
  width: 38%;
  font-weight: 800;
}

.settlement-name a {
  color: var(--text);
  text-decoration: none;
}

.settlement-name a:hover {
  color: var(--blue-dark);
  text-decoration: underline;
}

.settlement-meta-line {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
  color: var(--muted);
  font-weight: 700;
}

.settlement-benefit-proof-detail {
  margin-top: 1.35em;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  font-weight: inherit;
}

.settlement-deadline {
  white-space: nowrap;
  color: #334155;
}

.settlement-deadline-mobile {
  display: none;
}

.settlement-proof {
  font-weight: 850;
  white-space: nowrap;
  text-align: center;
}

.proof-badge {
  display: inline-block;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid #e2e8f0;
  background: #f1f5f9;
  color: var(--text);
}

.proof-no {
  background: #dcfce7;
  color: #166534;
  border-color: #86efac;
}

.expired-badge {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1;
  border: 1px solid #fecaca;
  background: #fee2e2;
  color: #991b1b;
}

.expired-desktop {
  display: block;
  width: max-content;
  margin-top: 7px;
}

.expired-mobile {
  margin-left: 7px;
  vertical-align: middle;
}

.deadline-value {
  display: inline;
}


.settlement-benefit {
  color: #334155;
}

.settlement-claim {
  white-space: nowrap;
}

.settlement-claim a {
  display: inline-block;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(59,130,246,0.25);
}

.settlement-claim a:hover {
  background: var(--blue-dark);
}

/* MOBILE CARD VIEW */
@media (max-width: 700px) {
  .nav-links {
    display: none;
  }

  .settlement-deadline {
    display: none !important;
  }

  .hamburger {
    display: flex;
  }

  .page-wrap {
    padding: 90px 10px 20px;
  }

  .settlements-panel {
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
  }

  .settlements-head {
    border-radius: var(--radius);
    border: 1px solid var(--soft-border);
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
    padding: 18px;
  }

  .settlements-head p {
    font-size: 14px;
  }

  .settlements-table,
  .settlements-table thead,
  .settlements-table tbody,
  .settlements-table tr,
  .settlements-table td {
    display: block;
    width: 100%;
  }

  .settlements-table thead {
    display: none;
  }

  .settlements-table tr {
    background: #fff;
    border: 1px solid var(--soft-border);
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    margin-bottom: 12px;
    overflow: hidden;
  }

  .settlements-table tbody tr:hover {
    background: #fff;
  }

  .settlements-table td {
    border-bottom: 1px solid #eef2f7;
    padding: 10px 14px;
    background: #fff;
  }

  .settlements-table td:last-child {
    border-bottom: none;
  }

  .settlement-name {
    width: auto;
    padding: 14px !important;
    background: #f8fafc;
    font-size: 16px;
    line-height: 1.25;
  }

  .settlement-name .settlement-meta-line,
  .settlement-benefit-proof-detail {
    display: none;
  }

  .settlement-deadline-mobile,
  .settlement-proof,
  .settlement-benefit {
    display: grid !important;
    grid-template-columns: 75px minmax(0, 1fr);
    column-gap: 10px;
    align-items: start;
    font-size: 15px;
    line-height: 1.35;
  }

	.settlement-proof {
	  text-align: left;
	}

	.settlement-deadline-mobile:before,
	.settlement-proof:before,
	.settlement-benefit:before {
	  content: attr(data-label);
	  text-transform: uppercase;
	  color: var(--muted);
	  font-weight: 700;
	  white-space: nowrap;
	  font-size: 13px;
	  letter-spacing: 0.03em;
	}

  .settlement-deadline-mobile {
    font-weight: 400;
    color: #334155;
    align-items: center;
  }

  .settlement-deadline-mobile:before {
    align-self: center;
  }

  .settlement-deadline-mobile .deadline-value {
    min-width: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    line-height: 1.35;
  }

  .settlement-deadline-mobile .expired-mobile {
    margin-left: 0;
    padding: 6px 11px;
    font-size: 12px;
    line-height: 1;
    vertical-align: baseline;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  .settlement-proof {
    white-space: normal;
    align-items: center;
  }

  .settlement-proof .proof-badge {
    display: inline-block;
    width: auto;
    justify-self: start;
    max-width: fit-content;
  }

	.settlement-benefit {
	  font-weight: 400;
	  color: #334155;
	  white-space: normal;
	  overflow-wrap: anywhere;
	  word-break: normal;
	  text-align: left;
	}

  .settlement-claim {
    padding: 12px 14px 14px !important;
    background: #fff;
  }

  .settlement-claim a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 11px 12px;
    border-radius: 12px;
    font-size: 14px;
  }
}

@media (orientation: landscape) and (max-height: 450px) {
  .top-bar {
    position: static;
  }

  .page-wrap {
    padding-top: 20px;
  }
}

.last-updated {
  font-size: 0.85rem;
  color: rgba(0,0,0,0.7);
  text-align: center;
  padding: 22px 0 0;
}

.last-updated span {
  font-weight: 600;
  color: #111;
}

