/* visual-development-toolkit: product styles; shared workspace behavior is versioned separately. */
* {
  box-sizing: border-box;
}
html {
  color-scheme: light;
  font-family: Arial, Helvetica, sans-serif;
}
body {
  margin: 0;
  background: #fafaf8;
  color: #151515;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.45;
}
a {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #3b46ff;
  outline-offset: 4px;
}
button {
  border: 0;
  background: none;
  padding: 0;
}
button[aria-pressed="true"] {
  text-decoration: underline;
  text-underline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
button,
a {
  touch-action: manipulation;
}
.skip {
  position: fixed;
  top: -80px;
  left: 15px;
  z-index: 100;
  padding: 12px;
  background: white;
  color: black;
}
.skip:focus {
  top: 12px;
}
.mono {
  font-family: Consolas, "Courier New", monospace;
}
.lang {
  display: flex;
  gap: 10px;
  font-size: 11px;
  align-items: center;
}
.lang button {
  min-width: 25px;
  min-height: 28px;
}
.text-button {
  font-size: 12px;
  min-height: 36px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.solid {
  padding: 13px 20px;
  background: #171717;
  color: #fff;
  font-size: 12px;
  border: 1px solid #171717;
}
.solid:hover {
  background: #373737;
}
.solid:focus-visible {
  outline-offset: 3px;
}
#notice {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 40;
  background: #141414;
  color: white;
  font-size: 13px;
  padding: 0;
  max-width: calc(100vw - 40px);
}
#notice:not(:empty) {
  padding: 14px 20px;
  box-shadow: 0 3px 20px #0003;
}
dialog {
  border: 1px solid #202020;
  padding: 0;
  max-width: min(1050px, 94vw);
  width: 100%;
  max-height: 90vh;
  background: #fafaf8;
  color: #111;
}
dialog::backdrop {
  background: #000a;
}
dialog .dialog-head {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #999;
  gap: 20px;
}
dialog .dialog-head button {
  padding: 8px 12px;
  border: 1px solid #777;
}
dialog .dialog-body {
  padding: 26px;
  font:
    16px/1.6 Georgia,
    serif;
  max-height: 70vh;
  overflow: auto;
}
dialog pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font:
    13px/1.6 Consolas,
    monospace;
}
dialog iframe {
  width: 100%;
  height: 60vh;
  border: 0;
  background: white;
}
dialog img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: auto;
}
dialog h2 {
  font:
    27px/1.15 Georgia,
    serif;
  margin-bottom: 18px;
}
.empty {
  padding: 50px 20px;
  font:
    22px Georgia,
    serif;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
