:root {
  --econ-ink: #101820;
  --econ-muted: #667085;
  --econ-blue: #00419f;
  --econ-cyan: #00a8ea;
  --econ-green: #71eb30;
  --econ-amber: #f2a93b;
  --econ-red: #ef4d45;
  --econ-line: #d9e4ee;
  --econ-soft: #f4f7fb;
  --econ-panel: #ffffff;
  --econ-shadow: 0 22px 58px rgba(16, 24, 32, .1);
  --econ-radius: 8px;
}

.econ-calendar-page {
  color: var(--econ-ink);
  background: var(--econ-soft);
}

.econ-hero {
  padding: clamp(46px, 6vw, 76px) 0 30px;
  background:
    linear-gradient(90deg, rgba(0, 65, 159, .04) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 65, 159, .03) 1px, transparent 1px),
    #fff;
  background-size: 38px 38px;
}

.econ-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(300px, .38fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}

.econ-kicker,
.econ-panel-title span,
.econ-card-head span,
.econ-use-grid h3 + p,
.econ-market-clock span {
  letter-spacing: 0;
}

.econ-kicker,
.econ-panel-title span,
.econ-card-head span,
.econ-use-grid article h3,
.econ-market-clock span {
  color: var(--econ-blue);
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.econ-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(0, 65, 159, .12);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(16, 24, 32, .06);
}

.econ-kicker img {
  width: 15px;
  height: 15px;
  filter: invert(22%) sepia(93%) saturate(1738%) hue-rotate(207deg) brightness(84%) contrast(105%);
}

.econ-calendar-page .econ-hero h1 {
  margin: 16px 0 14px;
  color: var(--econ-ink);
  font-size: clamp(48px, 7vw, 88px);
  line-height: .95;
  letter-spacing: 0;
}

.econ-hero p,
.econ-market-clock p,
.econ-use-grid p {
  max-width: 760px;
  margin: 0;
  color: var(--econ-muted);
  font-size: 16px;
  line-height: 1.78;
}

.econ-market-clock {
  padding: 22px;
  border: 1px solid var(--econ-line);
  border-radius: var(--econ-radius);
  background: var(--econ-panel);
  box-shadow: var(--econ-shadow);
}

.econ-market-clock strong {
  display: block;
  margin: 8px 0 10px;
  color: var(--econ-ink);
  font-size: 36px;
  line-height: 1;
}

.econ-board-section {
  padding: 34px 0 clamp(58px, 7vw, 92px);
  background: var(--econ-soft);
}

.econ-board {
  display: grid;
  gap: 16px;
}

.econ-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--econ-line);
  border-radius: var(--econ-radius);
  background: #fff;
  box-shadow: 0 12px 30px rgba(16, 24, 32, .05);
}

.econ-date-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.econ-date-tabs button,
.econ-card-head button {
  min-height: 38px;
  border: 1px solid var(--econ-line);
  border-radius: 999px;
  padding: 0 15px;
  color: #334155;
  background: #fff;
  font-size: 13px;
  font-weight: 1000;
}

.econ-date-tabs button.is-active {
  color: #fff;
  border-color: var(--econ-blue);
  background: var(--econ-blue);
}

.econ-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.econ-toolbar-actions span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--econ-muted);
  background: #f6f9fc;
  font-size: 12px;
  font-weight: 900;
}

.econ-toolbar-actions img {
  width: 13px;
  height: 13px;
  filter: invert(40%) sepia(13%) saturate(807%) hue-rotate(176deg) brightness(91%) contrast(85%);
}

.econ-dashboard {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.econ-sidebar,
.econ-calendar-card {
  border: 1px solid var(--econ-line);
  border-radius: var(--econ-radius);
  background: #fff;
  box-shadow: var(--econ-shadow);
}

.econ-sidebar {
  padding: 20px;
}

.econ-panel-title h2,
.econ-card-head h2 {
  margin: 8px 0 0;
  color: var(--econ-ink);
  letter-spacing: 0;
}

.econ-panel-title h2 {
  font-size: 26px;
}

.econ-focus-list {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}

.econ-focus-list article {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--econ-line);
  border-radius: var(--econ-radius);
  background: #f8fafc;
}

.econ-focus-list b {
  color: var(--econ-ink);
  font-size: 15px;
}

.econ-focus-list strong,
.econ-focus-list small {
  display: block;
}

.econ-focus-list strong {
  margin: 7px 0 3px;
  color: var(--econ-ink);
  font-size: 15px;
  line-height: 1.35;
}

.econ-focus-list small {
  color: var(--econ-muted);
  font-size: 12px;
}

.impact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 24px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
}

.impact.high {
  background: var(--econ-red);
}

.impact.medium {
  color: #101820;
  background: var(--econ-amber);
}

.impact.low {
  color: #101820;
  background: #dbe6ef;
}

.econ-legend {
  display: grid;
  gap: 9px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--econ-line);
}

.econ-legend h3 {
  margin: 0 0 2px;
  color: var(--econ-ink);
  font-size: 17px;
}

.econ-legend span {
  display: flex;
  gap: 9px;
  align-items: center;
  color: var(--econ-muted);
  font-size: 13px;
  line-height: 1.45;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex: 0 0 auto;
}

.dot.high { background: var(--econ-red); }
.dot.medium { background: var(--econ-amber); }
.dot.low { background: #b8c6d4; }

.econ-calendar-card {
  overflow: hidden;
}

.econ-card-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--econ-line);
}

.econ-card-head h2 {
  font-size: 28px;
}

.econ-card-head button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.econ-card-head button img {
  width: 13px;
  height: 13px;
}

.econ-table-wrap {
  overflow-x: auto;
}

.econ-table-wrap table {
  width: 100%;
  min-width: 820px;
  border-collapse: collapse;
}

.econ-table-wrap th,
.econ-table-wrap td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--econ-line);
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

.econ-table-wrap th {
  color: var(--econ-muted);
  background: #f8fafc;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.econ-table-wrap time {
  color: var(--econ-ink);
  font-weight: 1000;
}

.econ-table-wrap strong,
.econ-table-wrap small {
  display: block;
}

.econ-table-wrap strong {
  color: var(--econ-ink);
  font-size: 14px;
}

.econ-table-wrap small {
  margin-top: 4px;
  color: var(--econ-muted);
  font-size: 12px;
}

.date-row td {
  color: var(--econ-blue);
  background: #eef5ff;
  font-size: 12px;
  font-weight: 1000;
  text-transform: uppercase;
}

.currency {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 28px;
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 1000;
}

.currency.usd { background: #1f7a4d; }
.currency.eur { background: #00419f; }
.currency.jpy { background: #d9463e; }
.currency.cny { background: #b91c1c; }
.currency.aud { background: #5865f2; }

.econ-use-section {
  padding: clamp(48px, 6vw, 78px) 0;
  background: #101820;
}

.econ-use-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.econ-use-grid article {
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--econ-radius);
  background: rgba(255, 255, 255, .055);
}

.econ-use-grid img {
  width: 28px;
  height: 28px;
  margin-bottom: 18px;
  filter: invert(91%) sepia(89%) saturate(634%) hue-rotate(33deg) brightness(98%) contrast(93%);
}

.econ-use-grid h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 22px;
  text-transform: none;
}

.econ-use-grid p {
  color: rgba(255, 255, 255, .72);
  font-size: 14px;
}

@media (max-width: 980px) {
  .econ-hero-grid,
  .econ-dashboard,
  .econ-use-grid {
    grid-template-columns: 1fr;
  }

  .econ-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .econ-toolbar-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .econ-calendar-page .econ-hero h1 {
    font-size: 44px;
  }

  .econ-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .econ-date-tabs button {
    flex: 1 1 42%;
  }
}
