* {
  box-sizing: border-box;
  min-width: 0;
}
body {
  margin: 0;
  background: #fff;
  color: var(--p);
  font: 15px/1.4 var(--ui-font);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button {
  font: inherit;
  color: inherit;
}
.ms {
  font-family: 'Material Symbols Rounded';
  font-weight: 400;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: 'liga';
  font-variation-settings:
    'FILL' 1,
    'GRAD' 0,
    'opsz' 24;
  display: inline-block;
  user-select: none;
  flex: none;
}
.app {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, var(--panel-width));
}
.left {
  padding: 20px clamp(16px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.right {
  background: var(--pl);
  padding: 18px 18px 120px;
}
@media (min-width: 861px) {
  html,
  body {
    height: 100%;
    overflow: hidden;
  }
  .app {
    height: 100vh;
  }
  .left {
    height: 100vh;
    overflow: hidden;
  }
  .right {
    height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
@media (max-width: 860px) {
  .app {
    grid-template-columns: minmax(0, 1fr);
  }
}
:focus-visible {
  outline: 3px solid var(--pd);
  outline-offset: 2px;
}
@keyframes flash {
  0%,
  100% {
    box-shadow: 0 0 0 0 #ff2bd600;
  }
  25%,
  75% {
    box-shadow: 0 0 0 5px #ff2bd6;
  }
  50% {
    box-shadow: 0 0 0 2px #ff2bd6;
  }
}
.flash {
  animation: flash 1.2s ease-in-out;
}
.warn {
  display: none;
  align-items: center;
  gap: 8px;
  color: var(--pd);
  background: #fdc22040;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 14px;
  align-self: center;
}
.warn.on {
  display: flex;
}
.vh {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
