:root {
  color-scheme: light;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #f5f7f7;
  color: #171c20;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { min-width: 280px; margin: 0; }
[hidden] { display: none !important; }
button { font: inherit; }
button:focus-visible { outline: 2px solid #166d73; outline-offset: 5px; }
.wade-layout {
  display: grid;
  grid-template-columns: minmax(245px, 0.58fr) minmax(390px, 1.42fr);
  gap: clamp(25px, 5vw, 84px);
  align-items: center;
  width: min(100% - 7vw, 1360px);
  min-height: 100svh;
  margin: 0 auto;
  padding: 38px 0;
}
.wade-info { padding-left: clamp(0px, 1.6vw, 23px); }
.wade-brand {
  display: block;
  width: fit-content;
  margin-bottom: clamp(25px, 5vw, 65px);
  color: #007b80;
  font-size: clamp(22px, 2.7vw, 34px);
  font-weight: 800;
  letter-spacing: -0.055em;
}
.wade-brand img { display: block; width: clamp(110px, 13vw, 155px); height: auto; }
h1 {
  margin: -.13em 0 0 -.045em;
  font-size: clamp(82px, 11vw, 155px);
  font-weight: 800;
  letter-spacing: -.082em;
  line-height: .97;
}
.wade-product {
  margin: 15px 0 0;
  color: #37464a;
  font-size: clamp(16px, 1.85vw, 24px);
  letter-spacing: -.035em;
}
.wade-product strong { font-weight: 400; }
.wade-product span {
  display: block;
  margin-top: 6px;
  color: #52666b;
  font-size: .67em;
  letter-spacing: .03em;
}
.wade-view { min-width: 0; }
.wade-label-panel {
  display: flex;
  min-height: 65px;
  align-items: center;
  gap: 10px 15px;
  padding: 10px 0 0;
}
.wade-labels {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 2px;
  padding: 3px;
  border: 1px solid #cddad8;
  border-radius: 20px;
  background: #e9eeed;
}
.wade-labels button {
  min-width: 52px;
  min-height: 38px;
  border: 1px solid transparent;
  border-radius: 17px;
  padding: 4px 12px;
  background: transparent;
  color: #485b5b;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}
.wade-labels button:hover:enabled { color: #23474b; }
.wade-labels button[aria-pressed="true"] {
  background: #fff;
  border-color: #d2e0de;
  color: #00686c;
  box-shadow: 0 1px 3px #264c4c19;
}
.wade-labels button:disabled { cursor: default; }
.wade-labels[aria-busy="true"] button[aria-pressed="true"] { opacity: 1; }
.wade-label-feedback { color: #4a5d62; font-size: 13px; line-height: 1.4; }
.wade-label-feedback p { margin: 0; }
.wade-label-feedback p + p:not([hidden]) { margin-top: 3px; }
.wade-label-panel[data-state="detached"] .wade-labels { border-color: #74aba9; background: #e1f2ef; }
.wade-controls { margin-top: clamp(20px, 3vw, 43px); }
.wade-spray, .wade-reset {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
}
.wade-spray {
  min-width: 176px;
  border: 1px solid #6df0ec;
  border-radius: 30px;
  padding: 12px 20px;
  background: #67edeb;
  color: #071116;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
  user-select: none;
}
.wade-spray:hover:enabled { background: #a2faf9; box-shadow: 0 0 26px #50f0f440; }
.wade-spray[data-pumping="true"] { background: #bcffff; transform: translateY(2px) scale(.97); }
.wade-help { max-width: 270px; margin: 13px 0 0; color: #4a5d62; font-size: 13px; line-height: 1.5; }
.wade-stage {
  position: relative;
  display: grid;
  align-items: stretch;
  min-width: 0;
  height: min(75svh, 730px);
  min-height: 485px;
  overflow: hidden;
  margin: 0;
  isolation: isolate;
  border-radius: 20px;
  border: 1px solid #c9d1d268;
  background:
    radial-gradient(ellipse at 51% 39%, #ffffff 0%, #fafbfa 45%, transparent 82%),
    #ebeeed;
}
.wade-stage canvas, .wade-fallback { display: block; width: 100%; height: 100%; }
.wade-stage canvas { position: absolute; inset: 0; cursor: grab; touch-action: none; }
.wade-stage canvas:active { cursor: grabbing; }
.wade-stage canvas[data-target="trigger"] { cursor: pointer; }
.wade-stage canvas[data-target="label"] { cursor: grab; }
.wade-stage canvas[data-target="pulling"] { cursor: grabbing; }
.wade-fallback { position: absolute; inset: 0; object-fit: contain; padding: 26px 0 54px; }
.wade-stage-toolbar {
  position: absolute;
  z-index: 1;
  right: 15px;
  bottom: 12px;
  left: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #4b5b5e;
  font-size: 12px;
  pointer-events: none;
}
.wade-reset {
  min-height: 42px;
  border: 1px solid #bacecd;
  border-radius: 25px;
  padding: 5px 14px;
  color: #263739;
  background: #ffffffba;
  pointer-events: auto;
}
.wade-reset:hover:enabled { background: #e2eeed; }
button:disabled { opacity: .54; cursor: default; }
.wade-status {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 16px;
  max-width: calc(100% - 32px);
  margin: 0;
  border: 1px solid #a9d3d780;
  border-radius: 12px;
  background: #faffffea;
  padding: 10px 15px;
  color: #2c4346;
  font-size: 13px;
}
.wade-touch-hint { display: none; }
.noscript { padding: 0 4vw 26px; }
@media (pointer: coarse) {
  .wade-mouse-hint { display: none; }
  .wade-touch-hint { display: inline; }
}
@media (max-width: 730px) {
  .wade-layout {
    grid-template-columns: minmax(0, 1fr);
    width: min(100% - 30px, 545px);
    min-height: auto;
    gap: 24px;
    padding: 24px 0 37px;
  }
  .wade-info { padding: 0 6px; }
  .wade-brand { margin-bottom: 19px; }
  h1 { font-size: clamp(68px, 19vw, 112px); }
  .wade-product { margin-top: 6px; }
  .wade-product span { display: inline; margin-left: .6em; }
  .wade-label-panel { min-height: 82px; align-content: start; flex-wrap: wrap; }
  .wade-controls { margin-top: 15px; }
  .wade-stage { height: min(62svh, 600px); min-height: 355px; border-radius: 16px; }
  .wade-stage-toolbar { right: 9px; left: 13px; bottom: 7px; }
  .wade-stage-toolbar span { max-width: 43%; line-height: 1.27; }
  .wade-reset { gap: 5px; padding: 5px 9px; }
}
@media (max-width: 340px) {
  .wade-stage-toolbar { font-size: 10px; gap: 5px; }
}
@media (prefers-reduced-motion: reduce) {
  .wade-spray { transition: none; }
}
