* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
}

body {
  background: #000;
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
}

.workspace {
  width: 100vw;
  height: 100vh;
  position: relative;
  background: #000;
}

.canvas-shell {
  position: relative;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  background-color: #000;
  background-image: radial-gradient(circle, rgba(112, 105, 191, 0.8) 0 1px, transparent 1px);
  background-size: 39px 39px;
  overflow: hidden;
}

#drill-links {
  display: none;
}

.easter-egg-image {
  pointer-events: none;
}

#board {
  width: 100%;
  height: 100%;
  display: block;
  cursor: grab;
  touch-action: none;
}

#board:active {
  cursor: grabbing;
}

.coordinate-readout {
  position: absolute;
  left: 8px;
  bottom: 6px;
  z-index: 20;
  min-width: 122px;
  padding: 8px 9px;
  border-radius: 4px;
  background: #1f2940;
  color: #e8eef7;
  font-size: 16px;
  pointer-events: none;
}

.line {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.poly {
  stroke: none;
  opacity: 0.82;
}

.pad {
  stroke: #fff56c;
  stroke-width: 0.07;
}

.via {
  fill: #1e2240;
  stroke: #ffdf26;
  stroke-width: 0.11;
}

.drill {
  fill: #000;
}

.drill-link,
.drill-link * {
  cursor: pointer;
}

.drill-hit-area {
  fill: transparent;
  stroke: transparent;
  pointer-events: all;
}

.drill-link:hover .via,
.drill-link:hover .pad {
  filter: drop-shadow(0 0 0.7px #fff56c);
}

.portfolio-drill .via,
.portfolio-drill .pad {
  filter: drop-shadow(0 0 0.55px #fff56c);
}

.portfolio-label rect {
  fill: rgba(8, 10, 18, 0.96);
  stroke: #ff3b3b;
  stroke-width: 0.15;
  filter: drop-shadow(0 0 0.9px #ff3b3b);
}

.portfolio-label-link,
.portfolio-label-link * {
  cursor: pointer;
}

.portfolio-label-link {
  outline: none;
}

.portfolio-label-link:focus .portfolio-label rect,
.portfolio-label-link:focus-visible .portfolio-label rect {
  stroke: #ff3b3b;
  filter: drop-shadow(0 0 1.1px #ff3b3b);
}

.portfolio-label text {
  fill: #ffe45c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.45px;
  font-weight: 700;
  dominant-baseline: middle;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #000000;
  stroke-width: 0.28px;
}

.micro-antenna-outline {
  fill: rgba(0, 0, 0, 0.36);
  stroke: #1290a2;
  stroke-width: 0.16px;
}

.micro-antenna-trace {
  fill: none;
  stroke: #a80000;
  stroke-width: 1.05px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.micro-antenna-pad {
  fill: #1e2240;
  stroke: #ffdf26;
  stroke-width: 0.18px;
}

.micro-antenna-drill {
  fill: #000;
}

.micro-antenna-label {
  fill: #1eb6c9;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1.55px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
  paint-order: stroke;
  stroke: #000;
  stroke-width: 0.16px;
}

.text {
  font-family: Arial, Helvetica, sans-serif;
  dominant-baseline: middle;
  text-anchor: middle;
  paint-order: stroke;
  stroke: #000;
  stroke-width: 0.18px;
}

.sheet {
  fill: none;
  stroke: #1290a2;
  stroke-width: 0.095;
}

.sheet-title {
  fill: none;
  stroke: #1290a2;
  stroke-width: 0.075;
}

.sheet-thin {
  fill: none;
  stroke: #1290a2;
  stroke-width: 0.045;
}

.sheet-text {
  fill: #1eb6c9;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1.05px;
}

.ruler-text {
  fill: #1eb6c9;
  font-family: "Consolas", "Courier New", monospace;
  font-size: 1.08px;
  font-weight: 700;
  text-anchor: middle;
  dominant-baseline: middle;
}

.hidden-layer {
  display: none;
}
