.ko-studio {
  --ko-ink: var(--paint-black);
  --ko-peach: var(--paint-paper);
  --ko-accent: var(--paint-coral);
  color: var(--ko-ink);
  background: var(--paint-surface);
  border: 1px solid var(--paint-coral-soft);
  border-radius: 24px;
  padding: 28px;
  overflow: hidden;
}
.ko-studio * {
  box-sizing: border-box;
}
.ko-studio [hidden] {
  display: none !important;
}
.ko-studio-heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
}
.ko-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.19em;
  color: var(--paint-coral);
}
.ko-studio h2 {
  font-size: clamp(27px, 4vw, 46px);
  letter-spacing: -0.055em;
  margin: 8px 0;
  line-height: 1.1;
}
.ko-studio h2 > span {
  display: inline-block;
  color: var(--ko-accent);
  padding-left: 12px;
}
.ko-studio-heading p {
  font-size: 14px;
  color: var(--paint-muted);
  margin: 0;
}
.ko-seal {
  flex: none;
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  width: 98px;
  height: 98px;
  border: 1px dashed var(--paint-coral);
  border-radius: 50%;
  transform: rotate(8deg);
  color: var(--paint-coral);
  background: var(--paint-coral-soft);
}
.ko-seal b {
  font-size: 39px;
  font-family: Georgia, serif;
}
.ko-seal span {
  font-size: 9px;
  font-weight: 800;
  line-height: 1.5;
}
.ko-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 26px 0 16px;
  flex-wrap: wrap;
}
.ko-theme {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 750;
  color: var(--paint-muted);
}
.ko-view-toggle {
  display: flex;
  padding: 4px;
  border-radius: 10px;
  background: var(--paint-wash);
  gap: 4px;
}
.ko-view-toggle button {
  border: 0;
  background: transparent;
  border-radius: 7px;
  padding: 9px 11px;
  color: var(--paint-muted);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
}
.ko-view-toggle button[aria-pressed='true'] {
  background: var(--paint-white);
  color: var(--paint-black);
  box-shadow: 0 2px 8px color-mix(in srgb, var(--paint-black) 7.06%, transparent);
}
.ko-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.ko-art {
  min-width: 0;
  margin: 0;
  background: var(--paint-white);
  padding: 10px 10px 12px;
  border: 1px solid var(--paint-coral-soft);
  box-shadow: 0 8px 18px color-mix(in srgb, var(--paint-black) 6.27%, transparent);
  border-radius: 4px;
}
.ko-art figcaption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  padding: 4px 3px 12px;
}
.ko-art figcaption span:last-child {
  font-size: 8px;
  letter-spacing: 0.07em;
  color: var(--paint-violet);
}
.ko-enlarge {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  cursor: zoom-in;
  aspect-ratio: 1;
  overflow: hidden;
}
.ko-enlarge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--paint-paper);
}
.ko-zoom {
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: color-mix(in srgb, var(--paint-white) 87.45%, transparent);
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 19px;
  color: var(--paint-black);
}
.ko-blank {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, var(--paint-coral-soft), transparent 64%),
    var(--paint-paper);
  text-align: center;
  padding: 20px;
  border: 1px dashed var(--paint-line);
}
.ko-blank strong {
  font-family: Georgia, serif;
  font-size: clamp(15px, 2.2vw, 23px);
  font-weight: 400;
}
.ko-blank p {
  max-width: 230px;
  font-size: 12px;
  line-height: 1.6;
  color: var(--paint-violet);
}
.ko-orbits {
  position: relative;
  width: 100px;
  height: 92px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
}
.ko-orbits b {
  font-size: 45px;
  font-weight: 400;
  color: var(--paint-coral);
}
.ko-orbits i {
  position: absolute;
  border: 1px solid var(--paint-sand);
  width: 90px;
  height: 55px;
  border-radius: 50%;
  transform: rotate(35deg);
}
.ko-orbits i:nth-child(2) {
  transform: rotate(-35deg);
}
.ko-observe {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  padding: 24px 0 6px;
  color: var(--paint-coral);
  font-size: 11px;
}
.ko-observe b {
  color: var(--paint-muted);
  margin-left: 6px;
  font-weight: 500;
}
.ko-verdict {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  border-top: 1px solid var(--paint-coral-soft);
  margin-top: 28px;
  padding-top: 24px;
}
.ko-total > span {
  font-size: 9px;
  letter-spacing: 0.15em;
  font-weight: 800;
  color: var(--paint-violet);
}
.ko-total strong {
  display: block;
  font-size: 55px;
  line-height: 1.15;
  letter-spacing: -0.07em;
  color: var(--paint-coral);
}
.ko-total small {
  font-size: 19px;
  letter-spacing: -0.02em;
  color: var(--muted);
  padding-left: 4px;
}
.ko-total p {
  font-size: 10px;
  color: var(--paint-violet);
}
.ko-components {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px 24px;
  align-content: center;
}
.ko-component > div:first-child {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 11px;
  margin-bottom: 8px;
}
.ko-component b {
  color: var(--paint-coral);
}
.ko-component meter {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.ko-bar {
  height: 5px;
  background: var(--paint-coral-soft);
  border-radius: 8px;
  overflow: hidden;
}
.ko-bar i {
  display: block;
  height: 100%;
  background: var(--paint-amber);
  border-radius: 8px;
}
.ko-feedback {
  display: flex;
  gap: 14px;
  background: var(--paint-wash);
  border-radius: 12px;
  padding: 18px;
  margin-top: 24px;
}
.ko-feedback > span {
  color: var(--paint-coral);
  font-size: 25px;
}
.ko-feedback h3 {
  margin: 0 0 5px;
  font-size: 12px;
}
.ko-feedback p {
  margin: 0;
  font-size: 13px;
  line-height: 1.65;
  color: var(--paint-muted);
}
.ko-fineprint {
  font-size: 10px;
  text-align: center;
  color: var(--paint-violet);
  margin: 20px 0 0;
  line-height: 1.6;
}
.ko-wipe-wrap {
  max-width: 680px;
  margin: auto;
}
.ko-wipe {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 4px;
  background: var(--paint-coral-soft);
}
.ko-wipe > img,
.ko-wipe-overlay,
.ko-wipe-overlay img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.ko-wipe-overlay {
  clip-path: inset(0 50% 0 0);
}
.ko-wipe-line {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--paint-white);
  box-shadow: 0 0 10px color-mix(in srgb, var(--paint-night-deep) 33.33%, transparent);
  pointer-events: none;
}
.ko-wipe-line span {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(-50%, -50%);
  background: var(--paint-white);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  color: var(--paint-coral);
}
.ko-wipe-label {
  position: absolute;
  top: 14px;
  background: color-mix(in srgb, var(--paint-white) 86.67%, transparent);
  padding: 7px 10px;
  border-radius: 5px;
  font-size: 9px;
  letter-spacing: 0.09em;
}
.ko-label-left {
  left: 14px;
}
.ko-label-right {
  right: 14px;
}
.ko-slider-label {
  display: block;
  text-align: center;
  font-size: 11px;
  color: var(--paint-muted);
  margin-top: 14px;
}
.ko-slider-label input {
  display: block;
  width: 100%;
  accent-color: var(--paint-coral);
  margin: 8px 0;
  min-height: 32px;
}
.ko-lightbox {
  max-width: min(94vw, 900px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  background: var(--paint-black);
  border-radius: 12px;
  overflow: hidden;
}
.ko-lightbox::backdrop {
  background: color-mix(in srgb, var(--paint-night-deep) 90.98%, transparent);
}
.ko-lightbox img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
}
.ko-lightbox button {
  position: absolute;
  right: 12px;
  top: 12px;
  border: 0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: var(--paint-white);
  color: var(--paint-black);
  font-size: 24px;
  cursor: pointer;
  z-index: 1;
}
.ko-studio button:focus-visible,
.ko-studio input:focus-visible,
.ko-lightbox button:focus-visible {
  outline: 3px solid var(--paint-teal);
  outline-offset: 3px;
}
@media (max-width: 600px) {
  .ko-studio {
    padding: 17px 13px;
    border-radius: 18px;
  }
  .ko-seal {
    width: 67px;
    height: 67px;
  }
  .ko-seal b {
    font-size: 27px;
  }
  .ko-seal span {
    font-size: 7px;
  }
  .ko-studio-heading p {
    font-size: 12px;
  }
  .ko-pair {
    gap: 10px;
  }
  .ko-art {
    padding: 6px;
  }
  .ko-art figcaption {
    font-size: 10px;
    padding: 3px 1px 7px;
  }
  .ko-art figcaption span:last-child {
    display: none;
  }
  .ko-blank {
    padding: 10px;
  }
  .ko-blank p {
    font-size: 10px;
    line-height: 1.4;
  }
  .ko-orbits {
    width: 60px;
    height: 54px;
    margin-bottom: 8px;
  }
  .ko-orbits i {
    width: 55px;
    height: 34px;
  }
  .ko-orbits b {
    font-size: 30px;
  }
  .ko-observe {
    gap: 8px;
    font-size: 9px;
  }
  .ko-observe b {
    display: block;
    margin: 5px 0 0;
  }
  .ko-verdict {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .ko-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  .ko-total strong {
    font-size: 42px;
  }
  .ko-total p {
    width: 100%;
    margin: 0;
  }
  .ko-components {
    gap: 14px;
  }
  .ko-feedback {
    padding: 13px;
  }
  .ko-view-toggle {
    width: 100%;
  }
  .ko-view-toggle button {
    flex: 1;
    min-height: 40px;
  }
}
.ko-description {
  margin-top: 24px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface-soft);
  overflow-wrap: anywhere;
}
.ko-description h3 {
  font-size: 14px;
  margin: 12px 0;
}
.ko-description blockquote {
  margin: 0;
  padding-left: 12px;
  border-left: 3px solid var(--accent);
  font-size: 12px;
  color: var(--muted);
}
.ko-description p {
  font-size: 13px;
  line-height: 1.65;
  white-space: pre-wrap;
}
.ko-description li {
  margin: 16px 0;
}
.ko-description ol {
  padding-left: 20px;
}
.ko-generated-prompt {
  background: var(--surface);
  padding: 14px;
  border-radius: 8px;
}
.ko-view-toggle button,
.ko-lightbox button {
  min-height: 44px;
}
@media (max-width: 600px) {
  .ko-pair {
    grid-template-columns: 1fr;
  }
  .ko-description {
    padding: 12px;
  }
}

/* Artwork and feedback lead; recorded execution stays available on request. */
.ko-description summary {
  font-size: 13px;
  font-weight: 650;
  color: var(--text);
  cursor: pointer;
  min-height: 28px;
  display: list-item;
}
.ko-description summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}
.ko-description[open] summary {
  margin-bottom: 14px;
}
.ko-description {
  margin-top: 18px;
  padding: 13px 16px;
}
.ko-studio-heading h2 {
  font-size: clamp(24px, 3vw, 34px);
}
.ko-studio-heading p {
  font-size: 13px;
}
.ko-feedback {
  margin-top: 16px;
}
.ko-fineprint {
  font-size: 11px;
  max-width: 48em;
  margin: 16px auto 0;
}
.ko-view-toggle button {
  min-height: 44px;
}
@media (max-width: 600px) {
  .ko-pair {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
  .ko-art figcaption {
    font-size: 10px;
    overflow-wrap: anywhere;
  }
  .ko-studio {
    padding: 14px 10px;
  }
  .ko-seal {
    display: none;
  }
  .ko-toolbar {
    margin: 16px 0 12px;
  }
  .ko-feedback p {
    font-size: 12px;
  }
  .ko-description {
    padding: 12px;
  }
  .ko-total strong {
    font-size: 36px;
  }
  .ko-verdict {
    margin-top: 18px;
    padding-top: 16px;
  }
}
