/*! tailwindcss v4.1.18 | MIT License | https://tailwindcss.com */
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --color-gray-200: oklch(92.8% .006 264.531);
    --spacing: .25rem;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .block {
    display: block;
  }

  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }

  .py-1 {
    padding-block: calc(var(--spacing) * 1);
  }

  @media (hover: hover) {
    .hover\:bg-gray-200:hover {
      background-color: var(--color-gray-200);
    }
  }
}

:root {
  color-scheme: light dark;
  --code-font: "Fira Code", monospace;
  --bar-height: 1.85rem;
  --theme-bg: Canvas;
  --theme-fg: CanvasText;
  --theme-surface: var(--theme-bg);
  --theme-surface-strong: var(--theme-bg);
  --theme-editor-bg: var(--theme-bg);
  --theme-muted: GrayText;
  --theme-accent: Highlight;
  --theme-accent-strong: Highlight;
  --theme-accent-fg: HighlightText;
  --theme-danger: CanvasText;
  --app-bg: var(--theme-bg);
  --app-surface: var(--theme-surface);
  --app-surface-strong: var(--theme-surface-strong);
  --app-editor-bg: var(--theme-editor-bg);
  --app-fg: var(--theme-fg);
  --app-muted: var(--theme-muted);
  --app-border: transparent;
  --app-accent: var(--theme-accent);
  --app-accent-strong: var(--theme-accent-strong);
  --app-accent-fg: var(--theme-accent-fg);
  --app-danger: var(--theme-danger);
  --app-shadow: none;
}

* {
  box-sizing: border-box;
}

body {
  height: 100dvh;
  min-height: 100dvh;
  font-family: var(--code-font), ui-monospace, SFMono-Regular, Menlo, monospace;
  background: var(--app-bg);
  color: var(--app-fg);
  background-image: none;
  margin: 0;
  overflow: hidden;
}

html, body {
  width: 100%;
  height: 100%;
}

.playground-shell {
  grid-template-rows: var(--bar-height) minmax(0, 1fr) var(--bar-height);
  gap: .25rem;
  width: 100%;
  height: 100dvh;
  min-height: 100dvh;
  padding: .2rem;
  display: grid;
  overflow: hidden;
}

.playground-toolbar, .playground-footer {
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  background: var(--app-surface);
  box-shadow: var(--app-shadow);
  min-height: var(--bar-height);
  height: var(--bar-height);
  border: none;
  border-radius: 0;
}

.playground-toolbar {
  z-index: 50;
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: .3rem;
  min-width: 0;
  padding: 0 .3rem;
  display: flex;
  position: relative;
}

.toolbar-left, .toolbar-right, .footer-group, .footer-link {
  align-items: center;
  gap: .28rem;
  min-width: 0;
  display: inline-flex;
}

.control-select, .verify-button, .theme-button {
  background: var(--app-surface-strong);
  color: var(--app-fg);
  font: inherit;
  border: none;
  border-radius: 0;
}

.control-select {
  appearance: none;
  width: clamp(8.4rem, 24vw, 12.5rem);
  max-width: 100%;
  height: 1.5rem;
  padding: .1rem .35rem;
  font-size: .76rem;
  line-height: 1.15;
}

.verify-button, .theme-button {
  cursor: pointer;
  padding: .12rem .3rem;
  transition: transform .12s, border-color .12s, background .12s;
}

.icon-button {
  justify-content: center;
  align-items: center;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  display: inline-flex;
}

.font-picker {
  background: var(--app-surface-strong);
  border: none;
  align-items: center;
  gap: .22rem;
  min-width: 0;
  height: 1.62rem;
  padding: 0 .22rem;
  display: inline-flex;
}

.font-select {
  color: var(--app-fg);
  font: inherit;
  background: none;
  border: none;
  outline: none;
  min-width: 5.4rem;
  max-width: 8.2rem;
  font-size: .74rem;
}

.verify-button {
  background: linear-gradient(135deg, var(--app-accent), var(--app-accent-strong));
  color: var(--app-accent-fg);
  border-color: #0000;
}

.verify-button:hover, .theme-button:hover {
  transform: translateY(-1px);
}

.theme-button.secondary {
  color: var(--app-muted);
}

.playground-main {
  z-index: 1;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  gap: .45rem;
  width: 100%;
  min-width: 0;
  height: 100%;
  min-height: 0;
  display: grid;
  position: relative;
  overflow: hidden;
}

.editor-pane, .output-pane {
  background: var(--app-editor-bg);
  box-shadow: var(--app-shadow);
  border: none;
  border-radius: 0;
  min-width: 0;
  height: 100%;
  min-height: 0;
}

.editor-pane .monaco-editor, .editor-pane .monaco-editor .margin, .editor-pane .monaco-editor-background, .editor-pane .monaco-editor .monaco-scrollable-element, .output-editor .monaco-editor, .output-editor .monaco-editor .margin, .output-editor .monaco-editor-background, .output-editor .monaco-editor .monaco-scrollable-element {
  background: none !important;
}

.editor-pane {
  overflow: hidden;
}

.output-pane {
  flex-direction: column;
  gap: 0;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.output-editor {
  background: var(--app-editor-bg);
  border: none;
  flex: 1;
  min-width: 0;
  min-height: 0;
}

.output-status {
  color: var(--app-muted);
  z-index: 3;
  pointer-events: none;
  background: var(--app-surface);
  font-size: .72rem;
  position: absolute;
  top: .3rem;
  right: .45rem;
}

@supports (color: color-mix(in lab, red, red)) {
  .output-status {
    background: color-mix(in srgb, var(--app-surface) 88%, transparent);
  }
}

.output-status {
  padding: .1rem .28rem;
}

.output-text, .output-error {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
}

.output-text {
  color: var(--app-fg);
}

.output-error {
  color: var(--app-danger);
}

.playground-footer {
  color: var(--app-muted);
  flex-wrap: nowrap;
  justify-content: space-between;
  align-items: center;
  gap: .6rem;
  min-width: 0;
  padding: 0 .42rem;
  font-size: .82rem;
  display: flex;
  overflow: hidden;
}

.menu-wrap {
  z-index: 60;
  min-width: 0;
  position: relative;
}

.menu-panel {
  border: 1px solid var(--app-fg);
  flex-direction: column;
  min-width: 8rem;
  max-width: min(48vw, 12rem);
  max-height: min(45vh, 14rem);
  display: flex;
  position: absolute;
  top: calc(100% + .18rem);
  right: 0;
  overflow: auto;
}

@supports (color: color-mix(in lab, red, red)) {
  .menu-panel {
    border: 1px solid color-mix(in srgb, var(--app-fg) 12%, transparent);
  }
}

.menu-panel {
  background: var(--app-surface);
}

@supports (color: color-mix(in lab, red, red)) {
  .menu-panel {
    background: color-mix(in srgb, var(--app-surface) 96%, transparent);
  }
}

.menu-panel {
  z-index: 5000;
}

.menu-item {
  border: none;
  border-bottom: 1px solid var(--app-fg);
}

@supports (color: color-mix(in lab, red, red)) {
  .menu-item {
    border-bottom: 1px solid color-mix(in srgb, var(--app-fg) 10%, transparent);
  }
}

.menu-item {
  color: var(--app-fg);
  text-align: left;
  font: inherit;
  cursor: pointer;
  background: none;
  padding: .34rem .45rem;
  font-size: .78rem;
}

.menu-item:last-child {
  border-bottom: none;
}

.menu-item:hover, .menu-item.active {
  background: var(--app-accent);
}

@supports (color: color-mix(in lab, red, red)) {
  .menu-item:hover, .menu-item.active {
    background: color-mix(in srgb, var(--app-accent) 16%, transparent);
  }
}

.footer-link {
  color: inherit;
  text-decoration: none;
}

.footer-link:hover {
  color: var(--app-fg);
}

.icon-stroke {
  stroke-width: 1.9px;
}

@media (min-width: 980px) {
  .playground-main {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  }
}

@media (max-width: 760px) {
  :root {
    --bar-height: 2rem;
  }

  .playground-main {
    grid-template-rows: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-columns: 1fr;
  }

  .editor-pane, .output-pane {
    height: 100%;
    min-height: 0;
  }

  .playground-shell {
    padding: .16rem;
  }

  .control-select {
    width: min(9.5rem, 45vw);
  }

  .toolbar-left, .toolbar-right {
    flex-wrap: nowrap;
    justify-content: flex-start;
    width: auto;
  }

  .font-select {
    max-width: 6.4rem;
  }

  .playground-footer {
    flex-wrap: nowrap;
    gap: .28rem;
    font-size: .8rem;
    overflow: auto hidden;
  }

  .menu-panel {
    min-width: 7rem;
    left: 0;
    right: auto;
  }
}
/* fira-code-latin-400-normal */
@font-face {
  font-family: 'Fira Code';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fira-code-latin-400-normal-DGosTW8U.woff2) format('woff2'), url(/assets/fira-code-latin-400-normal-C-QZfXAs.woff) format('woff');
}/* jetbrains-mono-latin-400-normal */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/jetbrains-mono-latin-400-normal-V6pRDFza.woff2) format('woff2'), url(/assets/jetbrains-mono-latin-400-normal-6-qcROiO.woff) format('woff');
}/* ibm-plex-mono-latin-400-normal */
@font-face {
  font-family: 'IBM Plex Mono';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/ibm-plex-mono-latin-400-normal-DMJ8VG8y.woff2) format('woff2'), url(/assets/ibm-plex-mono-latin-400-normal-CvHOgSBP.woff) format('woff');
}/* iosevka-latin-400-normal */
@font-face {
  font-family: 'Iosevka';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/iosevka-latin-400-normal-7stTb90X.woff2) format('woff2'), url(/assets/iosevka-latin-400-normal-BVqCxfc4.woff) format('woff');
}/* inconsolata-latin-400-normal */
@font-face {
  font-family: 'Inconsolata';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/inconsolata-latin-400-normal-DTZQ6lD6.woff2) format('woff2'), url(/assets/inconsolata-latin-400-normal-HYADljCo.woff) format('woff');
}