:root {
  color-scheme: light;
  --ink: #191b1c;
  --muted: #7b8285;
  --line: #c2c9cc;
  --paper: #edeff0;
  --surface: #ffffff;
  --header: #edeff0;
  --blue-50: #cbf4fc;
  --blue-100: #4bd9f2;
  --blue-200: #3bb0c4;
  --blue-300: #2d8b9c;
  --blue-400: #1e6672;
  --blue-500: #103f47;
  --blue-600: #041c21;
  --orange-50: #f8e2dd;
  --orange-100: #eeafa2;
  --orange-200: #e57662;
  --orange-300: #c44f3b;
  --orange-400: #8f3829;
  --orange-500: #592016;
  --orange-600: #290a06;
  --gray-50: #edeff0;
  --gray-100: #c2c9cc;
  --gray-200: #9ba3a8;
  --gray-300: #7b8285;
  --gray-400: #595f61;
  --gray-500: #383b3d;
  --gray-600: #191b1c;
  --teal: var(--blue-300);
  --teal-strong: var(--blue-500);
  --up: #f8e2dd;
  --up-ink: var(--orange-400);
  --down: #cbf4fc;
  --down-ink: var(--blue-400);
  --neutral: #edeff0;
  --neutral-ink: var(--gray-400);
  --shadow: 0 18px 42px rgba(25, 27, 28, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--paper);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: url("./assets/natca-logo-tile.png");
  background-position: 26px 24px;
  background-repeat: repeat;
  background-size: 168px 168px;
  mix-blend-mode: multiply;
  opacity: 0.3;
}

body.resizing-column {
  cursor: col-resize;
  user-select: none;
}

button,
input,
select {
  font: inherit;
}

.tracker-shell {
  width: min(1760px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 18px 0 22px;
  position: relative;
  z-index: 1;
}

.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 12px;
}

.eyebrow,
.metric-card p,
.table-toolbar p,
.select-box span,
.data-source {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  line-height: 1.15;
}

h1 {
  margin-top: 4px;
  font-size: 28px;
}

.data-source {
  margin-top: 5px;
  text-transform: none;
  font-weight: 750;
}

.sync-detail {
  max-width: min(980px, calc(100vw - 42px));
  margin: 7px 0 0;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.sync-detail[hidden] {
  display: none;
}

.sync-detail.error {
  border-color: var(--orange-300);
  background: var(--orange-50);
  color: var(--orange-600);
}

.sync-detail.success {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-500);
}

h2 {
  font-size: 18px;
}

.primary-button,
.secondary-button,
.danger-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  min-height: 36px;
  padding: 0 16px;
  border-width: 1px;
  border-style: solid;
  border-radius: 7px;
  font-weight: 850;
  line-height: 1;
  cursor: pointer;
  text-decoration: none;
}

.hidden,
.editor-only {
  display: none;
}

body.editor-unlocked .editor-only {
  display: inline-flex;
}

.editor-gate {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
}

.passcode-box {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.passcode-box span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.passcode-box input {
  width: 76px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
}

.passcode-box:focus-within {
  border-color: var(--blue-200);
  box-shadow: 0 0 0 3px rgba(203, 244, 252, 0.8);
}

body.editor-unlocked #unlock-editor,
body.editor-unlocked .passcode-box {
  display: none;
}

body.editor-unlocked #lock-editor {
  display: inline-grid;
}

.app-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  width: max-content;
  max-width: 100%;
}

.app-nav button {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.app-nav button.active {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-600);
}

.app-view[hidden] {
  display: none;
}

.primary-button {
  border: 1px solid var(--teal-strong);
  background: var(--teal);
  color: white;
}

.secondary-button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
}

.secondary-button:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.secondary-button.connected {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-500);
}

.danger-button {
  border: 1px solid #a32716;
  background: #c44f3b;
  color: #fff;
}

.danger-button:hover {
  border-color: #592016;
  background: #8f3829;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  margin-bottom: 0;
}

.meeting-calendar-panel {
  display: grid;
  grid-template-columns: minmax(210px, 0.35fr) minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-top: 0;
  background: rgba(255, 255, 255, 0.94);
}

.calendar-heading {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.calendar-heading h2 {
  margin-top: 6px;
}

.calendar-heading p:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: none;
}

.meeting-calendar {
  display: grid;
  gap: 6px;
}

.calendar-weekdays,
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
}

.calendar-weekdays span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-align: center;
  text-transform: uppercase;
}

.calendar-grid {
  gap: 4px;
}

.calendar-day {
  position: relative;
  min-height: 22px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: var(--surface);
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}

.calendar-day.outside {
  color: var(--gray-300);
  background: var(--gray-50);
}

.calendar-day.today {
  border-color: var(--blue-200);
  box-shadow: inset 0 0 0 1px var(--blue-200);
}

.calendar-day.has-meeting {
  background: var(--blue-50);
  border-color: var(--blue-200);
}

.calendar-day b {
  position: absolute;
  right: 3px;
  bottom: 2px;
  display: grid;
  place-items: center;
  min-width: 15px;
  height: 15px;
  border-radius: 999px;
  background: var(--orange-400);
  color: white;
  font-size: 9px;
}

.calendar-tooltip {
  position: absolute;
  z-index: 20;
  left: 50%;
  bottom: calc(100% + 8px);
  display: none;
  width: max-content;
  max-width: 240px;
  min-width: 160px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 14px 28px rgba(25, 27, 28, 0.16);
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  transform: translateX(-50%);
}

.calendar-tooltip span {
  display: block;
}

.calendar-day:hover .calendar-tooltip,
.calendar-day:focus-within .calendar-tooltip {
  display: grid;
  gap: 5px;
}

.metric-card.dark .calendar-weekdays span {
  color: var(--gray-100);
}

.metric-card.dark .calendar-day {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.metric-card.dark .calendar-day.outside {
  color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.04);
}

.metric-card.dark .calendar-day.today {
  border-color: var(--orange-200);
  box-shadow: inset 0 0 0 1px var(--orange-200);
}

.metric-card.dark .calendar-day.has-meeting {
  background: rgba(203, 244, 252, 0.2);
  border-color: var(--blue-200);
}

.action-calendar-layout {
  display: grid;
  grid-template-columns: minmax(130px, 0.8fr) minmax(230px, 1.2fr);
  gap: 18px;
  align-items: start;
}

.compact-calendar-wrap {
  min-width: 0;
}

.calendar-mini-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
  color: var(--gray-100);
  font-size: 12px;
  font-weight: 850;
}

.calendar-nav {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.metric-card.dark .calendar-nav {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.compact-calendar-wrap #meeting-calendar-summary {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.metric-card.dark .compact-calendar-wrap #meeting-calendar-summary {
  color: var(--gray-100);
}

.metric-card {
  min-height: 236px;
  padding: 18px 22px;
  border: 1px solid var(--line);
  border-right: 0;
  background: rgba(255, 255, 255, 0.94);
}

.metric-card:first-child {
  border-radius: 8px 0 0 0;
}

.metric-card:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 8px 0 0;
}

.metric-card.dark {
  border-color: var(--blue-600);
  background: var(--blue-600);
  color: white;
}

.metric-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.metric-label b {
  color: var(--muted);
  font-size: 12px;
}

.metric-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: clamp(40px, 4vw, 54px);
  line-height: 0.95;
  font-weight: 850;
}

.metric-card p {
  text-transform: none;
  font-size: 13px;
  font-weight: 700;
}

.metric-card.dark p {
  color: var(--gray-100);
}

.metric-card.dark .metric-link-list button {
  border-top-color: rgba(255, 255, 255, 0.22);
  color: #fff;
}

.metric-card.dark .metric-link-list button:hover .metric-link-primary {
  color: var(--blue-100);
}

.metric-card.dark .metric-link-list b,
.metric-card.dark .metric-link-list em {
  color: var(--gray-100);
}

.metric-card.dark .metric-link-project {
  color: rgba(255, 255, 255, 0.62);
}

.metric-link-list {
  display: grid;
  gap: 6px;
  margin-top: 14px;
}

.metric-link-list button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 26px;
  padding: 5px 0;
  border: 0;
  border-top: 1px solid rgba(194, 201, 204, 0.75);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.metric-link-list button:first-child {
  border-top: 0;
}

.metric-link-list button:hover .metric-link-primary {
  color: var(--blue-400);
}

.metric-link-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.metric-link-primary,
.metric-link-project {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.metric-link-primary {
  font-size: 12px;
  font-weight: 850;
}

.metric-link-project {
  color: var(--gray-300);
  font-size: 10px;
  font-weight: 800;
}

.metric-link-list b,
.metric-link-list em {
  color: var(--gray-300);
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.signal-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(360px, 1fr);
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.signal-panel {
  min-height: 286px;
  padding: 20px 22px;
}

.data-panel {
  border-right: 1px solid var(--line);
}

.signal-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.signal-panel h2 {
  margin-top: 8px;
  font-size: 24px;
}

.signal-panel h2 span {
  color: var(--gray-200);
}

.portfolio-count {
  display: block;
  margin-top: 10px;
  font-size: clamp(38px, 4.4vw, 54px);
  line-height: 0.95;
  font-weight: 850;
}

.portfolio-change {
  margin: 7px 0 0;
  color: var(--up-ink);
  font-size: 16px;
  font-weight: 850;
}

.portfolio-change.down {
  color: var(--down-ink);
}

.portfolio-change.flat {
  color: var(--neutral-ink);
}

.stock-chart {
  height: 180px;
  margin-top: 12px;
}

.stock-chart svg {
  display: block;
  width: 100%;
  height: 100%;
}

.stock-line {
  fill: none;
  stroke: var(--up);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 1px var(--up-ink));
}

.stock-line.down {
  stroke: var(--down);
  filter: drop-shadow(0 0 1px var(--down-ink));
}

.stock-line.flat {
  stroke: var(--neutral);
  filter: drop-shadow(0 0 1px var(--neutral-ink));
}

.stock-glow {
  fill: none;
  opacity: 0.18;
  stroke: var(--up);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 11;
}

.stock-glow.down {
  stroke: var(--down);
}

.stock-glow.flat {
  stroke: var(--neutral);
}

.stock-baseline {
  stroke: var(--gray-200);
  stroke-dasharray: 2 9;
  stroke-linecap: round;
  stroke-width: 2;
}

.stock-point {
  fill: var(--surface);
  stroke: var(--up);
  stroke-width: 3;
}

.stock-point.down {
  stroke: var(--down);
}

.stock-point.flat {
  stroke: var(--neutral);
}

.range-tabs {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 44px);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 2px dotted #9aa3a8;
}

.range-tabs button {
  min-width: 34px;
  min-height: 32px;
  padding: 0;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.range-tabs button.active {
  border-color: var(--up);
  color: var(--up-ink);
}

.data-panel.trend-down .range-tabs button.active {
  border-color: var(--down);
  color: var(--down-ink);
}

.data-panel.trend-flat .range-tabs button.active {
  border-color: var(--neutral);
  color: var(--neutral-ink);
}

.chart-caption {
  display: flex;
  justify-content: space-between;
  margin-top: 7px;
  color: var(--gray-200);
  font-size: 12px;
  font-weight: 750;
}

.market-insights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.market-insight-card {
  min-height: 132px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.insight-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.insight-heading .eyebrow {
  margin: 0;
}

.insight-heading strong {
  font-size: 24px;
  line-height: 1;
  font-weight: 900;
}

.insight-list {
  display: grid;
  gap: 7px;
}

.insight-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: start;
  width: 100%;
  padding-top: 7px;
  border: 0;
  border-top: 1px solid rgba(194, 201, 204, 0.75);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.insight-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.insight-row:hover strong {
  color: var(--blue-500);
}

.insight-row strong,
.insight-row span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.insight-row strong {
  font-size: 12px;
  font-weight: 850;
}

.insight-row span,
.insight-empty {
  color: var(--gray-300);
  font-size: 11px;
  font-weight: 700;
}

.insight-row b {
  color: var(--gray-300);
  font-size: 11px;
  font-weight: 850;
  white-space: nowrap;
}

.insight-empty {
  margin: 0;
}

.vector-panel {
  overflow: hidden;
}

.focus-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.focus-tabs button {
  min-height: 32px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 850;
  cursor: pointer;
}

.focus-tabs button.active {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--blue-600);
}

.due-vector {
  margin-top: 8px;
}

.due-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.due-tabs button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.due-tabs button.active {
  border: 2px solid #d88a00;
}

.due-focus-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 6px;
}

.due-bar-chart {
  display: grid;
  grid-template-columns: repeat(7, minmax(26px, 1fr));
  align-items: end;
  gap: 10px;
  min-height: 168px;
  padding: 12px 4px 4px;
  border-bottom: 1px dotted var(--gray-200);
}

.due-bar-column {
  display: grid;
  grid-template-rows: 18px 126px 20px;
  align-items: end;
  justify-items: center;
  min-width: 0;
}

.due-bar-count {
  color: var(--gray-500);
  font-size: 12px;
  font-weight: 850;
}

.due-bar-track {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  width: 100%;
  height: 126px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(237, 239, 240, 0.2), rgba(237, 239, 240, 0.72));
}

.due-bar {
  display: block;
  width: min(28px, 72%);
  min-height: 0;
  border-radius: 999px 999px 3px 3px;
  box-shadow: 0 8px 18px rgba(25, 27, 28, 0.08);
}

.due-bar-column strong {
  overflow: hidden;
  width: 100%;
  color: var(--gray-600);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.due-breakdown {
  display: grid;
  margin-top: 2px;
}

.focus-breakdown {
  display: grid;
  gap: 0;
  margin-top: 12px;
}

.focus-breakdown-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.focus-breakdown-row strong,
.focus-breakdown-row span,
.focus-breakdown-row b {
  display: block;
}

.focus-breakdown-row strong {
  overflow: hidden;
  font-size: 15px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.focus-breakdown-row span {
  color: var(--gray-500);
  font-size: 12px;
}

.focus-empty {
  color: var(--muted);
  font-weight: 800;
}

.due-breakdown-row {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.due-breakdown-row strong,
.due-breakdown-row span,
.due-breakdown-row b {
  display: block;
}

.due-breakdown-row strong {
  font-size: 16px;
}

.due-breakdown-row span {
  color: var(--gray-500);
}

.due-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
}

.due-copy {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.due-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.due-list .tag {
  white-space: normal;
}

.tracker-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.contacts-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
  overflow: hidden;
}

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

.contacts-heading h2 {
  margin-top: 4px;
  font-size: 24px;
}

.contacts-heading p:last-child {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.contacts-list {
  display: grid;
}

.outside-links-panel {
  display: grid;
  grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.58);
}

.outside-links-panel h3 {
  margin-top: 4px;
  font-size: 18px;
}

.outside-links-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.outside-links-list a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}

.outside-links-list a:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 14px;
  padding: 20px;
}

.contact-form label {
  display: grid;
  gap: 6px;
}

.contact-form label.full {
  grid-column: 1 / -1;
}

.contact-form span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 11px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form button {
  justify-self: start;
}

.contact-status {
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.contact-status[hidden] {
  display: none;
}

.contact-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
}

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

.contact-row strong {
  font-size: 15px;
}

.contact-row span,
.contacts-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.contact-row b {
  color: var(--blue-500);
  font-size: 12px;
  font-weight: 850;
}

.contacts-empty {
  padding: 24px 20px;
}

.table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.table-toolbar p {
  margin-top: 3px;
  text-transform: none;
  font-weight: 700;
}

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

.controls > * {
  align-self: center;
}

.filter-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: 100%;
}

.search-box,
.select-box,
.priority-check-filter,
.check-control {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--surface);
}

.search-box {
  width: min(380px, 34vw);
  padding: 0 12px;
}

.check-control {
  gap: 8px;
  padding: 0 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.check-control span {
  display: inline-flex;
  align-items: center;
  height: 100%;
}

.check-control input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-200);
}

.search-box span {
  margin-right: 8px;
  color: var(--muted);
  font-size: 18px;
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
}

.search-box:focus-within,
.select-box:focus-within,
.priority-check-filter:focus-within,
.check-control:focus-within {
  border-color: var(--blue-200);
  box-shadow: 0 0 0 3px rgba(203, 244, 252, 0.8);
}

.select-box {
  gap: 8px;
  padding-left: 12px;
}

.select-box:has(select[multiple]) {
  height: auto;
  min-height: 52px;
  align-items: flex-start;
  padding: 6px 8px 6px 12px;
}

.select-box select {
  height: 34px;
  padding: 0 30px 0 8px;
  border: 0;
  border-left: 1px solid var(--line);
  outline: 0;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.select-box select[multiple] {
  height: auto;
  min-width: 116px;
  max-height: 72px;
  padding: 2px 8px;
}

.priority-check-filter {
  gap: 10px;
  height: auto;
  min-height: 42px;
  padding: 7px 10px 7px 12px;
}

.priority-check-filter > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.priority-check-options,
.area-check-options {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.priority-check-options label,
.area-check-options label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 24px;
  padding: 0 7px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.priority-check-options input,
.area-check-options input {
  width: 13px;
  height: 13px;
  accent-color: var(--blue-200);
}

.table-frame {
  max-height: calc(100vh - 198px);
  overflow: scroll;
}

.blank-tracker-card {
  min-height: 420px;
}

.blank-tracker-table {
  overflow: auto;
}

.supplemental-table-frame {
  max-height: calc(100vh - 230px);
  overflow: auto;
}

.supplemental-table {
  width: max-content;
  table-layout: fixed;
  min-width: 860px;
  border-collapse: collapse;
  background: var(--surface);
}

.supplemental-table th,
.supplemental-table td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.supplemental-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 10px 24px 10px 12px;
  background: var(--header);
  color: #52636d;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  user-select: none;
}

.supplemental-table th .sort-indicator {
  position: absolute;
  right: 12px;
  color: #98a6ad;
  font-size: 10px;
}

.supplemental-table th.sorted .sort-indicator {
  color: var(--ink);
}

.supplemental-table td {
  min-width: 90px;
  padding: 6px 8px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11.5px;
  font-weight: 400;
  line-height: 1.28;
  outline: 0;
  overflow-wrap: anywhere;
  white-space: pre-line;
}

.supplemental-table td[contenteditable="true"] {
  cursor: text;
}

.supplemental-table td[contenteditable="true"]:focus {
  background: var(--orange-50);
  box-shadow: inset 0 0 0 2px var(--orange-200);
}

.supplemental-table th.drag-over {
  background: var(--blue-50);
}

.supplemental-date-input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.supplemental-select-input {
  width: 100%;
  min-width: 0;
  min-height: 28px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.supplemental-multi-select-input {
  min-height: 58px;
  padding: 3px 6px;
}

.procedure-date-green,
.procedure-date-green:disabled {
  color: #1f8a4c !important;
}

.procedure-date-orange,
.procedure-date-orange:disabled {
  color: #c97800 !important;
}

.procedure-date-light-red,
.procedure-date-light-red:disabled {
  color: #e5766d !important;
}

.procedure-date-bold-red,
.procedure-date-bold-red:disabled {
  color: #c6281d !important;
  font-weight: 850 !important;
}

.supplemental-table tr.row-highlight td {
  background: rgba(203, 244, 252, 0.55);
  box-shadow: inset 0 0 0 1px var(--blue-200);
}

.supplemental-table tr.procedure-chart-passed td {
  color: var(--gray-300) !important;
}

.supplemental-table tr.procedure-chart-passed .supplemental-date-input {
  color: var(--gray-300) !important;
}

.blank-tracker-head,
.blank-tracker-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.4fr) repeat(4, minmax(150px, 1fr));
  min-width: 860px;
}

.blank-tracker-head span,
.blank-tracker-row span {
  min-height: 46px;
  padding: 10px 12px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.blank-tracker-head span {
  background: #f4f7f8;
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.blank-tracker-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.top-scroll {
  height: 16px;
  border-bottom: 1px solid var(--line);
  overflow-x: scroll;
  overflow-y: hidden;
  background: #fafbfb;
}

.top-scroll div {
  height: 1px;
}

table {
  width: 100%;
  min-width: 1860px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

th,
td {
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  padding: 0;
  background: var(--header);
  color: #52636d;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
}

.header-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 36px;
  padding: 9px 24px 9px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-size: inherit;
  font-weight: inherit;
  text-align: left;
  text-transform: inherit;
}

.header-button:hover,
th.drag-over .header-button {
  background: var(--blue-50);
}

.sort-indicator {
  color: var(--gray-200);
  font-size: 11px;
}

th.sorted .sort-indicator {
  color: var(--ink);
}

.resize-handle {
  position: absolute;
  top: 0;
  right: 0;
  width: 9px;
  height: 100%;
  cursor: col-resize;
}

.resize-handle::after {
  content: "";
  position: absolute;
  top: 9px;
  right: 3px;
  width: 1px;
  height: calc(100% - 18px);
  background: #b7c3c9;
  background: var(--gray-100);
}

td {
  padding: 6px 8px;
  background: var(--surface);
  font-size: 11.5px;
  line-height: 1.28;
}

td.editable-cell {
  outline: 0;
  cursor: text;
}

td.editable-cell:focus {
  background: var(--orange-50);
  box-shadow: inset 0 0 0 2px var(--orange-200);
}

td.edited {
  background: var(--orange-50);
}

.priority-select {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.priority-cell {
  overflow: hidden;
}

body:not(.editor-unlocked) .priority-select:disabled {
  appearance: none;
  -webkit-appearance: none;
  background-image: none;
  opacity: 1;
  padding-right: 8px;
}

.select-editor-cell {
  padding: 4px 6px;
  vertical-align: middle;
}

.field-select {
  width: 100%;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 12px;
}

.table-select-editor {
  min-height: 28px;
  padding: 4px 6px;
}

.multi-field-select {
  overflow: auto;
}

.table-select-editor.multi-field-select {
  min-height: 56px;
}

.detail-select-editor {
  min-height: 40px;
}

.detail-select-editor.multi-field-select {
  min-height: 96px;
}

.field-select option {
  padding: 3px 6px;
}

.date-picker {
  width: 100%;
  min-width: 0;
  min-height: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-weight: 400;
}

.date-picker:not(:disabled) {
  cursor: pointer;
}

.date-picker:focus {
  border-color: var(--orange-200);
  outline: 0;
  background: var(--orange-50);
}

.date-picker:disabled {
  color: var(--gray-500);
  opacity: 1;
  -webkit-text-fill-color: currentColor;
}

.date-yellow,
.date-yellow:disabled {
  color: #a87900;
  -webkit-text-fill-color: #a87900;
}

.date-green,
.date-green:disabled {
  color: #16834b;
  -webkit-text-fill-color: #16834b;
}

.date-orange,
.date-orange:disabled {
  color: var(--orange-300);
  -webkit-text-fill-color: var(--orange-300);
}

.date-red,
.date-red:disabled {
  color: #b3211b;
  -webkit-text-fill-color: #b3211b;
}

.date-critical,
.date-critical:disabled {
  color: #290a06 !important;
  -webkit-text-fill-color: #290a06 !important;
  font-weight: 800;
}

.date-picker.date-yellow,
.date-picker.date-yellow:disabled {
  color: #a87900;
}

.date-picker.date-green,
.date-picker.date-green:disabled {
  color: #16834b;
}

.date-picker.date-orange,
.date-picker.date-orange:disabled {
  color: var(--orange-300);
}

.date-picker.date-red,
.date-picker.date-red:disabled {
  color: #b3211b;
}

.date-picker.date-critical,
.date-picker.date-critical:disabled {
  color: #290a06 !important;
  -webkit-text-fill-color: #290a06 !important;
  font-weight: 800;
}

tbody tr:nth-child(even) td {
  background: #fafbfb;
}

tbody tr:hover td {
  background: rgba(203, 244, 252, 0.2);
}

tr.closed-project td {
  color: var(--gray-300);
  opacity: 0.58;
}

tr.closed-project .date-critical,
tr.closed-project .date-red,
tr.closed-project .date-orange,
tr.closed-project .date-yellow,
tr.closed-project .date-green {
  color: var(--gray-300);
  -webkit-text-fill-color: var(--gray-300);
}

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

tbody tr:last-child td {
  border-bottom: 0;
}

.project-cell {
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.attachment-indicator {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 5px;
  color: var(--blue-500);
  line-height: 1;
  vertical-align: -2px;
}

.attachment-indicator svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.project-name-text {
  outline: 0;
}

.project-name-text.placeholder {
  color: var(--gray-200);
}

.cell-muted {
  color: var(--muted);
}

.date-cell {
  padding-top: 6px;
  white-space: nowrap;
}

.meeting-cell {
  font-weight: 400;
}

.meeting-cell-list {
  display: grid;
  align-content: start;
  gap: 6px;
  white-space: normal;
}

.meeting-cell-list > span {
  display: block;
}

.meeting-cell-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18px;
  gap: 4px;
  align-items: center;
}

.meeting-line {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
}

.editor-unlocked .meeting-line {
  cursor: pointer;
}

.meeting-cell .datetime-picker {
  width: 100%;
}

.meeting-remove-button {
  display: inline-grid;
  place-items: center;
  width: 18px;
  min-width: 18px;
  height: 18px;
  min-height: 18px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: #b3211b;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
}

.meeting-remove-button:hover {
  border-color: #b3211b;
  background: #f8e2dd;
}

.date-control {
  display: flex;
  align-items: flex-start;
  gap: 4px;
}

.datetime-control {
  align-items: center;
}

.datetime-picker {
  min-width: 120px;
}

.date-cell .today-button {
  display: none;
}

.date-cell .today-button::before {
  content: "";
}

.today-button,
.mini-action-button {
  min-height: 22px;
  padding: 0 6px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--gray-500);
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
}

.today-button:hover,
.mini-action-button:hover {
  border-color: var(--blue-200);
  background: var(--blue-50);
  color: var(--ink);
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.tag {
  display: inline-flex;
  align-items: center;
  flex: 0 1 auto;
  max-width: 100%;
  min-width: 0;
  min-height: 23px;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--gray-50);
  color: var(--gray-500);
  font-size: 11px;
  font-weight: 750;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.baserow-tag {
  background: var(--tag-bg, var(--gray-50));
  color: var(--tag-ink, var(--gray-500));
  font-weight: 800;
}

.priority {
  justify-content: center;
  min-width: 68px;
}

.priority-high {
  background: #f48781;
  color: #191b1c;
}

.priority-very-high {
  background: #ed1788;
  color: #fff;
}

.priority-medium {
  background: #ffd77f;
  color: #191b1c;
}

.priority-low {
  background: #ffe7b2;
  color: #191b1c;
}

.priority-very-low {
  background: #5eaeb2;
  color: #191b1c;
}

.action-cell {
  white-space: pre-line;
}

.editable-cell[data-field="associated"],
.notes-cell {
  white-space: pre-line;
}

.action-checklist {
  display: grid;
  gap: 6px;
  white-space: normal;
}

.action-empty {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.action-check {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  gap: 7px;
  align-items: start;
}

.action-check input {
  width: 14px;
  height: 14px;
  margin: 2px 0 0;
  accent-color: var(--blue-200);
}

.action-check span {
  min-width: 0;
}

.action-check.complete span {
  color: var(--gray-300);
  text-decoration: line-through;
}

.mini-action-button {
  margin-top: 7px;
}

.notes-cell {
  white-space: pre-line;
}

.notes-display {
  display: grid;
  align-content: start;
  gap: 4px;
  white-space: pre-wrap;
}

.sortable-line {
  cursor: grab;
}

.sortable-line:active,
.line-dragging {
  cursor: grabbing;
}

.line-drag-over {
  box-shadow: inset 0 2px 0 var(--blue-200);
}

.completed-note-line {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 6px;
  align-items: start;
  color: var(--muted);
}

.note-line-hidden {
  display: none !important;
}

.completed-note-line input {
  width: 13px;
  height: 13px;
  margin: 1px 0 0;
  accent-color: var(--gray-300);
}

.completed-note-line span {
  text-decoration: line-through;
}

.notes-editor {
  min-height: 84px;
  outline: none;
}

.notes-editor:focus {
  box-shadow: inset 0 0 0 2px var(--blue-200);
}

.project-cell {
  cursor: pointer;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(25, 27, 28, 0.34);
}

.modal-backdrop[hidden] {
  display: none;
}

.project-modal {
  width: min(1180px, 100%);
  max-height: min(860px, calc(100vh - 48px));
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 28px 80px rgba(25, 27, 28, 0.24);
  overflow: hidden;
}

.modal-header,
.modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
}

.modal-footer {
  border-top: 1px solid var(--line);
  border-bottom: 0;
}

.modal-footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.project-detail {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 14px;
  padding: 18px;
  overflow: auto;
}

.detail-field {
  display: grid;
  gap: 6px;
}

.detail-field.full {
  grid-column: 1 / -1;
}

.detail-field label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.detail-field input,
.detail-field select,
.detail-field textarea {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.detail-date-control {
  align-items: center;
}

.detail-date-control input {
  min-width: 0;
}

.detail-date-control .today-button {
  min-height: 40px;
  padding: 0 10px;
  font-size: 11px;
}

.detail-field textarea {
  min-height: 110px;
  resize: vertical;
}

.meeting-list-editor,
.meeting-list-rows {
  display: grid;
  gap: 8px;
}

.meeting-list-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.attachment-panel {
  display: grid;
  gap: 10px;
}

.attachment-list {
  display: grid;
  gap: 6px;
  min-height: 40px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
}

.attachment-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 30px;
}

.attachment-link,
.attachment-empty {
  color: var(--ink);
  font-size: 13px;
}

.attachment-link {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.attachment-remove,
.file-upload-control {
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--gray-50);
  color: var(--ink);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
}

.attachment-remove {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 0 10px;
  cursor: pointer;
}

.file-upload-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 36px;
  padding: 0 12px;
  cursor: pointer;
}

.file-upload-control input {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  width: 1px;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.detail-field input:disabled,
.detail-field select:disabled,
.detail-field textarea:disabled {
  background: var(--gray-50);
  color: var(--gray-500);
}

.empty-row td {
  padding: 42px 16px;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 900px) {
  .tracker-shell {
    width: min(100vw - 24px, 1760px);
    padding-top: 18px;
  }

  .page-header,
  .table-toolbar,
  .controls {
    align-items: stretch;
    flex-direction: column;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .meeting-calendar-panel {
    grid-template-columns: 1fr;
  }

  .metric-card,
  .metric-card:first-child,
  .metric-card:last-child {
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .signal-grid {
    grid-template-columns: 1fr;
    border-top: 1px solid var(--line);
    border-radius: 8px;
  }

  .data-panel {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .market-insights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .signal-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-box {
    width: 100%;
  }

  .table-frame {
    max-height: none;
  }

  .project-detail {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: 26px;
  }

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

  .metric-card {
    min-height: 150px;
  }

  .market-insights {
    grid-template-columns: 1fr;
  }

  .metric-label {
    margin-bottom: 34px;
  }
}
