:root {
  font-family: Arial, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: #283e30;
  background: #f6f5ef;
  font-synthesis: none;
  color-scheme: light;
  --line: #dedfd4;
  --green: #31563e;
  --muted: #89907d;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  word-break: keep-all;
  overflow-wrap: break-word;
}
button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 3px solid #a28644;
  outline-offset: 4px;
}
img {
  display: block;
  max-width: 100%;
}
.page {
  max-width: 1760px;
  margin: auto;
  padding: 0 42px;
}
.masthead {
  height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.wordmark {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.wordmark > span:last-child {
  font-weight: 400;
  color: var(--muted);
}
.blocks {
  font-size: 28px;
  line-height: 1;
  color: #6e8357;
}
.header-right {
  display: flex;
  gap: 22px;
  align-items: center;
  font-size: 11px;
  color: #808976;
}
.status {
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 30px;
  padding: 8px 11px;
  font-size: 9px;
  letter-spacing: 0.65px;
  white-space: nowrap;
}
.status i {
  background: #70984e;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 38px 0 30px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: #839174;
  margin: 0 0 12px;
}
h1 {
  font-size: clamp(27px, 3.3vw, 44px);
  letter-spacing: -2px;
  margin: 0 0 14px;
  line-height: 1.25;
}
.intro > div > p:last-child {
  font-size: 12px;
  color: #818776;
  line-height: 1.8;
  margin: 0;
}
.intro p a {
  display: inline-block;
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-shrink: 0;
  background: var(--green);
  color: #f4f4e8;
  font-size: 11px;
  padding: 14px 19px;
  border-radius: 5px;
}
.download > span {
  font-size: 16px;
}
.toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 17px;
  flex-wrap: wrap;
}
.preset-divider {
  width: 1px;
  background: var(--line);
  margin: 0 5px;
}
.walk-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin: 0 0 16px;
  padding: 12px 16px;
  background: #e6ebde;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.8;
}
.walk-help[hidden] {
  display: none;
}
.walk-help b {
  margin-right: 12px;
}
.walk-pad {
  display: flex;
  gap: 5px;
}
.walk-pad button {
  width: 34px;
  height: 34px;
  border: 1px solid #a3b094;
  background: #fffefa;
  border-radius: 4px;
  touch-action: none;
}
.walk-pad button:active {
  background: #c6d4b9;
}
button:disabled {
  opacity: 0.45;
  cursor: default;
}
canvas:focus-visible {
  outline: 2px solid #96a386;
  outline-offset: -3px;
}
.presets {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}
.presets button {
  border: 1px solid var(--line);
  border-radius: 4px;
  background: transparent;
  font-size: 10px;
  padding: 9px 13px;
}
.presets button[aria-pressed='true'] {
  background: #e6ebde;
  border-color: #96a386;
  color: #31563e;
}
.view-options {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 10px;
  white-space: nowrap;
}
.view-options label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.view-options input {
  accent-color: #4b7041;
  width: 13px;
  height: 13px;
  margin: 0;
}
.view-options button {
  background: transparent;
  border: 0;
  color: #7e8973;
  font-size: 10px;
  padding: 8px 0;
}
.view-options button[aria-pressed='true'] {
  color: #2d5939;
  font-weight: 700;
}
.viewers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.viewer-panel {
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
  min-width: 0;
  background: #fffefa;
}
.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 18px 20px;
  border-bottom: 1px solid #e9e9df;
}
.panel-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 37px;
  height: 37px;
  border-radius: 5px;
  background: #e7eddf;
  color: #466340;
  font-size: 12px;
  font-weight: 700;
}
.glb-badge {
  background: #eee5d9;
  color: #8f704b;
  font-size: 10px;
}
.panel-title h2 {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.2px;
  margin: 0 0 5px;
}
.panel-title p {
  font-size: 10px;
  color: #8a917e;
  margin: 0;
}
.panel-meta {
  color: #919984;
  font-size: 9px;
  letter-spacing: 0.8px;
}
.canvas-wrap {
  position: relative;
  background: #f5f4ee;
  height: clamp(380px, 38vw, 650px);
  min-width: 0;
}
.canvas-wrap canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: grab;
}
.canvas-wrap canvas:active {
  cursor: grabbing;
}
.canvas-label {
  pointer-events: none;
  position: absolute;
  left: 18px;
  bottom: 15px;
  font-size: 8px;
  letter-spacing: 1px;
  color: #9ba18b;
}
.loading {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f5f4eeec;
  color: #78906a;
  font-size: 12px;
  padding: 28px;
  text-align: center;
}
.loading[hidden],
.reference-overlay[hidden] {
  display: none;
}
.reference-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #faf9f4;
  display: flex;
  align-items: center;
  justify-content: center;
}
.reference-overlay img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.reference-overlay > span {
  position: absolute;
  left: 18px;
  bottom: 15px;
  font-size: 8px;
  letter-spacing: 0.8px;
  color: #929a85;
  background: #fffefae0;
  padding: 5px 7px;
  border-radius: 3px;
}
#reference-toggle {
  padding: 7px 10px;
  border: 1px solid #bec8b1;
  border-radius: 4px;
  color: #567348;
}
#reference-toggle[aria-pressed='true'] {
  background: #e6ebde;
}
@media (max-width: 1100px) {
  .toolbar {
    flex-wrap: wrap;
  }
  .view-options {
    flex-wrap: wrap;
  }
}
.loading.error {
  color: #9c533d;
}
.panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-top: 1px solid #e9e9df;
  font-size: 9px;
  color: #8e9680;
}
.ready-state {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #6c865c;
}
.ready-state::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.interaction-help {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin: 15px 0 28px;
  font-size: 9px;
  line-height: 1.8;
  color: #969c89;
}
.interaction-help b {
  font-weight: 400;
  color: #77866c;
}
.interaction-help i {
  font-style: normal;
  padding: 0 10px;
  color: #b1b7a4;
}
#comparison-status {
  color: #7d8a70;
  text-align: right;
}
.reference-strip {
  display: grid;
  grid-template-columns: 1.05fr repeat(4, 1fr);
  gap: 17px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.reference-copy {
  padding: 6px 8px 0 0;
}
.reference-copy .eyebrow {
  font-size: 7px;
  letter-spacing: 1.1px;
  margin-bottom: 11px;
}
.reference-copy h2 {
  font-size: 19px;
  letter-spacing: -0.7px;
  font-weight: 500;
  margin: 0 0 10px;
}
.reference-copy > p:not(.eyebrow) {
  font-size: 10px;
  line-height: 1.9;
  color: #8c927f;
  margin: 0 0 13px;
}
.reference-copy a {
  font-size: 9px;
  color: #617a51;
}
.reference-strip > a {
  background: #fffefa;
  border: 1px solid var(--line);
  border-radius: 5px;
  overflow: hidden;
  align-self: start;
}
.reference-strip > a > img {
  width: 100%;
  height: auto;
  aspect-ratio: 1.5;
  object-fit: contain;
}
.reference-strip > a > span {
  display: block;
  font-size: 8px;
  color: #939d85;
  border-top: 1px solid #eeeee5;
  padding: 10px 12px;
}
.reference-strip b {
  font-weight: 400;
  color: #74816b;
  margin-left: 8px;
}
.model-note {
  margin: 24px 0 30px;
  color: #939a86;
  font-size: 9px;
  line-height: 1.9;
  max-width: 1100px;
}
footer {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 23px 0 28px;
  font-size: 8px;
  letter-spacing: 0.6px;
  color: #929b82;
}
footer i {
  font-style: normal;
  padding: 0 10px;
  color: #b0b69f;
}
@media (min-width: 1700px) {
  .canvas-wrap {
    height: 620px;
  }
}
@media (max-width: 1100px) {
  .page {
    padding: 0 28px;
  }
  .toolbar {
    align-items: flex-start;
    gap: 12px;
  }
  .presets button {
    padding: 9px;
    font-size: 9px;
  }
  .view-options {
    gap: 10px;
    font-size: 9px;
  }
  .view-options button {
    font-size: 9px;
  }
  .viewers {
    gap: 14px;
  }
  .canvas-wrap {
    height: 430px;
  }
  .panel-header {
    padding: 16px;
  }
  .panel-meta {
    font-size: 8px;
  }
  .reference-strip {
    gap: 12px;
  }
  .reference-copy h2 {
    font-size: 16px;
  }
  .reference-copy p:not(.eyebrow) {
    font-size: 9px;
  }
  .reference-copy .eyebrow {
    font-size: 6px;
  }
  .reference-strip > a > span {
    padding: 9px;
    font-size: 7px;
  }
}
@media (max-width: 760px) {
  .walk-help {
    align-items: flex-start;
    flex-direction: column;
    font-size: 10px;
  }
  .page {
    padding: 0 18px;
  }
  .masthead {
    height: 68px;
  }
  .wordmark {
    font-size: 10px;
    gap: 6px;
    letter-spacing: 0.5px;
  }
  .blocks {
    font-size: 24px;
  }
  .header-right {
    gap: 8px;
  }
  .header-right > a {
    font-size: 9px;
  }
  .status {
    display: none;
  }
  .intro {
    padding: 29px 0 23px;
    align-items: flex-start;
    flex-direction: column;
    gap: 19px;
  }
  .eyebrow {
    font-size: 6px;
    letter-spacing: 1.1px;
  }
  h1 {
    font-size: 29px;
    letter-spacing: -1.5px;
    max-width: 340px;
  }
  .intro > div > p:last-child {
    font-size: 11px;
    max-width: 310px;
  }
  .download {
    font-size: 10px;
    padding: 10px 14px;
    gap: 25px;
  }
  .toolbar {
    flex-direction: column;
    gap: 9px;
  }
  .presets {
    gap: 4px;
  }
  .presets button {
    font-size: 9px;
    padding: 9px 8px;
  }
  .view-options {
    width: 100%;
    gap: 16px;
    font-size: 9px;
  }
  .view-options button {
    font-size: 9px;
  }
  #reset {
    margin-left: auto;
  }
  .viewers {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .canvas-wrap {
    height: 370px;
  }
  .panel-header {
    padding: 14px 15px;
  }
  .badge {
    width: 33px;
    height: 33px;
  }
  .panel-title h2 {
    font-size: 14px;
  }
  .panel-title p {
    font-size: 9px;
  }
  .panel-footer {
    padding: 12px 14px;
    font-size: 8px;
  }
  .canvas-label {
    font-size: 7px;
    left: 14px;
    bottom: 12px;
  }
  .interaction-help {
    display: block;
    font-size: 8px;
    margin: 15px 0 24px;
  }
  .interaction-help > span {
    display: block;
  }
  #comparison-status {
    text-align: left;
    margin-top: 7px;
  }
  .reference-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding-top: 20px;
  }
  .reference-copy {
    grid-column: 1/-1;
    padding: 0 0 4px;
  }
  .reference-copy h2 {
    font-size: 21px;
  }
  .reference-copy p:not(.eyebrow) {
    font-size: 10px;
  }
  .reference-copy .eyebrow {
    font-size: 7px;
  }
  .reference-copy > p:not(.eyebrow) br {
    display: none;
  }
  .reference-copy a {
    font-size: 9px;
  }
  .reference-strip > a > span {
    font-size: 8px;
    padding: 10px;
  }
  .model-note {
    font-size: 8px;
    margin: 20px 0 23px;
  }
  footer {
    font-size: 7px;
    align-items: flex-start;
    padding: 20px 0;
    gap: 12px;
    line-height: 1.8;
  }
}
@media (max-width: 360px) {
  .page {
    padding: 0 12px;
  }
  .presets button {
    padding: 8px 6px;
    font-size: 8px;
  }
  .canvas-wrap {
    height: 340px;
  }
  .panel-meta {
    font-size: 7px;
  }
  h1 {
    font-size: 27px;
  }
}
