@font-face {
  font-family: "November";
  src: url("./fonts/NovemberWebsite.woff2") format("woff2");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "November";
  src: url("./fonts/NovemberWebsiteItalic.woff2") format("woff2");
  font-weight: normal;
  font-style: italic;
}

* {
  margin: 0;
}

:root {
  --default-font: var(--november-font);
  --default-italic-font: var(--november-italic-font);
  --serif-font: var(--lava-font);
  --code-font: Consolas, monaco, monospace;
  --color-greyscale-100: #000;
  --color-greyscale-95: #111;
  --color-greyscale-90: #282828;
  --color-greyscale-50: #888;
  --color-greyscale-40: #999;
  --color-greyscale-30: #e8e8e8;
  --color-greyscale-20: #eee;
  --color-greyscale-10: #f8f8f8;
  --color-greyscale-0: #fff;
  --color-system-blue: #00b6de;
  --color-system-brown: #a86;
  --color-system-orange: #f60;
  --color-system-purple: #66f;
  --color-system-error: #f04;
  --color-system-success: #5d9;
  --color-colors-light-blue: #b5edff;
  --color-colors-dark-blue: #00b6de;
  --color-colors-pink: #ffbacf;
  --color-colors-red: #ff4d00;
  --color-colors-bright-red: #fe0044;
  --color-colors-brown: #bea074;
  --color-colors-light-green: #d3f6e5;
  --smart-color-blue: #8ad2ea;
  --smart-color-brown: #b1976d;
  --smart-color-orange: #ea551f;
  --color-system-blue-light: #f8ffff;
  --color-backdrop: rgba(0, 0, 0, 0.1);
  --color-system-success-light: #d4f6e5;
  --color-system-error-light: rgba(255, 0, 68, 0.25);
  --radius-round: 9999px;
  --radius: 24px;
  --text-huge: 36px;
  --text-large: 20px;
  --text-normal: 16px;
  --text-medium: 13px;
  --text-small: 11px;
  --text-h1: 60px;
  --text-h2: 40px;
  --text-h3: 20px;
  --text-color: var(--color-greyscale-90);
  --text-width-condensed: 83%;
  --text-weight-light: 300;
  --spacing: 10px;
  --spacing-medium: 20px;
  --spacing-large: 30px;
  --spacing-x-large: 60px;
  --spacing-huge: 120px;
  --spacing-buy-card: 15px;
  --spacing-buy-steps: 40px;
  --layout-padding-large: 80px;
  --layout-padding-small: var(--spacing);
  --input-height: 60px;
  --input-height-small: 40px;
  --header-height: 80px;
  --header-height-small: 60px;
  --small-line-height: 1.2;
  --prose-line-height: 1.5;
  --icon-normal: 15px;
  --icon-large: 20px;
  --modal-width-extra-small: min(350px, 90vw);
  --modal-width-small: min(400px, 90vw);
  --modal-width-medium: min(450px, 90vw);
  --modal-width-large: min(600px, 90vw);
  --modal-width-extra-large: min(640px, 90vw);
  --sidebar-max-width: 320px;
  --search-menu-max-width: 220px;
  --font-overview-width: 250px;
  --tile-height: 198px;
  --tile-hover-text: "Browse →";
  --tile-gap: 4px;
  --focus-style-size: 2px;
  --focus-style: var(--focus-style-size) solid var(--color-system-blue);
  --grid-dot-size: 24px;
  --carousel-button-size: 40px;
  --product-display-height: 50px;
  --z-lift: 1;
  --z-flyout: 2;
  --z-dropdown: 3;
  --z-header: 4;
  --z-lightbox: 5;
  --z-modal: 6;
  --z-drag-modal: 1000;
  --author-card-content-width: 305px;
  --story-card-width: 320px;
  --max-content-width: 1280px;
  --max-small-content-width: 800px;
  --prose-content-width: 35rem;
  --grid-font-size: 30px;
}

body {
  /* overflow: hidden; */
  font-family: "November", sans-serif;
}

/* CUSTOM STYLES */
.zed-graph-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  height: 100svh;
}
.zed-graph-svg-wrapper {
  height: 70svh;
}
svg.zed-graph-svg-content {
  overflow: visible;
}

.zed-graph-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding-left: 1em;
  padding-top: 1em;
}

#zed-graph-gui {
  z-index: 9999;
  box-sizing: border-box;
  padding: 0 1em;

  display: flex;
  justify-content: end;
  flex-wrap: wrap;
  gap: 0.5em;
}
#zed-graph-info {
  opacity: 0;
  transition: all 0.2s;
}
#zed-graph-patient-id {
  font-weight: bold;
}

button.zed-graph-button-control {
  padding: 0 var(--spacing-medium);
  background-color: var(--color-greyscale-10);
  color: var(--color-greyscale-100);
  border: 0;
  border-radius: var(--radius-round);
  height: var(--input-height);
  white-space: nowrap;
  font-size: var(--text-medium);
  transition: all 0.2s;
}

@media (max-width: 700px) {
  button.zed-graph-button-control {
    height: var(--input-height-small);
  }
}

button.zed-graph-button-control.active {
  background-color: var(--color-system-orange);
  color: white;
}
button.zed-graph-button-control:hover:not(.active) {
  cursor: pointer;
  background-color: var(--color-greyscale-20);
}

circle.zed-graph-average-point {
  fill: var(--color-system-orange);
}
circle.zed-graph-average-point:hover {
  fill: var(--color-colors-bright-red);
  cursor: pointer;
}
.zed-graph-trend-line {
  pointer-events: none;

  fill: none;
  stroke: var(--color-greyscale-40);
  stroke-width: 3;
}

.zed-graph-patient-trend-line {
  pointer-events: none;
  fill: none;

  stroke: var(--color-greyscale-40);
  stroke-width: 1;
}

.zed-graph-point-label:not(.active) {
  opacity: 0;
}

.zed-graph-point-label.active {
  opacity: 100%;
}

.zed-graph-point-label {
  pointer-events: none;
  transition: opacity 0.3s;
}

.zed-graph-point {
  fill: var(--color-greyscale-50);
  opacity: 0.1;
  transition: all 0.2s;
}

.zed-graph-point.active {
  stroke-width: 3px;
  stroke: var(--color-system-blue);
  fill: var(--color-system-blue);
  opacity: 0.4;
}

.zed-graph-patient-trend-line {
  opacity: 0;
  transition: all 0.2s;
}

.zed-graph-patient-trend-line.zed-graph-highlighted {
  stroke: var(--color-greyscale-40);
  stroke-width: 2;
  stroke-dasharray: 4 10;
}
/* ------- */
