@font-face {
  font-family: ddt-400;
  src: url("https://use.typekit.net/af/a29651/00000000000000007735e473/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff2"), url("https://use.typekit.net/af/a29651/00000000000000007735e473/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("woff"), url("https://use.typekit.net/af/a29651/00000000000000007735e473/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n4&v=3") format("opentype");
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}
@font-face {
  font-family: ddt-700;
  src: url("https://use.typekit.net/af/863317/00000000000000007735e479/30/l?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff2"), url("https://use.typekit.net/af/863317/00000000000000007735e479/30/d?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("woff"), url("https://use.typekit.net/af/863317/00000000000000007735e479/30/a?primer=7cdcb44be4a7db8877ffa5c0007b8dd865b3bbc383831fe2ea177f62257a9191&fvd=n7&v=3") format("opentype");
  font-style: normal;
  font-stretch: normal;
  font-display: swap;
}
:root {
  --navy: #002855;
  --blue: #0067b9;
  --white: #ffffff;
  --black: #0a0a0c;
  --grey: #63666a;
  --grey-line: #2a2d33;
  --surface: #14161a;
  --surface-2: #1c1e24;
  --mono: "JetBrains Mono", "SF Mono", Consolas, monospace;
  --sans: ddt-700, Arial;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html,
body {
  height: 100%;
  font-family: Arial, sans-serif;
}
body {
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden;
}
footer {
  font-family: ddt-700;
  color: #ffffff;
  background-color: #002855;
  text-align: center;
  font-size: 14px;
  flex: 0 0 auto;
  padding: 5px;
}
header {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 100%;
  background: #282828;
  gap: 5px;
}
main {
  flex: 1 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
}
nav.menu-horizontal {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  height: 100%;
}
nav.menu-vertical {
  display: flex;
  align-items: center;
  flex-direction: column;
}
#cattron_logo {
  height: 38px;
  margin: 10px;
  color: #f9f9f9;
}
#splash_logo {
  background-color: #002855;
  padding: 20px;
  position: relative;
  display: block;
  height: 138px;
  object-fit: contain;
}
#topMenu {
  margin-left: 20px;
  align-items: center;
  gap: 10px;
}
.canvas {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  overflow: hidden;
  width: 100%;
  padding-left: 12px;
  padding-right: 12px;
}
.logo {
  width: auto;
  padding: 0;
}
.main-left {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: hidden;
  background: radial-gradient(circle farthest-side at center center, #ffffff 0%, #b0b0b0 100%);
}
.main-right {
  flex: 0 0 25%;
  min-height: 0;
  overflow-y: auto;
  color: lime;
  background-color: #63666a;
  background-color: #b0b0b0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
.sidepanel-main:empty {
  display: none;
}
.menu-action {
  display: block;
  width: 100%;
  text-align: left;
  padding: 8px 10px;
  border: none;
  background: none;
  color: #f9f9f9;
  font-size: 14px;
  cursor: pointer;
  border-radius: 4px;
  font-family: ddt-400;
}
.menu-action:hover {
  background-color: #002855;
}
.menu-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: #252526;
  border-radius: 0 0 6px 6px;
  padding: 6px;
  max-height: 70vh;
  overflow-y: auto;
  transition: box-shadow 0.64s;
  visibility: hidden;
  z-index: 10;
}
.menu-item {
  height: 100%;
  position: relative;
}
.menu-item.open .menu-dropdown {
  visibility: visible;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.42);
}
.menu-item.open .menu-trigger {
  border-bottom-color: var(--blue);
  background: rgba(255, 255, 255, 0.08);
}
.menu-item.open .chev {
  transform: rotateX(180deg);
  opacity: 1;
  padding-bottom: 4px;
}
.menu-sep {
  height: 1px;
  background-color: #f9f9f9;
  margin: 5px 4px;
}
.menu-sub {
  color: #f9f9f9;
  filter: brightness(64%);
  cursor: default;
}
.menu-trigger {
  background: none;
  border: none;
  color: #f9f9f9;
  padding: 0 10px 0 10px;
  font-size: 14px;
  height: 100%;
  cursor: pointer;
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: space-between;
  gap: 6px;
  width: 100%;
  font-family: ddt-700;
}
.menu-trigger .chev {
  font-size: 24px;
  opacity: 0.42;
  padding-bottom: 0px;
  transition: transform 0.42s, opacity 0.42s, padding-bottom 0.42s;
}
.menu-trigger:hover {
  background-color: #002855;
}
.menu-trigger:hover .chev {
  opacity: 1;
}
.menu-trigger[data-state=disabled] {
  opacity: 0.35;
  cursor: not-allowed;
}
.panel-left,
.panel-right {
  position: absolute;
  top: 0;
  height: 100%;
  z-index: 2;
  width: 25%;
  background-color: yellow;
  visibility: hidden;
}
.panel-left {
  left: 0;
}
.panel-right {
  right: 0;
}
.progressBar {
  width: 100%;
  height: 6px;
  background-color: #63666a;
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 2px;
}
.status {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-left: auto;
  margin-right: 10px;
  padding: 1px 5px 1px 5px;
  border-top: 1px black solid;
  border-left: 1px black solid;
  border-right: 1px white solid;
  border-bottom: 1px white solid;
}
.status.err {
  background-color: maroon;
}
.status.ok {
  background-color: darkgreen;
}
.panel-bottom,
.panel-top {
  flex: 1 1 24px;
  min-height: 24px;
  width: 100%;
  color: white;
  background-color: transparent;
}
.panel-main {
  flex: 99 1 auto;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.wrapper {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.spinner {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}
.spinner-ring {
  width: 48px;
  height: 48px;
  border: 5px solid #0067b9;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.image-OCU {
  display: block;
  width: auto;
  height: 100%;
  object-fit: contain;
}
.label {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
  font-family: Arial Narrow;
  font-weight: bold;
  text-align: center;
  user-select: none;
}
.label.Remtron {
  cursor: pointer;
}
.vertical-lr-upright {
  writing-mode: vertical-lr;
  text-orientation: upright;
}
.horizontal {
  writing-mode: horizontal-tb;
  text-orientation: upright;
}
.sidepanel-main {
  margin: 10px;
  padding: 10px;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  overflow: auto;
  border: 2px solid #0067b9;
  border-radius: 12px;
  background-color: rgba(0, 0, 0, 0.32);
}
@keyframes wrapperFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
.wrapperFade-in {
  animation-name: wrapperFade;
  animation-duration: 0.42s;
  animation-delay: 0.32s;
  animation-fill-mode: both;
  pointer-events: auto;
}
.wrapperFade-out {
  animation-name: wrapperFade;
  animation-duration: 0.32s;
  animation-direction: reverse;
  animation-fill-mode: both;
  pointer-events: none;
}
/* ---------- Modal wrapper & blocking ---------- */
body.modal-blocking > *:not(.wrapper.modal) {
  pointer-events: none;
}
.wrapper.modal {
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
/* ---------- Modal box ---------- */
.modal-main {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(256px, 512px) auto;
  grid-template-rows: auto auto auto auto;
  grid-template-areas: "icon . close" "icon title ." "icon msg ." "bar bar bar";
  background-color: #282828;
  cursor: default;
  border-radius: 8px 0px 0px 8px;
  color: #ffffff;
  border-left: 8px solid #63666a;
  box-shadow: 12px 12px 6px rgba(0, 0, 0, 0.32);
  padding: 0px;
}
.modal-icon {
  grid-area: icon;
  font-size: 28px;
  justify-self: center;
  align-self: center;
  padding: 0px 12px 0px 12px;
}
.modal-title {
  grid-area: title;
  font-weight: bold;
  font-size: 18px;
  margin-bottom: 8px;
}
.modal-message {
  grid-area: msg;
  color: #f9f9f9;
  margin-bottom: 16px;
  line-height: 1.4;
  padding-bottom: 12px;
}
.modal-close {
  grid-area: close;
  padding: 0px 0px 0 0;
  cursor: pointer;
  font-size: 18px;
  margin: 2px 6px 0 0;
}
.modal-close:hover {
  color: #0067b9;
}
/* ---------- Timeout bar ---------- */
.modal-progress {
  grid-area: bar;
  height: 6px;
  background: #0067b9;
  width: 100%;
  transition: width 5s linear;
}
.modal-progress--running {
  width: 0%;
}
/* ---------- Category accents ---------- */
.modal-user {
  border-left-color: #0067b9;
}
.modal-json {
  border-left-color: #d99a00;
}
.modal-code {
  border-left-color: #b3261e;
}
