.hw-shell {
  --hw-paper: #fbf8f1;
  --hw-stripe: #f2eadc;
  --hw-ink: #1f2430;
  --hw-muted: #575961;
  --hw-floor: #e3cfae;
  --hw-line: #e4dbcb;
  --hw-yellow: #f6c453;
  --hw-red: #b83229;
  --hw-mono: "IBM Plex Mono", Consolas, monospace;
  width: min(100%, 730px);
  margin: 0 auto 68px;
  padding: 23px 30px 36px;
  background: var(--hw-paper);
  color: var(--hw-ink);
}

.hw-shell [hidden], .hw-dialog [hidden] { display: none !important; }
.height-wall-page .menu-toggle { display: none; }
.hw-shell :focus-visible, .hw-dialog :focus-visible { outline: 2px solid var(--hw-red); outline-offset: 3px; }
.hw-path { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--hw-muted); }
.hw-path a { font-weight: 750; letter-spacing: .08em; }
.hw-path a:hover { text-decoration: underline; }
.hw-intro, .hw-result-intro { margin: 23px 0 19px; }
.hw-intro h1, .hw-result-intro h2 {
  margin: 0;
  font-size: clamp(27px, 6.7vw, 44px);
  line-height: 1.22;
  letter-spacing: -.055em;
  font-weight: 900;
  word-break: keep-all;
}
.hw-intro p, .hw-result-intro p { margin: 10px 0 0; font-size: 15px; line-height: 1.55; word-break: keep-all; }
.hw-muted { color: var(--hw-muted); }
.hw-note { margin: 10px 0 0; font-size: 12px; }

.hw-wall {
  position: relative;
  isolation: isolate;
  height: clamp(268px, 69vw, 372px);
  overflow: hidden;
  background: repeating-linear-gradient(90deg, var(--hw-stripe) 0 16px, var(--hw-paper) 16px 32px);
  border-bottom: 14px solid var(--hw-floor);
  --hw-ruler: 34px;
}
.hw-wall--preview { --hw-ruler: 44px; height: clamp(300px, 82vw, 372px); border-bottom-width: 18px; }
.hw-ruler, .hw-ticks, .hw-figures { position: absolute; inset: 0; }
.hw-ruler { right: auto; width: var(--hw-ruler); background: var(--hw-yellow); animation: hw-ruler-in .52s ease-out both; transform-origin: center bottom; }
.hw-ticks > span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: var(--hw-tick);
  height: 1px;
  background: #d0bda462;
}
.hw-ticks > span::before { content: ""; position: absolute; left: calc(var(--hw-ruler) - 7px); width: 7px; height: 1px; background: #694e1f; }
.hw-ticks b { position: absolute; left: 3px; bottom: 2px; font: 500 10px/1 var(--hw-mono); }
.hw-reference {
  position: absolute;
  z-index: 2;
  left: var(--hw-ruler);
  right: 0;
  bottom: var(--hw-reference);
  border-top: 1px dashed var(--hw-red);
  pointer-events: none;
}
.hw-reference span {
  position: absolute;
  top: -24px;
  left: 4px;
  padding: 1px 5px;
  color: var(--hw-red);
  background: var(--hw-paper);
  font: 600 11px/1.4 var(--hw-mono);
}
.hw-wall--preview .hw-reference span { top: -27px; font: 25px/1 "Nanum Pen Script", cursive; }
.hw-figures, .hw-labels {
  display: grid;
  grid-template-columns: repeat(var(--hw-columns), minmax(0, 1fr));
  padding-inline: calc(var(--hw-ruler, 34px) + 8px) 8px;
}
.hw-figures { align-items: end; clip-path: inset(0 0 0 var(--hw-ruler)); }
.hw-figure {
  display: grid;
  align-items: end;
  justify-items: center;
  height: var(--hw-size);
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  position: relative;
}
button.hw-figure { cursor: pointer; }
button.hw-figure:focus-visible { z-index: 3; outline-offset: -3px; }
.hw-figure img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 100%; max-width: none; width: auto; pointer-events: none; }
.hw-figure[aria-pressed="true"] { background: linear-gradient(0deg, #f6c45336, transparent 42%); }
.hw-wall--result .hw-figure, .hw-label { animation: hw-lineup-in .38s var(--hw-arrival) cubic-bezier(.2,.7,.3,1) both; }
.hw-silhouette { --hw-figure-fill: #c3b5ff; }
.hw-fallback { --hw-figure-fill: var(--hw-work-color); }
.hw-fallback[aria-pressed="true"]::before, .hw-fallback[aria-pressed="true"]::after { box-shadow: inset 0 0 0 1px #1f24306e; }
.hw-placeholder:nth-child(2) { --hw-figure-fill: #93b2ff; }
.hw-placeholder:last-child { --hw-figure-fill: #7ccfa8; }
.hw-self { --hw-figure-fill: #d93a2f14; z-index: 1; }
.hw-silhouette::before, .hw-silhouette::after {
  content: "";
  display: block;
  position: absolute;
  background: var(--hw-figure-fill);
}
.hw-silhouette::before { width: min(27px, 54%); aspect-ratio: 1; border-radius: 50%; top: 0; }
.hw-silhouette::after { width: min(42px, 78%); height: calc(100% - 30px); border-radius: 18px 18px 3px 3px; bottom: 0; }
.hw-wall--preview .hw-silhouette::before { width: min(34px, 52%); }
.hw-wall--preview .hw-silhouette::after { width: min(50px, 75%); height: calc(100% - 38px); border-radius: 23px 23px 3px 3px; }
.hw-self::before, .hw-self::after { border: 1.5px dashed var(--hw-red); }
.hw-labels { margin-top: 8px; }
.hw-label { min-width: 0; text-align: center; display: grid; align-content: start; gap: 2px; padding: 0 2px; }
.hw-label-name { display: grid; place-items: center; min-height: 30px; font-family: inherit; font-size: 12px; font-weight: 750; line-height: 1.2; overflow-wrap: anywhere; }
button.hw-label-name { padding: 3px 1px; border: 0; border-radius: 4px; color: inherit; background: transparent; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
button.hw-label-name:hover, button.hw-label-name[aria-pressed="true"] { background: #f8e6b9; }
button.hw-label-name:focus-visible { outline: 2px solid var(--hw-ink); outline-offset: -2px; }
.hw-label span:not(.hw-image-credit), .hw-label small { font: 500 10px/1.25 var(--hw-mono); }
.hw-label small { color: var(--hw-muted); }
.hw-label--self strong { color: var(--hw-red); }

.hw-roster { margin-top: 19px; }
.hw-roster-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 5px; }
.hw-roster-heading h2 { margin: 0; font-size: 14px; font-weight: 750; word-break: keep-all; }
.hw-roster-heading button { min-height: 35px; padding: 0; border: 0; background: transparent; color: var(--hw-muted); font: inherit; font-size: 11px; cursor: pointer; white-space: nowrap; }
.hw-roster-heading button:hover { text-decoration: underline; text-underline-offset: 2px; }
.hw-roster-window { overflow: hidden; mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent); }
.hw-roster-track { display: flex; width: max-content; animation: hw-roster-slide 38s linear infinite; }
.hw-roster-window:hover .hw-roster-track, .hw-roster-window:focus-within .hw-roster-track { animation-play-state: paused; }
.hw-roster-set { display: flex; gap: 8px; margin: 0; padding: 3px 8px 8px 0; list-style: none; }
.hw-roster-chip { display: flex; align-items: center; gap: 8px; min-width: 142px; padding: 6px 10px 6px 6px; border: 1px solid var(--hw-line); border-radius: 8px; background: #fffdf8; white-space: nowrap; }
.hw-roster-picture { width: 45px; height: 59px; flex: none; padding: 3px 2px 0; border-radius: 4px; background: #f2eadc; object-fit: contain; object-position: center bottom; }
.hw-roster-copy { display: grid; gap: 2px; line-height: 1.25; }
.hw-roster-copy strong { font-size: 13px; }
.hw-roster-height { color: var(--hw-red); font: 600 11px/1.3 var(--hw-mono); }
.hw-roster-work { color: var(--hw-muted); font-size: 10px; }
.hw-roster.is-paused .hw-roster-window { overflow-x: auto; mask-image: none; }
.hw-roster.is-paused .hw-roster-track { animation: none; }
.hw-roster.is-paused .hw-roster-set[aria-hidden] { display: none; }
@keyframes hw-roster-slide { to { transform: translateX(-50%); } }

.hw-form { margin-top: 19px; }
.hw-height-control, .hw-height-control > div { display: flex; align-items: center; }
.hw-height-control { justify-content: space-between; gap: 8px; }
.hw-height-control > label { font-size: 14px; font-weight: 750; }
.hw-height-control > div { gap: clamp(6px, 2vw, 16px); }
.hw-round {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #343840;
  border-radius: 50%;
  color: #1f2430;
  background: #fff;
  font: 500 20px/1 sans-serif;
  cursor: pointer;
}
.hw-round:disabled { opacity: .35; cursor: default; }
.hw-round:not(:disabled):hover { background: #fff3cf; }
.hw-height-field { display: flex; align-items: baseline; gap: 4px; color: var(--hw-red); font-weight: 750; }
.hw-height-field input {
  width: clamp(86px, 26vw, 120px);
  padding: 0 0 2px;
  border: 0;
  border-bottom: 1px solid #b8322950;
  border-radius: 0;
  appearance: textfield;
  background: transparent;
  color: inherit;
  text-align: center;
  font: 600 clamp(27px, 8.5vw, 42px)/1.15 var(--hw-mono);
}
.hw-height-field input::-webkit-inner-spin-button, .hw-height-field input::-webkit-outer-spin-button { appearance: none; }
.hw-primary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 54px;
  padding: 0 20px;
  border: 0;
  background: #1f2430;
  color: #fbf8f1;
  text-decoration: none;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.hw-primary:hover { background: #343c4b; color: #fff; }
.hw-primary span { font-size: 19px; }
.hw-form > .hw-primary { margin-top: 19px; }

.hw-measuring {
  margin: 16px -30px -36px;
  padding: 22px 30px 30px;
  background: repeating-linear-gradient(90deg, var(--hw-stripe) 0 14px, var(--hw-paper) 14px 28px);
}
.hw-measuring-caption { margin: 0; color: var(--hw-red); font: 600 13px/1.4 var(--hw-mono); }
.hw-measuring h2 { margin: 9px 0 0; font-size: clamp(21px, 5.5vw, 30px); line-height: 1.25; font-weight: 850; letter-spacing: -.045em; }
.hw-search-state { display: flex; align-items: center; gap: 9px; margin-top: 11px; color: var(--hw-muted); font-size: 13px; }
.hw-search-light { flex: 0 0 8px; height: 8px; border-radius: 50%; background: #b27507; }
.hw-measuring.is-searching .hw-search-light { animation: hw-search-pulse .78s ease-in-out infinite alternate; }
.hw-measuring.is-ready .hw-search-light { background: #36765b; }
.hw-search-progress { height: 3px; margin-top: 10px; background: #dfd2bc; }
.hw-search-progress::before { content: ""; display: block; height: 100%; background: #bd8619; transform: scaleX(1); transform-origin: left; }
.hw-measuring.is-searching .hw-search-progress::before { animation: hw-search-progress var(--hw-search-duration) cubic-bezier(.27,.7,.52,1) both; }
.hw-measure-wall { position: relative; height: clamp(290px, 49svh, 415px); margin: 32px 0 29px; }
.hw-measure-wall::before {
  position: absolute;
  content: "";
  inset: 0 0 0 44px;
  background: linear-gradient(transparent, #f6c45366 92%, #c79935) no-repeat 50% 0 / 100% 27px;
  opacity: 0;
  pointer-events: none;
}
.hw-measuring.is-searching .hw-measure-wall::before { animation: hw-measure-scan .92s .54s ease-in-out both; }
.hw-measure-ruler {
  position: absolute;
  inset: 0 auto 0 0;
  width: 44px;
  background: #ffc93c;
  transform-origin: top;
  animation: hw-ruler-in .46s ease-out both;
}
.hw-measure-tick { position: absolute; top: var(--hw-y); right: 0; width: 9px; border-top: 1px solid #564212; }
.hw-measure-tick:has(b) { width: 15px; }
.hw-measure-tick b { position: absolute; right: 18px; top: -6px; font: 600 11px/1 var(--hw-mono); }
.hw-measure-cursor {
  position: absolute;
  top: var(--hw-y);
  left: 0;
  right: 38%;
  height: 10px;
  background: var(--hw-ink);
  transform: translateY(-50%);
  animation: hw-measure-drop .63s .31s cubic-bezier(.18,.72,.25,1) both;
}
.hw-measure-cursor::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 4px; background: var(--hw-red); }
.hw-measure-cursor span {
  position: absolute;
  right: 15%;
  bottom: 16px;
  padding: 5px 9px;
  background: var(--hw-red);
  color: #fff;
  font: 650 13px/1.4 var(--hw-mono);
  white-space: nowrap;
}
.hw-measure-marks { position: absolute; inset: 0 0 0 65%; }
.hw-measure-mark { position: absolute; inset: 0; animation: hw-measure-stamp .34s var(--hw-delay) ease-out both; }
.hw-measure-pointer {
  position: absolute;
  left: var(--hw-lane);
  top: var(--hw-y);
  width: calc(29px - var(--hw-lane));
  height: var(--hw-join);
  border-left: 1px solid #928375;
  color: var(--hw-ink);
}
.hw-measure-pointer::before, .hw-measure-pointer::after { position: absolute; content: ""; height: 1px; background: currentColor; }
.hw-measure-pointer::before { top: 0; right: 100%; width: 11px; }
.hw-measure-pointer::after { bottom: 0; left: 0; right: 0; }
.hw-measure-pointer--up::before { top: auto; bottom: 0; }
.hw-measure-pointer--up::after { top: 0; bottom: auto; }
.hw-measure-label { position: absolute; left: 33px; top: var(--hw-y); transform: translateY(-50%); display: flex; align-items: baseline; gap: 5px; white-space: nowrap; }
.hw-measure-label b { font: clamp(16px, 5.4vw, 21px)/1 "Nanum Pen Script", cursive; }
.hw-measure-label small { color: var(--hw-muted); font: 500 11px/1 var(--hw-mono); }
.hw-measuring .hw-primary span { color: #ffc93c; }
.hw-measuring .hw-primary:disabled { background: #ded7ca; color: #59554d; cursor: default; }
.hw-measuring .hw-primary:disabled span { opacity: 0; }
.hw-measuring.is-ready .hw-primary { animation: hw-ready-in .42s cubic-bezier(.2,.8,.3,1) both; }
@keyframes hw-ruler-in { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes hw-measure-drop { from { top: 0; opacity: 0; } to { top: var(--hw-y); opacity: 1; } }
@keyframes hw-measure-stamp { from { opacity: 0; transform: translateX(7px); } to { opacity: 1; transform: translateX(0); } }
@keyframes hw-search-pulse { from { box-shadow: 0 0 0 0 #b2750750; } to { box-shadow: 0 0 0 5px #b2750700; } }
@keyframes hw-measure-scan { 0% { background-position-y: 0%; opacity: 0; } 18%, 84% { opacity: 1; } 100% { background-position-y: 100%; opacity: 0; } }
@keyframes hw-search-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes hw-ready-in { from { opacity: .7; transform: translateY(5px); } to { opacity: 1; transform: none; } }
@keyframes hw-lineup-in { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }

.hw-result-intro .hw-result-height { margin: 0 0 7px; font-weight: 750; }
.hw-result-height strong { margin-left: 4px; color: var(--hw-red); font: 600 20px/1 var(--hw-mono); }
.hw-empty { margin: 0; padding: 16px 18px; background: #fff3cf; line-height: 1.55; word-break: keep-all; }
.hw-result-notes { display: grid; gap: 13px; margin-top: 24px; }
.hw-detail { min-width: 0; padding: 19px 19px 5px; background: #fff; border: 1px solid var(--hw-line); scroll-margin-top: 85px; }
.hw-detail-profile { display: flex; gap: 13px; align-items: stretch; }
.hw-detail-copy { flex: 1; min-width: 0; align-self: center; }
.hw-detail-portrait { display: grid; place-items: end center; flex: none; width: 55px; min-height: 91px; background: color-mix(in srgb, var(--hw-work-color) 26%, #fbf8f1); }
.hw-detail-portrait img { width: 100%; height: 93px; object-fit: contain; object-position: center bottom; padding: 7px 5px 0; }
.hw-detail-heading { display: flex; align-items: baseline; flex-wrap: wrap; gap: 5px 10px; }
.hw-detail h3 { margin: 0; line-height: 1.3; font-size: clamp(18px, 4.5vw, 22px); font-weight: 850; word-break: keep-all; }
.hw-detail-heading strong { font: 600 14px/1 var(--hw-mono); padding: 5px 7px; color: #794918; background: #f6ead4; white-space: nowrap; }
.hw-detail p { margin: 7px 0 0; font-size: 13px; line-height: 1.55; overflow-wrap: anywhere; }
.hw-detail .hw-detail-kicker { margin: 0 0 5px; color: var(--hw-muted); font-size: 12px; }
.hw-detail-gap { padding: 0 3px; background: linear-gradient(transparent 54%, #ffe09a 54%); font-weight: 750; }
.hw-sources { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 11px; }
.hw-image-credit, .hw-height-credit { color: var(--hw-muted); font-size: 10px; line-height: 1.35; overflow-wrap: anywhere; }
.hw-sources .hw-image-credit, .hw-sources .hw-height-credit { font-size: 12px; }
.hw-label .hw-image-credit { margin-top: 3px; font-size: 9px; }
.hw-image-rights { flex-basis: 100%; padding-bottom: 8px; color: var(--hw-muted); font-size: 11px; line-height: 1.5; }
.hw-highlight { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; padding: 12px 16px; border: 1px solid #ead298; background: #fff0c8; color: inherit; font: inherit; cursor: pointer; text-align: left; }
.hw-highlight-copy { display: grid; gap: 3px; font-size: 13px; }
.hw-highlight-copy strong { font-size: 12px; color: #7c4a16; }
.hw-highlight-gap { font: 600 15px/1 var(--hw-mono); white-space: nowrap; }
.hw-works { padding: 16px 16px 4px; border: 1px solid var(--hw-line); background: #f6efe2; min-width: 0; }
.hw-works h3 { margin: 0 0 8px; font-size: 15px; font-weight: 800; word-break: keep-all; }
.hw-works ul { margin: 0; padding: 0; list-style: none; }
.hw-works li { border-top: 1px solid #ded2bd; }
.hw-work-row { display: grid; grid-template-columns: 10px minmax(0, 1fr); align-items: start; gap: 10px; padding: 10px 1px; }
.hw-highlight:hover .hw-highlight-copy span { text-decoration: underline; text-underline-offset: 3px; }
.hw-work-dot { width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; border: 1px solid #1f243028; }
.hw-work-copy { display: grid; gap: 3px; line-height: 1.4; }
.hw-work-copy strong { font-size: 14px; }
.hw-work-copy small { margin-left: 7px; font-size: 11px; font-weight: 550; color: var(--hw-muted); white-space: nowrap; }
.hw-work-copy > span { font-size: 12px; color: var(--hw-muted); }
.hw-more { margin-top: 13px; border: 1px solid var(--hw-line); background: #fff; }
.hw-more summary {
  display: flex;
  align-items: center;
  min-height: 49px;
  padding: 10px 15px;
  gap: 8px;
  font-weight: 750;
  cursor: pointer;
  list-style: none;
}
.hw-more summary::-webkit-details-marker { display: none; }
.hw-more summary::after { content: "+"; margin-left: auto; font: 600 18px/1 var(--hw-mono); }
.hw-more[open] summary::after { content: "−"; }
.hw-more summary span { color: var(--hw-muted); font-size: 12px; font-weight: 500; }
.hw-more ul { margin: 0; padding: 0 15px; list-style: none; }
.hw-more li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hw-line); }
.hw-more-info { display: grid; min-width: 0; gap: 4px; justify-items: start; }
.hw-more-name { display: flex; align-items: center; gap: 10px; }
.hw-more-image { width: 42px; height: 56px; flex: none; object-fit: contain; object-position: center bottom; background: #f2eadc; border-radius: 3px; padding: 4px 3px 0; }
.hw-more-copy, .hw-more-value { display: grid; gap: 2px; }
.hw-more-value { text-align: right; font-family: var(--hw-mono); white-space: nowrap; }
.hw-more li small { color: var(--hw-muted); font-size: 12px; }
.hw-result-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.hw-result-actions .hw-primary { grid-column: 1 / -1; justify-content: center; gap: 9px; }
.hw-result-actions .hw-primary svg { color: #ffcb68; }
.hw-secondary { min-height: 45px; min-width: 0; padding: 7px; border: 1px solid var(--hw-ink); background: #fff; color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hw-secondary:hover { background: #fff1cf; }
.hw-result-actions input, .hw-result-actions p { grid-column: 1 / -1; }
.hw-result-actions input { min-width: 0; padding: 9px 10px; border: 1px solid var(--hw-line); font: inherit; }
.hw-result-actions p { margin: 0; color: var(--hw-muted); font-size: 12px; }
.hw-result-actions p:empty, .hw-feedback form p:empty { position: absolute; margin: 0; }
.hw-result-credit { margin: 11px 0 0; font-size: 12px; line-height: 1.6; word-break: keep-all; }
.hw-restart { display: block; min-height: 44px; margin: 14px auto 0; padding-inline: 14px; border: 0; background: transparent; color: inherit; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
.hw-restart span { color: var(--hw-red); }
.hw-feedback { margin-top: 25px; padding: clamp(17px, 4vw, 26px); border: 1px solid var(--hw-line); background: #fff; }
.hw-feedback h3 { margin: 0; font-size: clamp(21px, 4vw, 27px); line-height: 1.3; font-weight: 850; word-break: keep-all; }
.hw-feedback h3::before { display: block; width: 27px; height: 3px; margin-bottom: 12px; background: #e9ae3f; content: ""; }
.hw-feedback p { margin: 10px 0 17px; color: var(--hw-muted); font-size: 14px; line-height: 1.6; word-break: keep-all; }
.hw-feedback label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
.hw-feedback textarea { display: block; width: 100%; min-height: 100px; padding: 10px 12px; border: 1px solid #d8c7a8; border-radius: 0; background: #fbf8f1; color: inherit; font: inherit; font-size: 14px; resize: vertical; }
.hw-feedback-controls { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.hw-feedback-controls span:not([aria-hidden]) { color: var(--hw-muted); font: 400 12px/1 var(--hw-mono); }
.hw-feedback-controls .hw-primary { width: auto; min-height: 42px; padding: 8px 12px; gap: 6px; font-size: 14px; }
.hw-feedback form p { margin-bottom: 0; }
.hw-feedback [data-state="error"] { color: var(--hw-red); }
.hw-dialog { --hw-muted: #575961; --hw-red: #b83229; width: min(92vw, 420px); max-height: 88dvh; padding: 18px; border: 1px solid #9a8b6e; background: #fbf8f1; color: #1f2430; }
.hw-dialog::backdrop { background: #1f243080; }
.hw-dialog-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.hw-dialog-head h2 { margin: 0; font-size: 20px; }
.hw-dialog p { margin: 8px 0; font-size: 13px; }
.hw-dialog img { display: block; max-width: 100%; width: auto; height: auto; max-height: 51dvh; margin: 12px auto; }
.hw-dialog .hw-primary { margin-top: 12px; }

@media (min-width: 680px) {
  .hw-result-notes { grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); align-items: start; grid-template-rows: auto 1fr; }
  .hw-works { grid-column: 2; grid-row: 1 / 3; align-self: stretch; }
}

@media (max-width: 620px) {
  .height-wall-page .topbar__inner { grid-template-columns: 1fr auto; }
  .height-wall-page .menu-toggle {
    display: grid;
    place-content: center;
    gap: 4px;
    width: 38px;
    height: 38px;
    border: 1px solid #0002;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
  }
  .height-wall-page .menu-toggle span { width: 15px; height: 1.5px; background: currentColor; }
  .height-wall-page .menu-toggle.is-open span:first-child { transform: translateY(5.5px) rotate(45deg); }
  .height-wall-page .menu-toggle.is-open span:nth-child(2) { opacity: 0; }
  .height-wall-page .menu-toggle.is-open span:last-child { transform: translateY(-5.5px) rotate(-45deg); }
  .height-wall-page .nav.is-open {
    position: absolute;
    inset: 100% 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 8px;
    padding: 10px 16px;
    border-bottom: 1px solid #e4dbcb;
    background: #fff;
  }
}

@media (max-width: 600px) {
  .hw-shell { padding: 19px 20px 30px; margin-bottom: 35px; }
  .hw-desktop { display: none; }
  .hw-wall--preview { margin-inline: -20px; }
  .hw-measuring { margin-inline: -20px; margin-bottom: -30px; padding-inline: 20px; }
  .hw-measure-marks { left: 62%; }
  .hw-wall:not(.hw-wall--preview) { --hw-ruler: 27px; }
  .hw-labels { --hw-ruler: 27px; }
}
@media (prefers-reduced-motion: reduce) {
  .hw-roster-window { overflow-x: auto; mask-image: none; }
  .hw-roster-track { animation: none; }
  .hw-roster-set[aria-hidden], #hw-roster-pause { display: none; }
  .hw-ruler, .hw-measure-ruler, .hw-measure-cursor, .hw-measure-mark,
  .hw-measuring.is-searching .hw-search-light,
  .hw-measuring.is-searching .hw-search-progress::before,
  .hw-measuring.is-searching .hw-measure-wall::before,
  .hw-measuring.is-ready .hw-primary, .hw-wall--result .hw-figure, .hw-label { animation: none; }
}
