:root {
  --color-primary: #006385;
}

body {
  font-family: system-ui, sans-serif;
}

img {
    height: auto;
}

input,
textarea,
select {
  padding: .4em;
  border-radius: 5px;
  border: 1px solid #ccc;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  text-underline-offset: 2px;
}

a:hover {
  color: #70b8ce;
  text-decoration: dotted underline;
}

a:not(:is(:hover, :focus)) {
    text-decoration-color: color-mix(in srgb, currentColor, transparent 75%);
}

button[disabled] {
    opacity: .5;
}

button[disabled]:hover {
    cursor: no-drop;
}

.btn {
  appearance: none;
  border: 0;
  background-color: #ccc;
  background-image: linear-gradient(180deg, #fff9, #fff1);
  box-shadow: 0 1px 3px #0003;
  border-radius: 5px;
  display: inline-block;
  padding: .5em .8em;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--color-primary, #006385);
  text-shadow: 1px 1px 1px #fff9;
  transition: background .2s ease;
  cursor: pointer;
}

.btn:hover,
.btn:focus {
  background-color: #ddd;
}

.btn:active {
  box-shadow: 0 1px 1px #0002;
}

.blue { color: var(--color-primary) }
.bg-blue { background-color: var(--color-primary) }
.b--blue { border-color: var(--color-primary) }
.bg-gradient {
  background-image: linear-gradient(180deg, #ddd, #fff, #ddd);
}

button:where(.reset) {
    appearance: none;
    background-color: transparent;
    border: none;
    padding: 0;
}

.ga1 { gap: .25rem }
.ga2 { gap: .5rem  }
.ga3 { gap: 1rem   }
.ga4 { gap: 2rem   }
.ga5 { gap: 4rem   }
.ga6 { gap: 8rem   }
.ga7 { gap: 16rem  }

.gv1 { row-gap: .25rem}
.gv2 { row-gap: .5rem }
.gv3 { row-gap: 1rem  }
.gv4 { row-gap: 2rem  }
.gv5 { row-gap: 4rem  }
.gv6 { row-gap: 8rem  }
.gv7 { row-gap: 16rem }

.gh1 { column-gap: .25rem}
.gh2 { column-gap: .5rem }
.gh3 { column-gap: 1rem  }
.gh4 { column-gap: 2rem  }
.gh5 { column-gap: 4rem  }
.gh6 { column-gap: 8rem  }
.gh7 { column-gap: 16rem }

#tabs:not(:has(.compatible)) {
    position: relative;
}

#tabs:not(:has(.compatible))::after {
    content: 'No compatible modules found';
    text-align: center;
    width: 100%;
    position: absolute;
}

.pea { pointer-events: auto }
.pen { pointer-events: none }
