.tl-space-study {
  --study-ink: var(--tl-ink, #25362b);
  --study-accent: var(--tl-brand, #285a43);
  --study-paper: var(--tl-paper, #fffdf8);
  --study-ground: color-mix(in srgb, var(--study-paper), var(--study-accent) 6%);
  --study-lines: color-mix(in srgb, var(--study-paper), var(--study-accent) 22%);
  display: grid;
  gap: 1rem;
  min-width: 0;
  align-content: start;
}
.tl-content .tl-space-study .space-study__intro h3 {
  font-size: clamp(1.25rem, 2.3vw, 1.65rem);
  margin-block-end: .35rem;
}
.tl-space-study .space-study__intro p {
  max-inline-size: 44ch;
  font-size: .9375rem;
}
.tl-space-study .space-study__control {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: .65rem;
  min-height: 44px;
  color: inherit;
  cursor: pointer;
  font-size: .875rem;
  font-weight: 650;
  line-height: 1.4;
}
.tl-space-study .space-study__control input {
  appearance: none;
  display: grid;
  place-items: center start;
  flex: 0 0 2.5rem;
  inline-size: 2.5rem;
  block-size: 1.38rem;
  margin: 0;
  padding-inline: .14rem;
  border: 1px solid var(--study-accent);
  border-radius: 1rem;
  background: var(--study-paper);
  accent-color: var(--study-accent);
  cursor: pointer;
}
.tl-space-study .space-study__control input::before {
  content: "";
  inline-size: .96rem;
  block-size: .96rem;
  border-radius: 50%;
  background: var(--study-accent);
}
.tl-space-study .space-study__control input:checked {
  background: var(--study-accent);
}
.tl-space-study .space-study__control input:checked::before {
  background: var(--study-paper);
  transform: translateX(1.1rem);
}
@media (forced-colors: active) {
  .tl-space-study .space-study__control input {
    appearance: auto;
    flex-basis: 1.2rem;
    inline-size: 1.2rem;
    block-size: 1.2rem;
  }
  .tl-space-study .space-study__control input::before { display: none; }
}
.tl-space-study .space-study__drawing {
  padding: clamp(.75rem, 2.5vw, 1.2rem);
  overflow: clip;
  border: 1px solid var(--study-lines);
  border-radius: 14px;
  color: var(--study-ink);
  background: var(--study-ground);
}
.tl-space-study .space-study__stage {
  display: block;
  font-size: .875rem;
  font-weight: 700;
}
.tl-space-study .space-study__plan {
  display: block;
  width: 100%;
  height: auto;
}
.tl-space-study .space-study__cabinet {
  fill: none;
  stroke: var(--study-accent);
  stroke-width: 2;
}
.tl-space-study .space-study__cabinet-floor {
  fill: var(--study-paper);
}
.tl-space-study .space-study__guide {
  fill: none;
  stroke: var(--study-lines);
  stroke-width: 1;
  stroke-dasharray: 2 5;
}
.tl-space-study .space-study__plumbing,
.tl-space-study .space-study__marker--plumbing {
  fill: color-mix(in srgb, var(--study-paper), var(--tl-accent, #8a4b32) 16%);
  background: color-mix(in srgb, var(--study-paper), var(--tl-accent, #8a4b32) 16%);
  stroke: var(--tl-accent, #8a4b32);
  border-color: var(--tl-accent, #8a4b32);
  stroke-width: 1.6;
}
.tl-space-study .space-study__pipe {
  fill: none;
  stroke: var(--tl-accent, #8a4b32);
  stroke-width: 3.3;
  stroke-linecap: round;
}
.tl-space-study .space-study__threshold {
  fill: none;
  stroke: var(--study-accent);
  stroke-width: 1;
  stroke-dasharray: 3 5;
}
.tl-space-study .space-study__supply {
  fill: var(--study-lines);
  stroke: var(--study-accent);
  stroke-width: 1.4;
}
.tl-space-study .space-study__footprint,
.tl-space-study .space-study__marker--footprint {
  fill: color-mix(in srgb, var(--study-paper), var(--study-accent) 12%);
  background: color-mix(in srgb, var(--study-paper), var(--study-accent) 12%);
  stroke: var(--study-accent);
  border-color: var(--study-accent);
  stroke-width: 2;
  stroke-dasharray: 5 3;
}
.tl-space-study .space-study__measure {
  fill: none;
  stroke: var(--study-accent);
  stroke-width: 1.5;
}
.tl-space-study .space-study__key {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .85rem;
  padding: 0;
  margin: 0;
  list-style: none;
  font-size: .8125rem;
  line-height: 1.4;
}
.tl-space-study .space-study__marker {
  display: inline-block;
  width: .7rem;
  height: .7rem;
  margin-inline-end: .35rem;
  border-width: 1px;
  border-style: solid;
  border-radius: 2px;
}
.tl-space-study .space-study__marker--footprint {
  border-style: dashed;
}
.tl-space-study .space-study__details {
  display: block;
  font-weight: 650;
  margin-block-end: .18rem;
}
.tl-space-study .space-study__after {
  display: none;
}
.tl-space-study :is(.layout-study[data-organized="true"], .space-study__control:has(input:checked) + .layout-study) .space-study__before {
  display: none;
}
.tl-space-study :is(.layout-study[data-organized="true"], .space-study__control:has(input:checked) + .layout-study) .space-study__after {
  display: revert;
}
@media (prefers-reduced-motion: no-preference) {
  .tl-space-study .space-study__control input { transition: background-color .18s ease-out; }
  .tl-space-study .space-study__control input::before { transition: transform .18s ease-out; }
  .tl-space-study .space-study__plan g {
    animation: space-study-reveal .22s cubic-bezier(.2, .75, .25, 1) both;
  }
}
@keyframes space-study-reveal {
  from { opacity: .35; }
  to { opacity: 1; }
}
.tl-space-study .space-study__announcement {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
