:root {
  --blue: #617bbc;
  --blue-dark: #4d67a8;
  --blue-soft: #8090c8;
  --salmon: #fb8373;
  --grey: #c4c5c7;
  --line: #d7d7d7;
  --ink: #080808;
  --muted: #777;
  --panel: #f7f7f7;
  --green: #4da263;
  --red: #ef4548;
}

@font-face {
  font-family: "Klavika";
  src: url("./fonts/klavika-light.otf") format("opentype");
  font-style: normal;
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: url("./fonts/klavika-medium.otf") format("opentype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: url("./fonts/klavika-bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: "Klavika";
  src: url("./fonts/klavika-light-italic.otf") format("opentype");
  font-style: italic;
  font-weight: 300;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: #fff;
  font-family: "Klavika", Arial, sans-serif;
  font-size: 16px;
  font-weight: 300;
  letter-spacing: 0;
}

button,
select,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.site-header {
  position: relative;
  overflow: hidden;
  background: #fff;
  height: 150px;
}

.header-bg {
  position: absolute;
  inset: -44px 0 auto 0;
  z-index: 0;
  color: #f2f4fa;
  font-size: 212px;
  font-weight: 700;
  letter-spacing: 42px;
  line-height: 1;
  white-space: nowrap;
  pointer-events: none;
}

.header-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 150px;
  margin: 0 auto;
  display: flex;
}

.brand {
  position: absolute;
  left: max(58px, calc((100vw - 1920px) / 2 + 58px));
  top: -48px;
  width: 428px;
  min-height: 214px;
  text-decoration: none;
  display: block;
}

.brand img {
  display: block;
  width: 100%;
  height: auto;
}

.user-area {
  position: absolute;
  right: max(140px, calc((100vw - 1920px) / 2 + 140px));
  top: 56px;
  display: flex;
  align-items: center;
  gap: 21px;
  margin-top: 0;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 20px;
  padding: 12px 24px 10px;
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.pill-action {
  background: var(--salmon);
}

.login-page {
  min-height: 100vh;
  overflow-x: hidden;
}

.login-simple-header .brand {
  cursor: default;
}

.login-header {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.login-header-inner {
  position: relative;
  z-index: 1;
  height: 150px;
}

.login-actions {
  position: absolute;
  right: max(140px, calc((100vw - 1920px) / 2 + 140px));
  top: 56px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.login-dropdown {
  height: 96px;
  min-width: 224px;
  border: 0;
  border-radius: 18px 18px 0 0;
  background: var(--salmon);
  color: #fff;
  padding: 17px 24px 0;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: left;
}

.login-dropdown::after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 8px solid #fff;
  vertical-align: 2px;
}

.login-search {
  position: relative;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: var(--salmon);
}

.login-search::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 14px;
  width: 11px;
  height: 11px;
  border: 4px solid #fff;
  border-radius: 50%;
}

.login-search::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 29px;
  width: 12px;
  height: 4px;
  border-radius: 2px;
  background: #fff;
  transform: rotate(45deg);
  transform-origin: left center;
}

.login-nav {
  position: relative;
  z-index: 2;
  height: 115px;
  padding: 30px max(140px, calc((100vw - 1920px) / 2 + 140px)) 0;
  display: flex;
  align-items: flex-start;
  background: var(--blue-soft);
}

.login-nav a {
  position: relative;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid rgba(255, 255, 255, 0.45);
  color: #fff;
  padding: 0 14px;
  font-size: 23px;
  line-height: 25px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.login-nav a:first-child {
  border-left: 0;
  padding-left: 0;
}

.login-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -25px;
  width: 70px;
  height: 14px;
  background: #fff;
}

.login-ticker {
  height: 63px;
  display: flex;
  align-items: center;
  gap: 72px;
  overflow: hidden;
  background: var(--salmon);
  color: #fff;
  font-size: 30px;
  line-height: 34px;
  white-space: nowrap;
}

.login-ticker span {
  flex: 0 0 auto;
}

.login-ticker strong {
  font-weight: 700;
}

.login-main {
  min-height: calc(100vh - 150px);
  display: flex;
  justify-content: center;
  padding: 132px 24px 80px;
}

.member-login {
  width: 310px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: var(--blue);
}

.member-login h1 {
  margin: 0 0 24px;
  color: var(--blue);
  font-size: 38px;
  line-height: 42px;
  font-weight: 700;
  text-transform: uppercase;
}

.member-login label {
  width: 280px;
  display: block;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--blue);
  text-align: center;
}

.member-login label span {
  display: block;
  margin-bottom: 0;
  font-size: 27px;
  line-height: 30px;
  font-weight: 300;
}

.member-login input {
  width: 100%;
  height: 34px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--blue);
  font-size: 22px;
  line-height: 28px;
  font-weight: 300;
  text-align: center;
}

.member-login-button {
  min-width: 102px;
  min-height: 48px;
  margin: 16px 0 0;
  border: 0;
  border-radius: 18px;
  background: var(--salmon);
  color: #fff;
  padding: 0 23px;
  font-size: 17px;
  font-weight: 700;
  text-transform: uppercase;
}

.login-error {
  min-height: 22px;
  margin: 18px 0 0;
  color: var(--salmon);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
  text-align: center;
}

.forgot-password {
  color: var(--blue);
  font-size: 17px;
  line-height: 22px;
  font-weight: 300;
}

.login-line {
  display: block;
  width: 1px;
  height: 300px;
  margin-top: 42px;
  background: var(--blue);
}

.page-shell {
  width: min(1640px, calc(100% - 280px));
  margin: 0 auto;
}

.dashboard-title {
  padding: 38px 0 42px;
  border-bottom: 3px solid var(--ink);
}

h1 {
  margin: 0 0 28px -9px;
  font-size: 80px;
  line-height: 70px;
  font-weight: 700;
  text-transform: uppercase;
}

.primary-tabs,
.view-tabs {
  display: inline-flex;
  overflow: hidden;
  border-radius: 20px;
  background: var(--grey);
}

.primary-tabs button,
.view-tabs button {
  min-width: 0;
  border: 0;
  border-left: 1px solid #fff;
  background: transparent;
  color: #fff;
  height: 46px;
  padding: 0 16px;
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.primary-tabs button:first-child,
.view-tabs button:first-child {
  border-left: 0;
}

.primary-tabs button.active,
.view-tabs button.active {
  background: var(--salmon);
}

.view-tabs button.disabled {
  cursor: not-allowed;
}

.primary-tabs button:nth-child(1) {
  width: 184px;
}

.primary-tabs button:nth-child(2) {
  width: 139px;
}

.primary-tabs button:nth-child(3) {
  width: 139px;
}

.dashboard-section[hidden] {
  display: none;
}

.quick-panel,
.trade-panel,
.analytics-panel {
  padding: 42px 0 68px;
}

.quick-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 28px;
}

.quick-heading h2,
.empty-panel h2 {
  margin: 0;
  color: var(--blue);
  font-size: 40px;
  line-height: 45px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-heading p,
.empty-panel p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 20px;
  line-height: 26px;
  font-weight: 300;
}

.quick-flow {
  display: inline-flex;
  flex: 0 0 auto;
  overflow: hidden;
  border-radius: 20px;
  background: var(--grey);
}

.quick-flow button {
  width: 112px;
  height: 40px;
  border: 0;
  border-left: 1px solid #fff;
  background: transparent;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-flow button:first-child {
  border-left: 0;
}

.quick-flow button.active {
  background: var(--salmon);
}

.quick-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.quick-summary article {
  min-height: 118px;
  padding: 22px 24px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.quick-summary span {
  display: block;
  margin-bottom: 10px;
  color: var(--blue);
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
}

.quick-summary strong {
  display: block;
  font-size: 46px;
  line-height: 48px;
  font-weight: 700;
}

#quickTopCategory {
  font-size: 38px;
  line-height: 42px;
}

.quick-table-wrap {
  width: 100%;
  overflow: auto;
}

.quick-table {
  min-width: 1120px;
}

.quick-table thead th {
  color: var(--blue);
  text-transform: uppercase;
}

.quick-table th:first-child,
.quick-table td:first-child {
  width: 30%;
}

.quick-table tbody th {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid #888;
  border-right: 1px solid #999;
  padding: 13px 10px;
  vertical-align: top;
}

.quick-table th:nth-child(4),
.quick-table td:nth-child(4) {
  border-right: 4px solid var(--ink);
}

.change-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 74px;
  min-height: 28px;
  border-radius: 15px;
  padding: 4px 12px 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.change-pill.up {
  background: var(--green);
}

.change-pill.down {
  background: var(--red);
}

.quick-note {
  margin: 18px 0 0;
  font-size: 18px;
  line-height: 24px;
  color: var(--muted);
}

.empty-panel {
  min-height: 360px;
  padding: 40px 0;
}

.trade-panel {
  display: grid;
  gap: 54px;
}

.trade-sector {
  min-width: 0;
}

.trade-sector + .trade-sector {
  padding-top: 48px;
  border-top: 3px solid var(--ink);
}

.trade-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-bottom: 16px;
}

.trade-heading h2 {
  margin: 0;
  color: var(--blue);
  font-size: 40px;
  line-height: 45px;
  font-weight: 700;
  text-transform: uppercase;
}

.trade-heading p {
  margin: 5px 0 0;
  color: var(--muted);
  font-size: 18px;
  line-height: 24px;
}

.trade-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 12px;
}

.trade-toggle {
  display: inline-flex;
  overflow: hidden;
  border-radius: 20px;
  background: var(--grey);
}

.trade-toggle button {
  min-width: 96px;
  height: 40px;
  border: 0;
  border-left: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: 0 18px;
  font-size: 18px;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
}

.trade-toggle button:first-child {
  border-left: 0;
}

.trade-toggle button.active {
  background: var(--salmon);
}

.trade-table-wrap {
  max-height: none;
  overflow: auto;
  border-bottom: 0;
}

.trade-table {
  table-layout: fixed;
  min-width: 1320px;
}

.trade-name-col {
  width: 34%;
}

.trade-unit-col {
  width: 110px;
}

.trade-metric-col {
  width: calc((66% - 110px) / 6);
}

.trade-table thead tr:first-child th:nth-child(3),
.trade-table thead tr:first-child th:nth-child(4) {
  color: #fff;
  background: #000;
  text-align: center;
}

.trade-table thead tr:nth-child(2) th {
  color: var(--blue);
  background: #fff;
}

.trade-table thead th {
  text-transform: uppercase;
}

.trade-table th:nth-child(2),
.trade-table td:nth-child(2) {
  text-align: center;
}

.trade-table th:nth-child(3),
.trade-table td:nth-child(3),
.trade-table th:nth-child(6),
.trade-table td:nth-child(6) {
  border-left: 3px solid var(--ink);
}

.trade-table th:nth-child(5),
.trade-table td:nth-child(5) {
  border-right: 3px solid var(--ink);
}

.trade-table td:nth-child(n + 3) {
  text-align: right;
}

.trade-table tbody th {
  color: var(--ink);
  font-size: 25px;
  font-weight: 700;
  text-align: left;
  border-bottom: 1px solid #d8d8d8;
  border-right: 1px solid #999;
  padding: 18px 10px;
  vertical-align: middle;
}

.trade-table td {
  border-bottom-color: #d8d8d8;
}

.trade-snapshot {
  position: relative;
  min-height: 190px;
  margin: 0 0 14px;
  padding: 42px 52px 34px;
  border-radius: 18px;
  background: #f4f4f4;
  display: grid;
  grid-template-columns: minmax(240px, 340px) minmax(0, 1fr);
  gap: 46px;
  align-items: center;
}

.snapshot-tab {
  position: absolute;
  left: -40px;
  top: 22px;
  bottom: 22px;
  width: 40px;
  display: grid;
  place-items: center;
  border-radius: 0 16px 16px 0;
  background: var(--blue-soft);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.snapshot-metric {
  color: #c7c7c7;
}

.snapshot-metric.active {
  color: #000;
}

.snapshot-metric strong {
  display: block;
  font-size: 66px;
  line-height: 68px;
  font-weight: 700;
}

.snapshot-metric span {
  display: block;
  margin-top: 4px;
  font-size: 30px;
  line-height: 34px;
  font-weight: 700;
  text-transform: uppercase;
}

.snapshot-copy {
  padding: 0 38px;
  border-left: 3px solid var(--ink);
}

.snapshot-copy span {
  display: block;
  margin-bottom: 6px;
  color: #c7c7c7;
  font-size: 30px;
  line-height: 36px;
  font-weight: 700;
}

.snapshot-copy strong {
  display: block;
  font-size: 28px;
  line-height: 34px;
  font-weight: 700;
}

.trade-note {
  margin: 0 0 28px 40px;
  font-size: 16px;
  line-height: 22px;
}

.positive-value {
  color: var(--green);
}

.negative-value {
  color: var(--red);
}

.view-tabs {
  margin-bottom: 40px;
  border-radius: 20px;
}

.view-tabs button {
  height: 46px;
  font-size: 20px;
}

.view-tabs button:nth-child(1) {
  width: 102px;
}

.view-tabs button:nth-child(2) {
  width: 85px;
}

.view-tabs button:nth-child(3) {
  width: 102px;
}

.query-layout {
  display: grid;
  grid-template-columns: 284px minmax(0, 1fr) 250px;
  gap: 28px;
  align-items: start;
}

.filters {
  padding: 0 30px 0 0;
  border-right: 3px solid var(--line);
}

.filters label {
  display: block;
  padding: 0 0 12px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.filters span {
  display: block;
  margin-bottom: 4px;
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
}

.filters select,
.filters input {
  width: 100%;
  min-height: 30px;
  border: 0;
  border-radius: 0;
  outline: 0;
  color: var(--blue);
  background-color: transparent;
  font-size: 25px;
  line-height: 30px;
  font-weight: 700;
  padding: 0 36px 0 0;
}

.filters select {
  appearance: none;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    radial-gradient(circle, var(--salmon) 0 48%, transparent 50%);
  background-position: right 11px center, right 1px center;
  background-repeat: no-repeat;
  background-size: 9px 6px, 29px 27px;
}

.hs-autocomplete input {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='9' height='6' viewBox='0 0 9 6'%3E%3Cpath d='M1 1l3.5 3.5L8 1' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
    radial-gradient(circle, var(--salmon) 0 48%, transparent 50%);
  background-position: right 11px center, right 1px center;
  background-repeat: no-repeat;
  background-size: 9px 6px, 29px 27px;
}

.results {
  min-width: 0;
}

.status-row {
  min-height: 30px;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 20px;
  margin-bottom: 0;
  color: var(--muted);
}

.status-row span,
.status-row strong {
  display: block;
}

.status-row strong {
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
}

.text-button {
  border: 0;
  color: #fff;
  background: var(--salmon);
  border-radius: 14px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.view-panel {
  min-height: 530px;
}

.world-map {
  position: relative;
  width: 100%;
  max-width: 1020px;
  min-height: 500px;
  margin: 0 auto;
}

.world-map svg {
  display: block;
  width: 100%;
  height: auto;
}

#worldPath {
  fill: #fff;
  stroke: #111;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.callout-line {
  stroke: #000;
  stroke-width: 1.2;
  vector-effect: non-scaling-stroke;
}

.callout-dot {
  fill: #000;
}

.map-marker-box {
  fill: #000;
}

.marker-country {
  fill: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.marker-value {
  fill: #fff;
  font-size: 30px;
  font-weight: 700;
}

.table-wrap {
  width: 100%;
  overflow: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 25px;
  font-weight: 300;
}

th {
  text-align: left;
  font-size: 25px;
  font-weight: 700;
  border-bottom: 1px solid #888;
}

th,
td {
  padding: 13px 10px;
  border-right: 1px solid #999;
}

th:last-child,
td:last-child {
  border-right: 0;
}

td {
  border-bottom: 1px solid #888;
  vertical-align: top;
}

.bars {
  display: grid;
  gap: 12px;
  padding: 8px 0 18px;
}

.bar-row {
  display: grid;
  grid-template-columns: minmax(120px, 210px) 1fr 96px;
  gap: 18px;
  align-items: center;
}

.bar-label {
  font-size: 20px;
  font-weight: 700;
}

.bar-track {
  height: 26px;
  border-radius: 13px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  width: 0;
  background: var(--blue);
  border-radius: inherit;
}

.bar-value {
  font-size: 15px;
  font-weight: 900;
}

.kpis {
  min-height: 540px;
  padding: 0 0 0 30px;
  border-left: 3px solid var(--line);
}

.kpis span {
  display: block;
  color: var(--blue);
  font-size: 25px;
  line-height: 45px;
  font-weight: 700;
  text-transform: uppercase;
}

#kpiValue {
  display: block;
  margin: 22px 0 36px;
  font-size: 80px;
  line-height: 70px;
  font-weight: 700;
}

.note {
  margin: 12px 0 0;
  font-size: 20px;
  font-weight: 300;
}

.contact {
  padding: 92px 0 68px;
  border-top: 0;
}

.contact h2 {
  margin: 0 0 42px;
  color: var(--blue);
  font-size: 40px;
  line-height: 45px;
  font-weight: 700;
  text-transform: uppercase;
}

.contact > p {
  margin: 0 0 48px;
  font-size: 35px;
  font-weight: 300;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 520px) auto;
  gap: 32px;
  align-items: end;
}

.contact h3 {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 35px;
  line-height: 43px;
  font-weight: 700;
}

.contact p {
  margin: 4px 0;
  font-size: 25px;
  line-height: 30px;
  font-weight: 500;
}

.socials {
  display: flex;
  gap: 8px;
  align-items: center;
}

.socials span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 17px;
  font-weight: 900;
}

.site-footer {
  min-height: 118px;
  border-top: 12px solid;
  border-image: linear-gradient(90deg, #ffab22 0 67%, #42d45f 67% 100%) 1;
  background: var(--blue);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 28px max(140px, calc((100vw - 1920px) / 2 + 140px));
  font-size: 20px;
  font-weight: 300;
}

.site-footer div {
  display: grid;
  gap: 8px;
}

.site-footer strong {
  font-weight: 700;
}

@media (min-width: 1101px) and (max-width: 1799px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .site-header {
    height: 120px;
  }

  .header-bg {
    inset: -35px 0 auto 0;
    font-size: 170px;
    letter-spacing: 34px;
  }

  .header-inner {
    height: 120px;
  }

  .brand {
    left: max(46px, calc((100vw - 1536px) / 2 + 46px));
    top: -38px;
    width: 342px;
    min-height: 171px;
  }

  .user-area {
    right: max(112px, calc((100vw - 1536px) / 2 + 112px));
    top: 45px;
    gap: 17px;
    font-size: 16px;
  }

  .pill {
    border-radius: 16px;
    padding: 10px 19px 8px;
  }

  .login-header-inner {
    height: 120px;
  }

  .login-actions {
    right: max(112px, calc((100vw - 1536px) / 2 + 112px));
    top: 45px;
    gap: 10px;
  }

  .login-dropdown {
    height: 77px;
    min-width: 179px;
    border-radius: 14px 14px 0 0;
    padding: 14px 19px 0;
    font-size: 14px;
    line-height: 16px;
  }

  .login-search {
    width: 37px;
    height: 37px;
  }

  .login-search::before {
    left: 12px;
    top: 11px;
    width: 9px;
    height: 9px;
    border-width: 3px;
  }

  .login-search::after {
    left: 23px;
    top: 23px;
    width: 10px;
    height: 3px;
  }

  .login-nav {
    height: 92px;
    padding: 24px max(112px, calc((100vw - 1536px) / 2 + 112px)) 0;
  }

  .login-nav a {
    min-height: 48px;
    padding: 0 11px;
    font-size: 18px;
    line-height: 20px;
  }

  .login-nav a.active::after {
    bottom: -20px;
    width: 56px;
    height: 11px;
  }

  .login-ticker {
    height: 50px;
    gap: 58px;
    font-size: 24px;
    line-height: 27px;
  }

  .login-main {
    min-height: calc(100vh - 120px);
    padding-top: 114px;
  }

  .member-login h1 {
    margin-bottom: 19px;
    font-size: 30px;
    line-height: 34px;
  }

  .member-login label {
    width: 224px;
    margin-bottom: 19px;
  }

  .member-login label span {
    font-size: 22px;
    line-height: 24px;
  }

  .member-login input {
    height: 30px;
    font-size: 18px;
    line-height: 24px;
  }

  .member-login-button {
    min-width: 82px;
    min-height: 38px;
    margin-bottom: 51px;
    border-radius: 14px;
    font-size: 14px;
  }

  .login-line {
    height: 240px;
    margin-top: 30px;
  }

  .page-shell {
    width: min(1312px, calc(100% - 224px));
  }

  .dashboard-title {
    padding: 30px 0 34px;
    border-bottom-width: 2px;
  }

  h1 {
    margin: 0 0 22px -7px;
    font-size: 64px;
    line-height: 56px;
  }

  .primary-tabs,
  .view-tabs {
    border-radius: 16px;
  }

  .primary-tabs button,
  .view-tabs button {
    height: 37px;
    padding: 0 13px;
    font-size: 16px;
  }

  .primary-tabs button:nth-child(1) {
    width: 168px;
  }

  .primary-tabs button:nth-child(2),
  .primary-tabs button:nth-child(3) {
    width: 112px;
  }

  .quick-panel,
  .trade-panel,
  .analytics-panel {
    padding: 34px 0 54px;
  }

  .quick-heading {
    gap: 26px;
    margin-bottom: 22px;
  }

  .quick-heading h2,
  .empty-panel h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .quick-heading p,
  .empty-panel p {
    font-size: 16px;
    line-height: 21px;
  }

  .quick-flow {
    border-radius: 16px;
  }

  .quick-flow button {
    width: 90px;
    height: 32px;
    font-size: 14px;
  }

  .quick-summary {
    gap: 14px;
    margin-bottom: 22px;
  }

  .quick-summary article {
    min-height: 94px;
    padding: 18px 19px 14px;
  }

  .quick-summary span {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .quick-summary strong {
    font-size: 37px;
    line-height: 38px;
  }

  #quickTopCategory {
    font-size: 30px;
    line-height: 34px;
  }

  .quick-table {
    min-width: 896px;
  }

  .quick-table tbody th {
    font-size: 20px;
    padding: 10px 8px;
  }

  .change-pill {
    min-width: 59px;
    min-height: 22px;
    border-radius: 12px;
    padding: 3px 10px 2px;
    font-size: 13px;
  }

  .quick-note {
    margin-top: 14px;
    font-size: 14px;
    line-height: 19px;
  }

  .trade-panel {
    gap: 43px;
  }

  .trade-sector + .trade-sector {
    padding-top: 38px;
    border-top-width: 2px;
  }

  .trade-heading {
    gap: 26px;
    margin-bottom: 18px;
  }

  .trade-heading h2 {
    font-size: 32px;
    line-height: 36px;
  }

  .trade-heading p {
    font-size: 14px;
    line-height: 19px;
  }

  .trade-controls {
    gap: 10px;
  }

  .trade-toggle {
    border-radius: 16px;
  }

  .trade-toggle button {
    min-width: 77px;
    height: 32px;
    padding: 0 14px;
    font-size: 14px;
  }

  .trade-table {
    min-width: 1056px;
  }

  .trade-snapshot {
    min-height: 152px;
    padding: 34px 42px 27px;
    border-radius: 14px;
    grid-template-columns: minmax(192px, 272px) minmax(0, 1fr);
    gap: 37px;
  }

  .snapshot-tab {
    left: -32px;
    top: 18px;
    bottom: 18px;
    width: 32px;
    border-radius: 0 13px 13px 0;
    font-size: 16px;
  }

  .snapshot-metric strong {
    font-size: 53px;
    line-height: 54px;
  }

  .snapshot-metric span {
    font-size: 24px;
    line-height: 27px;
  }

  .snapshot-copy {
    padding: 0 30px;
    border-left-width: 2px;
  }

  .snapshot-copy span {
    font-size: 24px;
    line-height: 29px;
  }

  .snapshot-copy strong {
    font-size: 22px;
    line-height: 27px;
  }

  .trade-note {
    margin: 0 0 22px 32px;
    font-size: 13px;
    line-height: 18px;
  }

  .trade-table tbody th {
    font-size: 20px;
    padding: 14px 8px;
  }

  .view-tabs {
    margin-bottom: 32px;
  }

  .view-tabs button:nth-child(1),
  .view-tabs button:nth-child(3) {
    width: 82px;
  }

  .view-tabs button:nth-child(2) {
    width: 68px;
  }

  .query-layout {
    grid-template-columns: 228px minmax(0, 1fr) 200px;
    gap: 22px;
  }

  .filters {
    padding-right: 24px;
    border-right-width: 2px;
  }

  .filters label {
    padding-bottom: 10px;
    margin-bottom: 14px;
  }

  .filters span,
  .filters select,
  .filters input {
    font-size: 20px;
    line-height: 24px;
  }

  .filters select,
  .filters input {
    min-height: 28px;
    padding-right: 31px;
  }

  .filters select {
    background-position: right 9px center, right 1px center;
    background-size: 7px 5px, 23px 22px;
  }

  .hs-autocomplete input {
    background-position: right 9px center, right 1px center;
    background-size: 7px 5px, 23px 22px;
  }

  .status-row {
    min-height: 24px;
  }

  .status-row strong,
  .status-row span {
    font-size: 13px;
  }

  .text-button {
    border-radius: 13px;
    padding: 5px 11px;
    font-size: 12px;
  }

  .view-panel {
    min-height: 424px;
  }

  .world-map {
    max-width: 816px;
    min-height: 400px;
  }

  .marker-country {
    font-size: 9px;
  }

  .marker-value {
    font-size: 24px;
  }

  table {
    font-size: 20px;
  }

  th {
    font-size: 20px;
  }

  th,
  td {
    padding: 10px 8px;
  }

  .kpis {
    min-height: 432px;
    padding-left: 24px;
    border-left-width: 2px;
  }

  .kpis span {
    font-size: 20px;
    line-height: 36px;
  }

  #kpiValue {
    margin: 18px 0 29px;
    font-size: 64px;
    line-height: 56px;
  }

  .note {
    font-size: 16px;
  }

  .contact {
    padding: 74px 0 54px;
  }

  .contact h2 {
    margin-bottom: 34px;
    font-size: 32px;
    line-height: 36px;
  }

  .contact > p {
    margin-bottom: 38px;
    font-size: 28px;
  }

  .contact h3 {
    font-size: 28px;
    line-height: 34px;
  }

  .contact p {
    font-size: 20px;
    line-height: 24px;
  }

  .socials span {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .site-footer {
    min-height: 94px;
    border-top-width: 10px;
    padding: 22px max(112px, calc((100vw - 1536px) / 2 + 112px));
    font-size: 16px;
  }
}

@media (max-width: 1100px) {
  .header-inner {
    height: auto;
    padding-bottom: 22px;
    align-items: center;
  }

  .user-area {
    margin-top: 22px;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    text-align: right;
  }

  .query-layout {
    grid-template-columns: 1fr;
  }

  .quick-heading {
    flex-direction: column;
  }

  .trade-heading {
    flex-direction: column;
  }

  .trade-controls {
    justify-content: flex-start;
  }

  .trade-snapshot {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-left: 32px;
  }

  .snapshot-copy {
    padding: 20px 0;
    border-left: 0;
    border-right: 0;
    border-top: 2px solid var(--ink);
    border-bottom: 2px solid var(--ink);
  }

  .quick-summary {
    grid-template-columns: 1fr;
  }

  .filters,
  .kpis {
    border: 0;
    padding: 0;
  }

  .filters {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 24px;
  }

  .filters label {
    margin: 0;
  }

  .kpis {
    min-height: 0;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 20px;
    align-items: start;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .page-shell,
  .header-inner {
    width: min(100% - 28px, 1640px);
  }

  .header-bg {
    display: none;
  }

  .header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .user-area {
    align-items: flex-start;
    text-align: left;
  }

  .login-header-inner {
    height: 110px;
  }

  .login-actions {
    right: 18px;
    top: 22px;
  }

  .login-dropdown {
    height: 58px;
    min-width: 150px;
    font-size: 13px;
  }

  .login-search {
    width: 42px;
    height: 42px;
  }

  .login-nav {
    height: auto;
    padding: 14px;
    overflow-x: auto;
  }

  .login-nav a {
    min-height: 44px;
    padding: 0 12px;
    font-size: 15px;
    line-height: 18px;
  }

  .login-nav a.active::after {
    display: none;
  }

  .login-ticker {
    height: 44px;
    gap: 28px;
    font-size: 20px;
  }

  .login-main {
    min-height: calc(100vh - 110px);
    padding: 76px 20px 56px;
  }

  .login-line {
    height: 180px;
  }

  .primary-tabs,
  .view-tabs,
  .quick-flow,
  .trade-toggle {
    width: 100%;
  }

  .primary-tabs button,
  .view-tabs button,
  .quick-flow button,
  .trade-toggle button {
    flex: 1;
    min-width: 0;
    padding: 11px 6px;
    font-size: 14px;
  }

  .filters,
  .kpis {
    grid-template-columns: 1fr;
  }

  .bar-row {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .site-footer {
    display: grid;
    gap: 18px;
    padding: 24px 14px;
  }
}
