/*  dark mode mixin
i prefer this simple approach over triple nested map loops that folks at medium suggest;
just declare your default property: color-variable and if you want it to be dark adaptive
@include this mixin with the same property and the same variable - this way you don't
need to refactor all your p:$var into includes and you still use autocomplete - you just
have to do the oh-so-hard-work of adding include and retyping two things */
.item, .pane {
  border-width: 1px;
  border-style: solid;
  border-color: #CFD7E7;
  background-color: #FCFCFC;
}
@media (prefers-color-scheme: dark) {
  .item, .pane {
    border-color: #6B7C99;
  }
}
@media (prefers-color-scheme: dark) {
  .item, .pane {
    background-color: #3C3E42;
  }
}

.pane {
  margin-bottom: 1.5rem;
}
.pane h2 {
  height: 3rem;
  margin: 0;
  background-color: #CFD7E7;
  font-weight: normal;
  font-size: 1rem;
  padding: 0.8rem 1.2rem;
  display: flex;
  justify-content: space-between;
}
@media (prefers-color-scheme: dark) {
  .pane h2 {
    background-color: #6B7C99;
  }
}
.pane h2 button {
  border: none;
  font-weight: normal;
  font-size: 0.6rem;
  display: inline-block;
  min-width: 1.5rem;
  height: 1.5rem;
  background-color: white;
  border-radius: 0.75rem;
  padding: 0 0.5rem;
  margin-left: 0.6rem;
  line-height: 1.5rem;
  text-align: center;
  vertical-align: middle;
}
.pane .pane-contents {
  padding: 1.5rem 1.2rem;
}

.pane:last-child {
  margin-bottom: 0px;
}

@media (max-width: 767.999px) {
  .pane .pane-contents {
    padding: 1.2rem 1.2rem;
  }
}
.item {
  outline-color: rgba(220, 157, 137, 0);
  outline-style: none;
  outline-width: 0.1rem;
  transition: outline-color 0.2s ease-in;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.5rem;
  margin-bottom: 1.5rem;
  cursor: pointer;
}

.item:hover {
  outline-color: rgb(220, 157, 137) !important;
  outline-style: solid !important;
  outline-width: 0.1rem !important;
}

.item-header {
  width: 100%;
  font-size: 1.6rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.item-header .badges {
  display: flex;
}
.item-header .badges div {
  font-weight: normal;
  font-size: 0.6rem;
  display: inline-block;
  min-width: 1.5rem;
  height: 1.5rem;
  background-color: #F1CF9C;
  border-radius: 0.75rem;
  padding: 0 0.5rem;
  margin-left: 0.6rem;
  line-height: 1.5rem;
  text-align: center;
  vertical-align: middle;
}
@media (prefers-color-scheme: dark) {
  .item-header .badges div {
    color: #2E3033;
  }
}

.item-info {
  font-size: 0.8rem;
  line-height: 1.2;
}
.item-info div {
  display: inline-block;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #2B2D42;
  padding-right: 1.5rem;
  padding-left: 1.5rem;
}
@media (prefers-color-scheme: dark) {
  .item-info div {
    border-right-color: #ECEFF5;
  }
}
.item-info div:first-child {
  padding-left: 0;
}
.item-info div:last-child {
  border: none;
  padding-right: 0;
}

.item-details {
  padding: 0.5rem 0;
  transition: opacity 0.2s ease-out;
}

.item-buttons {
  display: flex;
  flex-direction: row;
  gap: 0.8rem;
  margin: 0.6rem 0 0.2rem 0;
}
.item-buttons button {
  width: 100%;
  height: 2.5rem;
  cursor: pointer;
  vertical-align: middle;
  text-align: center;
  font: 0.8rem "Prompt", sans-serif;
  border: none;
}
.item-buttons .expand {
  background-color: #CFD7E7;
}
@media (prefers-color-scheme: dark) {
  .item-buttons .expand {
    background-color: #6B7C99;
  }
}
@media (prefers-color-scheme: dark) {
  .item-buttons .expand {
    color: #ECEFF5;
  }
}
.item-buttons .expand:hover {
  background-color: #B9CBEB;
}
@media (prefers-color-scheme: dark) {
  .item-buttons .expand:hover {
    background-color: #97AED6;
  }
}
.item-buttons .contact {
  font-weight: bold;
  color: white;
  background-color: #DC9D89;
}
.item-buttons .contact:hover {
  background-color: #DC7858;
}

.highlight-item {
  outline-color: rgb(220, 157, 137) !important;
  outline-style: solid !important;
  outline-width: 0.1rem !important;
}

@media (max-width: 767.999px) {
  .item-header {
    font-size: 1.2rem;
  }
  .item-header .badges div {
    font-size: 0.4rem;
    height: 1rem;
    min-width: 1rem;
    margin-left: 0.4rem;
    border-radius: 0.5rem;
    padding: 0 0.3rem;
    line-height: 1rem;
  }
  .item-info {
    font-size: 0.8rem;
    line-height: 1.2;
    width: 100%;
  }
  .item-info div {
    display: inline-block;
    width: 33.3%;
    text-align: center;
    padding-left: 0;
    padding-right: 0;
  }
  .item-info div span {
    font-size: 0.6rem;
  }
  .item-buttons {
    flex-direction: column;
  }
}
fieldset {
  border: none;
}

input {
  accent-color: #DC9D89;
  transition: background-color 0.2s ease-out;
}

.filter-settings .setting {
  margin-bottom: 1.5rem;
}
.filter-settings .setting:last-child {
  margin-bottom: 0rem;
}
.filter-settings .filter-setting-label {
  display: flex;
  justify-content: space-between;
}
.filter-settings input {
  width: 100%;
}
.filter-settings label {
  display: inline-block;
}

.sorting-options div {
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
}
.sorting-options div:last-child {
  margin-bottom: 0;
}

.filter-settings,
.sorting-options {
  transition: opacity 0.2s ease-out;
}

@media (max-width: 767.999px) {
  .sorting-options div {
    margin-bottom: 0.4rem;
  }
}
@media (min-width: 768px) {
  .filter-settings,
.sorting-options {
    display: block !important;
    opacity: 1 !important;
  }
}
input[type=radio] {
  margin-right: 0.6rem;
  height: 0.7rem;
  width: 0.7rem;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  border-style: solid;
  border-width: 0.1rem;
  border-color: #FCFCFC;
  background-color: #FCFCFC;
  box-shadow: 0 0 0 0.2rem #DC9D89;
}
@media (prefers-color-scheme: dark) {
  input[type=radio] {
    border-color: #3C3E42;
  }
}
@media (prefers-color-scheme: dark) {
  input[type=radio] {
    background-color: #3C3E42;
  }
}

input[type=radio]:checked {
  background-color: #DC9D89;
}

input[type=radio]:hover {
  box-shadow: 0 0 0 0.2rem #DC7858;
}

input[type=range] {
  appearance: none;
  background: transparent;
  -webkit-appearance: none;
}

/* FIREFOX */
input[type=range]::-moz-range-thumb {
  height: 0.8rem;
  width: 0.8rem;
  border: none;
  border-radius: 100%;
  background: #DC9D89;
  cursor: pointer;
}

input[type=range]::-moz-range-thumb:hover {
  background: #DC7858;
}

input[type=range]::-moz-range-track {
  width: 100%;
  height: 0.1rem;
  background: #DC9D89;
  cursor: pointer;
}

/* CHROME */
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  height: 0.8rem;
  width: 0.8rem;
  border: none;
  border-radius: 100%;
  background: #DC9D89;
  cursor: pointer;
  margin-top: -0.4rem;
}

input[type=range]::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.1rem;
  background: #DC9D89;
  cursor: pointer;
}

input[type=range]:focus::-webkit-slider-runnable-track {
  width: 100%;
  height: 0.1rem;
  background: #DC9D89;
  cursor: pointer;
}

/* CHROMIUM-EDGE */
input[type=range]::-ms-track {
  width: 100%;
  height: 0.1rem;
  background: #DC9D89;
  border-color: transparent;
  cursor: pointer;
}

.graph {
  padding: 1.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  height: 8rem;
}
.graph div {
  cursor: pointer;
  flex-grow: 1;
  outline-color: rgba(220, 157, 137, 0);
  outline-style: none;
  outline-width: 0.1rem;
  transition: outline-color 0.2s ease-in;
}
.graph div:hover {
  outline-color: rgb(220, 157, 137) !important;
  outline-style: solid !important;
  outline-width: 0.1rem !important;
}

.highlight-bar {
  outline-color: rgb(220, 157, 137) !important;
  outline-style: solid !important;
  outline-width: 0.1rem !important;
}

header {
  width: 100%;
  height: 3rem;
  background-color: #CFD7E7;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
}
@media (prefers-color-scheme: dark) {
  header {
    background-color: #6B7C99;
  }
}
header div {
  width: 100%;
  max-width: 1280px;
  padding: 0 2.5rem;
  display: flex;
  justify-content: space-between;
}
header .logo {
  display: flex;
  align-items: center;
}
header .logo img {
  width: 1rem;
  height: 1rem;
  margin-right: 0.5rem;
}
header button {
  display: none;
  background: none;
  padding-right: 1rem;
  width: 2.5rem;
  height: 1.5rem;
  color: #2B2D42;
}
@media (prefers-color-scheme: dark) {
  header button {
    color: #ECEFF5;
  }
}
header button svg {
  width: 100%;
  height: 100%;
}
header button:hover {
  background: none;
}

nav {
  font-size: 0.8rem;
  width: 50%;
  display: flex;
  justify-content: flex-end;
}
nav a {
  padding: 0 2rem;
  border-right-width: 1px;
  border-right-style: solid;
  border-right-color: #2B2D42;
}
@media (prefers-color-scheme: dark) {
  nav a {
    border-right-color: #ECEFF5;
  }
}
nav a:last-child {
  padding: 0 0 0 2rem;
  border-right: none;
}
nav a:hover {
  color: #DC7858;
}

@media (max-width: 639.999px) {
  header {
    margin-bottom: 1.5rem;
  }
  header div {
    padding: 0;
  }
  header .logo {
    padding-left: 1rem;
  }
  header button {
    display: block;
  }
  nav {
    position: absolute;
    font-size: 0.8rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    top: 3rem;
    background-color: #FCFCFC;
    border-top-width: 1px;
    border-top-style: solid;
    border-top-color: #CFD7E7;
    transition: opacity 0.2s ease-out;
  }
}
@media (max-width: 639.999px) and (prefers-color-scheme: dark) {
  nav {
    background-color: #3C3E42;
  }
}
@media (max-width: 639.999px) and (prefers-color-scheme: dark) {
  nav {
    border-top-color: #6B7C99;
  }
}
@media (max-width: 639.999px) {
  nav a {
    padding: 0;
    height: 3rem;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-bottom-color: #CFD7E7;
    line-height: 3rem;
    text-align: center;
    vertical-align: middle;
  }
}
@media (max-width: 639.999px) and (prefers-color-scheme: dark) {
  nav a {
    border-bottom-color: #6B7C99;
  }
}
@media (max-width: 639.999px) {
  nav a:last-child {
    padding: 0;
  }
}
@media (min-width: 640px) {
  nav {
    display: flex !important;
    opacity: 1 !important;
  }
}
* {
  box-sizing: border-box;
}

:root {
  font-size: 20px;
}

body {
  background-color: #ECEFF5;
  font: 0.8rem "Prompt", sans-serif;
  color: #2B2D42;
  padding: 0;
  margin: 0;
  overflow-y: scroll;
}
@media (prefers-color-scheme: dark) {
  body {
    background-color: #2E3033;
  }
}
@media (prefers-color-scheme: dark) {
  body {
    color: #ECEFF5;
  }
}

button {
  border: none;
  font-family: "Prompt", sans-serif;
  cursor: pointer;
  transition: background-color 0.2s ease-out;
}

a {
  color: #2B2D42;
  text-decoration: none;
  transition: color 0.2s ease-out;
}
@media (prefers-color-scheme: dark) {
  a {
    color: #ECEFF5;
  }
}

a:visited {
  color: #2B2D42;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  a:visited {
    color: #ECEFF5;
  }
}

a:hover {
  color: #2B2D42;
  text-decoration: none;
}
@media (prefers-color-scheme: dark) {
  a:hover {
    color: #ECEFF5;
  }
}

.hidden {
  display: none;
}

.transparent {
  opacity: 0;
}

.invisible {
  clip: rect(0 0 0 0);
  height: 1px;
  width: 1px;
  display: block;
  overflow: hidden;
}

.app {
  padding: 0 1rem;
  display: grid;
  margin: auto;
  max-width: 1280px;
  row-gap: 2.5rem;
  column-gap: 2.5rem;
}

.list {
  grid-area: list;
}

.options {
  grid-area: options;
}

.graphs {
  grid-area: graphs;
}

@media (min-width: 1024px) {
  .options {
    align-self: start;
    position: sticky;
    top: 1rem;
  }
  .graphs {
    align-self: start;
    position: sticky;
    top: 1rem;
  }
}
@media (min-width: 1280px) {
  .app {
    grid-template-rows: none;
    grid-template-columns: 16rem auto 16rem;
    grid-template-areas: "options list graphs";
  }
}
@media (min-width: 1140px) and (max-width: 1279.999px) {
  .app {
    grid-template-rows: none;
    grid-template-columns: 14rem auto 14rem;
    grid-template-areas: "options list graphs";
    column-gap: 1.5rem !important;
  }
}
@media (min-width: 1024px) and (max-width: 1139.999px) {
  .app {
    grid-template-rows: none;
    grid-template-columns: 12rem auto 12rem;
    grid-template-areas: "options list graphs";
    column-gap: 1.5rem !important;
  }
}
@media (min-width: 768px) and (max-width: 1023.999px) {
  .app {
    grid-template-rows: none;
    grid-template-columns: 16rem auto;
    grid-template-areas: "options list" "graphs list";
    grid-auto-flow: column;
    column-gap: 1.5rem !important;
  }
  .list {
    height: 1px;
  }
}
@media (min-width: 768px) and (max-width: 860px) {
  .app {
    grid-template-columns: 12rem auto;
  }
}
@media (max-width: 767.999px) {
  .app {
    grid-template-columns: none;
    grid-template-rows: auto auto;
    grid-template-areas: "options" "list";
    padding: 0 0.5rem;
    row-gap: 1.5rem;
  }
  .graphs {
    display: none;
  }
}
/* the reasoning for height 1px is to flow elements without specified height
into the first column of the grid - compare the auto and 1px heights of .list:

L {height: auto};   L {height: 1px};
|----|------|       |----|------|
| FF | LLLL |       | FF | LLLL |
| FF | LLLL |       | FF | LLLL |
|    | LLLL |       |----|-LLLL-|
|    | LLLL |       | GG | LLLL |
|    | LLLL |       | GG | LLLL |
|    | LLLL |       |----|-LLLL-|
|    | LLLL |              LLLL 
|----|------|
| GG |      |
| GG |      |
|----|------|

with 1px grid sizes are computed according _only_ to F and G
while L is overflowing (as indicated by -LLLL- going through the grid gap)
the downside is that @sticky does not work properly (as it sticks to 1px height)
but the stickiness is not desireable in this case anyway */

/*# sourceMappingURL=style.css.map */
