.stx-lab {
  width: min(100%, 480px);
  height: 100%;
  min-height: 0;
  min-width: 0;
  margin: auto;
  padding: 9px 11px;
  box-sizing: border-box;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 7px;
  color: #222a45;
  font: 500 13px/1.35 system-ui, -apple-system, "Malgun Gothic", sans-serif;
  letter-spacing: normal;
  text-align: left;
  container-type: inline-size;
}
.stx-lab *, .stx-lab *::before, .stx-lab *::after { box-sizing: border-box; }
.stx-scene {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  padding: 3px;
}
.stx-lab b, .stx-lab strong { font-weight: 750; }
.stx-scene p { margin: 0; }
.stx-lab small { font-size: 10px; }
.stx-controls {
  justify-self: center;
  display: inline-flex;
  max-width: 100%;
  align-items: stretch;
  gap: 2px;
  padding: 2px;
  border: 1px solid #d5d9e7;
  border-radius: 8px;
  background: #f6f7fb;
}
.stx-controls button {
  appearance: none;
  box-shadow: none;
  margin: 0;
  padding: 4px 9px;
  min-height: 26px;
  min-width: 0;
  border: 0;
  border-radius: 5px;
  color: #565e76;
  background: transparent;
  cursor: pointer;
  white-space: normal;
  font: 650 11px/1.15 system-ui, -apple-system, "Malgun Gothic", sans-serif;
  letter-spacing: normal;
}
.stx-controls button:hover { background: #e7eaf3; }
.stx-controls button[aria-pressed=true] { color: #fff; background: #353e6b; }
.stx-lab :focus-visible { outline: 2px solid #464cba; outline-offset: 2px; }
.stx-sheet {
  display: flex;
  flex-flow: column;
  justify-content: center;
  width: min(100%, 255px);
  min-width: 0;
  padding: 11px 14px;
  color: #263047;
  background: #fff;
  border: 1px solid #dce0eb;
  border-radius: 11px;
  box-shadow: 0 3px 9px #25364d0d;
}
.stx-lab .stx-micro { display: flex; flex-flow: column; justify-content: center; gap: 3px; text-align: left; }
.stx-micro small, .stx-elevation small, .stx-glass small { font: 750 8px/1.2 system-ui,sans-serif; letter-spacing: .12em; }
.stx-micro b { font-size: 16px; }
.stx-micro span { color: #4c566c; font-size: 11px; }
.stx-tile {
  display: grid;
  align-content: center;
  min-width: 0;
  padding: 4px 7px;
  overflow: hidden;
  border-radius: 5px;
  background: color-mix(in srgb, var(--ink) 24%, white);
  border-left: 3px solid var(--ink);
  color: #343b53;
  font-size: 11px;
  font-weight: 680;
}
.stx-land {
  --far: #b4bda1;
  --mid: #86a59b;
  --front: #5b827d;
  --dark: #34516c;
  --light: #f4d8a3;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: linear-gradient(155deg,var(--light),var(--far));
}
.stx-land i {
  position: absolute; inset: 14% 18% auto auto; width: 19%; aspect-ratio: 1;
  border-radius: 50%; background: var(--light); box-shadow: 0 0 0 1px #ffffff22;
}
.stx-land::before, .stx-land::after { content: ""; position: absolute; inset: 0; }
.stx-land::before { background: linear-gradient(var(--mid),var(--front)); clip-path: polygon(0 65%,19% 40%,32% 55%,49% 31%,72% 58%,85% 40%,100% 55%,100% 100%,0 100%); }
.stx-land::after { background: linear-gradient(125deg,var(--front),var(--dark)); clip-path: polygon(0 78%,27% 64%,41% 77%,59% 69%,78% 81%,100% 61%,100% 100%,0 100%); }
.stx-colgrid { display: grid; grid-template-columns: repeat(var(--cols), 1fr); grid-template-rows: 74px; gap: 2px; position: relative; }
.stx-colgrid > i { border-inline: 1px solid #969cf156; background: #989feb20; }
.stx-gridlead, .stx-gridside {
  position: absolute; display: flex; align-items: end; bottom: 6px; min-height: 41px;
  padding: 6px; border: 1px solid #5664c693; border-radius: 4px; color: #2f3a78; background: #9eabee9e; font-size: 12px; font-weight: 750;
}
.stx-gridlead { left: 0; width: calc(66.666% - 1px); }
.stx-gridside { right: 0; width: calc(33.333% - 1px); min-height: 29px; color: #4c3551; background: #e5bacebf; border-color: #be8ca2; }
.stx-colgrid[style*="--cols:4"] .stx-gridlead, .stx-colgrid[style*="--cols:8"] .stx-gridlead { width: calc(75% - 1px); }
.stx-colgrid[style*="--cols:4"] .stx-gridside, .stx-colgrid[style*="--cols:8"] .stx-gridside { width: calc(25% - 1px); }
.stx-masonry { columns: var(--columns); column-gap: 5px; }
.stx-masonry .stx-tile { break-inside: avoid; margin-bottom: 4px; }
.stx-bento { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 37px 37px; gap: 5px; }
.stx-bento .stx-tile:first-child { grid-row: 1 / 3; }
.stx-bento .stx-tile strong { font-size: 22px; letter-spacing: -.055em; }
.stx-bento .stx-tile b { font-size: 14px; }
.stx-bento.stx-reverse { grid-template-columns: 1fr 1.15fr; }
.stx-bento.stx-reverse .stx-tile:first-child { grid-column: 2; }
.stx-split { display: grid; min-height: 80px; overflow: hidden; border-radius: 6px; background: #f5ebd7; }
.stx-split .stx-micro { padding: 9px; }
.stx-sidebar { display: grid; grid-template-columns: minmax(64px, .76fr) minmax(0, 1.3fr); min-height: 79px; }
.stx-sidebar.stx-folded { grid-template-columns: 29px 1fr; }
.stx-folder { display: grid; align-content: center; gap: 5px; padding: 6px; border-radius: 5px; background: #e9eaf9; }
.stx-folder div { display: flex; align-items: center; gap: 4px; color: #454e85; font-size: 10px; font-weight: 700; }
.stx-folder i { width: 14px; text-align: center; font-style: normal; }
.stx-folder > div:first-child { color: #2c346b; }
.stx-files { display: grid; align-content: center; gap: 5px; min-width: 0; padding-left: 12px; }
.stx-files span { border-bottom: 1px solid #e4e7ef; color: #515c70; font-size: 10px; }
.stx-log { height: 82px; overflow: auto; overscroll-behavior: contain; scrollbar-width: thin; }
.stx-log section { display: grid; }
.stx-log section > b { position: var(--stick); top: 0; padding: 3px 7px; border-radius: 3px; color: #353e82; background: #e8eafa; font-size: 12px; }
.stx-log section > span { padding: 5px 7px; font-size: 11px; }
.stx-bleed { overflow: hidden; margin: -10px -13px; padding-block: 7px; border-radius: 10px; }
.stx-bleed > b, .stx-bleed > small { display: block; padding-inline: 17px; }
.stx-bleed > b { font-size: 13px; }
.stx-bleed > div { height: 47px; margin-block: 5px; }
.stx-overlap { display: flex; align-items: center; justify-content: center; }
.stx-overlap > .stx-land { flex: 0 1 53%; height: 78px; border-radius: 6px; }
.stx-overlap .stx-micro { position: relative; flex: 0 1 52%; min-width: 0; margin-left: var(--overlap); padding: 8px; border-radius: 4px; background: #fffaec; box-shadow: 0 2px 5px #37384424; }
.stx-frame { width: 100%; margin: auto; overflow: hidden; border: 1px solid #9ca7c0; border-radius: 6px; background: #f8f9fd; }
.stx-frame.stx-narrow { max-width: 103px; }
.stx-framebar { display: flex; align-items: center; gap: 3px; height: 11px; padding-left: 5px; background: #dce0ed; }
.stx-framebar i { width: 3px; height: 3px; border-radius: 50%; background: #7d88a6; }
.stx-adapt { display: grid; grid-template-columns: repeat(var(--n), 1fr); gap: 3px; padding: 5px; }
.stx-adapt .stx-tile { min-height: 49px; }
.stx-narrow .stx-tile { min-height: 0; padding: 1px 5px; }
.stx-space { display: grid; align-content: center; border: 1px dashed #adb3cc; border-radius: 6px; background: #f8f8ff; }
.stx-space span, .stx-space small { font-size: 11px; }
.stx-space small { color: #5d6485; }
.stx-gutter { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); }
.stx-gutter > div { min-height: 65px; align-content: end; }
.stx-query { container-type: inline-size; margin-inline: auto; padding: 6px; border: 1px dashed #aab4ca; border-radius: 6px; }
.stx-profile { display: flex; align-items: center; gap: 9px; padding: 4px; }
.stx-profile > i { display: grid; width: 32px; aspect-ratio: 1; place-items: center; flex-shrink: 0; border-radius: 50%; color: #415777; background: #d7e4ef; font: 750 17px/1 Georgia,serif; }
.stx-profile div { display: grid; gap: 2px; }
.stx-profile small { color: #616a7c; }
@container (max-width: 130px) { .stx-profile { flex-flow: column; gap: 2px; text-align: center; } }
.stx-ratio { height: 77px; max-width: 100%; margin-inline: auto; overflow: hidden; border-radius: 5px; }
.stx-autofit { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,70px),1fr)); margin-inline: auto; gap: 4px; }
.stx-autofit .stx-tile { min-height: 22px; }
.stx-hierarchy { display: grid; gap: 4px; }
.stx-hierarchy > * { font-size: 13px; font-weight: 500; }
.stx-hierarchy.stx-emph > b { font-size: 23px; font-weight: 800; letter-spacing: -.055em; }
.stx-hierarchy.stx-emph > span { font-weight: 650; }
.stx-hierarchy.stx-emph > small { color: #626b80; font-size: 10px; }
.stx-typescale { display: flex; flex-direction: column-reverse; }
.stx-typescale > div { display: flex; align-items: baseline; gap: 8px; line-height: 1.1; }
.stx-typescale > div + div { margin-bottom: 3px; }
.stx-typescale span { font-weight: 750; }
.stx-typescale small, .stx-note, .stx-readout { color: #65718a; font: 600 10px/1.4 system-ui,sans-serif; }
.stx-kerning, .stx-wordmark { color: #353d68; text-align: center; font: 700 clamp(29px,14cqi,39px)/1.3 Georgia,serif; white-space: nowrap; }
.stx-wordmark { font-family: Arial,sans-serif; }
.stx-kerning span { display: inline-block; }
.stx-note { margin-top: 3px; text-align: center; }
.stx-copy { color: #343c50; font: 500 13px/1.55 system-ui,sans-serif; overflow-wrap: break-word; }
.stx-measure { border-right: 1px dashed #8f9cba; padding-right: 4px; }
.stx-align { padding-block: 4px; border-inline: 1px dashed #c6cbdb; }
.stx-editorial { padding-inline: 7px; }
.stx-editorial strong { font-size: 18px; }
.stx-editorial p { margin-top: 5px; color: #535e77; line-height: 1.5; }
.stx-bigtype { padding-block: 11px; text-align: center; font-size: clamp(21px,11cqi,31px); }
.stx-pair b { display: block; color: #344767; font-size: clamp(21px,10cqi,27px); letter-spacing: -.035em; }
.stx-pair p { margin-top: 5px; color: #505b73; font-size: 12px; }
.stx-nums { display: grid; gap: 3px; }
.stx-nums > div { display: flex; align-items: center; justify-content: space-between; padding-inline: 7px; border-bottom: 1px solid #e2e5ec; }
.stx-nums b { font: 700 16px/1.45 Georgia,serif; }
.stx-nums i { display: inline-block; text-align: center; font-style: normal; }
.stx-drop::first-letter { float: left; margin: 2px 4px 0 0; color: #505a9f; font: 750 32px/1 Georgia,serif; }
.stx-wrap { width: min(100%,12em); margin-inline: auto; font-size: 17px; font-weight: 750; line-height: 1.4; text-align: center; word-break: keep-all; }
.stx-swatches { display: flex; width: min(100%, 255px); min-width: 0; overflow: hidden; border: 1px solid #d7dded; border-radius: 8px; background: white; }
.stx-swatch { display: grid; flex: 1; min-width: 0; text-align: center; }
.stx-swatch > i { height: 48px; }
.stx-swatch b { margin-top: 5px; font-size: 11px; }
.stx-swatch small { margin: 1px 0 5px; color: #566076; font: 600 9px/1.4 ui-monospace,monospace; }
.stx-glass, .stx-neu, .stx-elevation, .stx-duotone {
  display: grid; place-items: center; width: min(100%,255px); height: 100%; max-height: 105px; min-height: 78px; overflow: hidden; border-radius: 9px;
}
.stx-glass {
  background: radial-gradient(circle at 30% 63%,#a2a5ec 0 18%,transparent 19%),
    radial-gradient(ellipse at 75% 34%,#f1b09f 0 24%,transparent 25%),linear-gradient(130deg,#e8c7f1,#b6d9f5);
}
.stx-glass > div { display: grid; gap: 2px; width: 65%; padding: 8px 10px; border: 1px solid #fffd; border-radius: 9px; color: #253554; background: #ffffff48; box-shadow: 0 3px 9px #36378222; }
.stx-glass b { font: 700 18px/1.1 Georgia,serif; }
.stx-glass span { font-size: 10px; }
.stx-neu { background: #e2e6ed; }
.stx-neu > div { display: grid; place-content: center; width: 61px; height: 61px; border-radius: 50%; color: #465573; background: #e2e6ed; box-shadow: -5px -5px 10px #ffffff,5px 5px 11px #a4acba; text-align: center; }
.stx-neu > .stx-pressed { box-shadow: inset -4px -4px 7px #fff,inset 4px 4px 7px #a4acba; }
.stx-neu b { font: 750 21px/1.1 Georgia,serif; }
.stx-contrast { display: grid; gap: 3px; text-align: center; }
.stx-contrast b { font-size: 19px; }
.stx-contrast span { font-size: 12px; }
.stx-readout { margin-top: 7px; text-align: center; }
.stx-overlay, .stx-blend { position: relative; isolation: isolate; height: 71px; width: 130px; margin: auto; }
.stx-overlay > i, .stx-blend > i { position: absolute; width: 76px; height: 54px; }
.stx-overlay > i:first-child { top: 2px; left: 6px; border-radius: 8px; background: #e7a867; }
.stx-overlay > i:last-child { bottom: 2px; right: 6px; border-radius: 8px; background: #454b91; }
.stx-blend > i { top: 7px; width: 61px; height: 61px; border-radius: 50%; }
.stx-blend > i:first-child { left: 13px; background: #5dc8cb; }
.stx-blend > i:last-child { right: 13px; background: #f1c25e; }
.stx-gradient { height: 68px; border-radius: 5px; }
.stx-elevation { background: #e4e8f1; }
.stx-elevation > div { display: grid; gap: 3px; width: 65%; padding: 9px 12px; border-radius: 6px; background: white; }
.stx-elevation b { font-size: 14px; }
.stx-icons { display: grid; height: 65px; place-items: center; }
.stx-icons svg { display: block; width: 110px; max-width: 100%; height: auto; color: #455785; }
.stx-radius { align-self: center; margin-block: 10px; padding: 9px 16px; color: #253d70; background: #dce6ff; border: 1px solid #99aed9; font-weight: 700; }
.stx-duotone .stx-land { --far: inherit; --mid: inherit; --front: inherit; --dark: inherit; --light: inherit; }
@container (max-width: 195px) {
  .stx-sheet { padding-inline: 8px; }
  .stx-bleed { margin-inline: -7px; }
  .stx-controls button { padding-inline: 5px; }
  .stx-copy { font-size: 12px; }
}
