* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
}

#container {
  flex: 1;
  min-height: 0;
  display: flex;
  gap: 1rem;
}

#container > div {
  min-height: 0;
  overflow-y: auto;
}

.mk-text-visible-input-wrapper {
  position: relative;
}

.mk-text-visible-input-wrapper::after {
  content: 'Input';
  position: absolute;
  color: #aaa;
  pointer-events: none;
  user-select: none;
  top: 0;
  right: 0;
  font-size: 0.75rem;
  padding: 5px 10px 5px;
  background-color: #fff;
  border-end-start-radius: 5px;
}

.mk-text-visible-display,
.mk-text-visible-input-wrapper {
  border: 1px solid #ccc;
  border-radius: 4px;
  box-shadow: 0 2px 4px #0000001a;
  background-color: --mk-bg, #f5f5f5;
}

.mk-text-visible-input-wrapper:focus-within {
  border-color: #888;
  box-shadow: 0 0 0 2px #00000014;
}
