/* Confined to the optional visualizer; the site's header, forms and page styles are untouched. */
.vm-page .standard-hero {
  padding-block: 38px 34px;
}
.vm-page .standard-hero h1 {
  font-size: clamp(48px,5.2vw,74px);
  max-width: none;
}
.vm-page .standard-hero .hero-description {
  margin-top: 18px;
  max-width: 78ch;
}
.vm-page-content {
  padding-block: 32px 76px;
}
.vm-intro {
  max-width: 78ch;
  color: var(--muted,#617067);
  margin: 0 0 24px;
  font-size: 17px;
  line-height: 1.65;
}
#vis {
  display: grid;
  gap: 28px;
  align-items: start;
  isolation: isolate;
}
#vis * {
  box-sizing: border-box;
}
#vis [hidden] {
  display: none !important;
}
#vis button,#vis input,#vis summary {
  font-family: inherit;
}
#vis .vis-stage {
  display: grid;
  gap: 14px;
  min-width: 0;
  position: sticky;
  top: 20px;
  z-index: 5;
  background: var(--paper,#f8f6ef);
  padding-bottom: 12px;
}
#vis .vis-canvas {
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  background: #e6e9df;
  width: min(100%,calc(58svh * var(--image-ratio,1.5)));
  margin-inline: auto;
  border: 1px solid #d0d7c8;
}
#vis .vis-canvas canvas {
  display: block;
  width: 100%;
  height: auto;
}
#vis .vis-canvas .layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
#vis #vAfter {
  clip-path: inset(0 0 0 var(--split,0%));
}
#vis .vis-split {
  position: absolute;
  inset: 0 auto 0 var(--split,0%);
  width: 2px;
  margin-left: -1px;
  background: white;
  box-shadow: 0 0 0 1px #0004;
  pointer-events: none;
}
#vis .vis-split:after {
  content: "BEFORE / AFTER";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 14px;
  color: white;
  background: #192c27de;
  padding: 4px 8px;
}
#vis .vis-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
}
#vis .row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
#vis .vis-range {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink,#192c27);
}
#vis input[type=range] {
  accent-color: #50634c;
  min-height: 32px;
  width: 150px;
  max-width: 100%;
}
#vis .note {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #596851;
}
#vis .vis-panel {
  background: #fffefa;
  border: 1px solid #cbd2c0;
  min-width: 0;
}
#vis .vgroup {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-bottom: 1px solid #d4d7cc;
}
#vis .vgroup:last-child {
  border: 0;
}
#vis .vgroup-h {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
}
#vis .vgroup-h h3 {
  margin: 0;
  font-size: 27px;
  line-height: 1.1;
}
#vis .vgroup-h .mono {
  font-size: 14px;
  line-height: 1.35;
  color: #596851;
  text-align: right;
  max-width: 55%;
}
#vis .scene-pick {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 8px;
}
#vis .scene-pick button {
  display: grid;
  gap: 6px;
  padding: 0 0 8px;
  border: 1px solid #cbd2c0;
  background: #f8f6ef;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  overflow: hidden;
  color: #192c27;
}
#vis .scene-pick img {
  width: 100%;
  height: auto;
  aspect-ratio: 3/2;
  object-fit: cover;
}
#vis .scene-pick [aria-pressed=true] {
  border-color: #50634c;
  box-shadow: 0 0 0 2px #50634c;
}
#vis .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid #78856c;
  background: transparent;
  text-decoration: none;
  color: #192c27;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  cursor: pointer;
  border-radius: 0;
}
#vis .btn-main {
  background: #c4d29e;
  border-color: #c4d29e;
}
#vis .btn-ink {
  background: #192c27;
  border-color: #192c27;
  color: white;
}
#vis .btn:hover {
  box-shadow: inset 0 0 0 1px currentColor;
}
#vis button:focus-visible,#vis a:focus-visible,#vis input:focus-visible,#vis summary:focus-visible {
  outline: 3px solid #ae7553;
  outline-offset: 4px;
}
#vis .seg {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
}
#vis .seg button {
  padding: 10px 8px;
  min-height: 44px;
  background: #f8f6ef;
  border: 1px solid #cbd2c0;
  color: #192c27;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
}
#vis .seg button[aria-pressed=true] {
  background: #192c27;
  color: white;
  border-color: #192c27;
}
#vis .swatches {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(40px,1fr));
  gap: 10px;
  padding: 4px;
}
#vis .swatches button {
  position: relative;
  aspect-ratio: 1;
  min-height: 40px;
  border: 0;
  border-radius: 2px;
  box-shadow: inset 0 0 0 1px #0004;
  padding: 0;
  cursor: pointer;
}
#vis .swatches [aria-pressed=true] {
  outline: 2px solid #192c27;
  outline-offset: 3px;
}
#vis .swatches button[aria-pressed=true]:after {
  content: "";
  position: absolute;
  right: 5px;
  bottom: 5px;
  width: 8px;
  height: 8px;
  background: white;
  box-shadow: 0 0 0 1px #192c27;
  border-radius: 50%;
}
#vis .vis-sum {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  font-size: 15px;
  line-height: 1.55;
}
#vis .vis-sum .label {
  color: #596851;
  font-size: 14px;
}
#vis .vis-sum b {
  font-weight: 600;
}
#vis .vis-msg {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  background: #152923f2;
  color: white;
  padding: 12px;
  font-size: 14px;
  line-height: 1.45;
}
#vis .vis-msg .btn {
  min-height: 40px;
  padding: 8px 12px;
}
#vis .vis-busy:before {
  content: "";
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #fff5;
  border-top-color: white;
  animation: vm-spin .8s linear infinite;
  flex: none;
}
@keyframes vm-spin {
  to {
    transform: rotate(360deg);
  }
}
@media (min-width:1100px) {
  #vis {
    grid-template-columns: minmax(0,1fr) 400px;
  }
}
@media (max-width:1099px) {
  #vis {
    gap: 20px;
  }
  #vis .vis-stage {
    top: 0;
    padding-top: 8px;
    border-bottom: 1px solid #cbd2c0;
  }
  #vis .vis-canvas {
    width: min(100%,calc(40svh * var(--image-ratio,1.5)));
  }
  #vis .vis-panel {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
  #vis .vgroup {
    height: 100%;
    border-right: 1px solid #d4d7cc;
  }
  #vis .vgroup:last-child {
    border-bottom: 1px solid #d4d7cc;
  }
  .vm-tips {
    gap: 24px;
  }
  .vm-tips h2 {
    font-size: 29px;
  }
}
@media (max-width:600px) {
  .vm-page-content {
    padding-block: 24px 48px;
  }
  .vm-intro {
    font-size: 16px;
    margin-bottom: 18px;
  }
  #vis .vis-panel {
    display: block;
  }
  #vis .vgroup {
    padding: 18px;
    border-right: 0;
  }
  #vis .vis-canvas {
    width: min(100%,calc(29svh * var(--image-ratio,1.5)));
  }
  #vis .vis-stage {
    gap: 9px;
  }
  #vis .vis-bar {
    gap: 6px;
  }
  #vis .vis-bar .row {
    margin-left: auto;
  }
  #vis .vis-range {
    width: 100%;
    justify-content: space-between;
  }
  #vis input[type=range] {
    width: 55%;
  }
  #vis .vis-stage>.note {
    font-size: 14px;
    line-height: 1.4;
  }
  #vis .vis-msg {
    left: 5px;
    right: 5px;
    bottom: 5px;
    padding: 8px;
    gap: 6px;
  }
  #vis .vis-msg>span {
    flex-basis: 100% !important;
  }
  #vis .vis-msg .btn {
    padding: 6px 10px;
    min-height: 36px;
  }
  .vm-tips {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
    padding-top: 26px;
  }
  #vis .vgroup-h .mono {
    font-size: 14px;
  }
  #vis .vis-sum {
    gap: 14px;
  }
}
@media (max-height:550px) {
  #vis .vis-stage {
    position: relative;
  }
  #vis .vis-canvas {
    width: 100%;
  }
}
@media (prefers-reduced-motion:reduce) {
  #vis .vis-busy:before {
    animation: none;
  }
}
.vm-intro a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  color: #244b3d;
}
.vm-mockup {
  margin-top: 48px;
  padding: clamp(24px,4vw,48px);
  background: #e9ede2;
  border-left: 4px solid #ae7553;
  scroll-margin-top: 35px;
}
.vm-mockup h2 {
  font-size: clamp(30px,3.5vw,46px);
  line-height: 1.15;
  margin: 0 0 18px;
}
.vm-mockup p {
  font-size: 18px;
  line-height: 1.65;
  max-width: 78ch;
  margin: 0 0 18px;
}
.vm-mockup .wp-block-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.vm-mockup .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  background: #192c27;
  color: white;
  border-radius: 0;
  text-decoration: none;
  font-size: 17px;
  font-weight: 650;
  padding: 12px 22px;
}
.vm-mockup .wp-block-button__link:focus-visible {
  outline: 3px solid #ae7553;
  outline-offset: 4px;
}
.vm-mockup .wp-block-button:last-child .wp-block-button__link {
  background: transparent;
  color: #192c27;
  box-shadow: inset 0 0 0 1px #78856c;
}

/* Preview summary and practical guidance */
#vis .vis-stage { position:relative; top:auto; padding-top:0; border-bottom:0; padding-bottom:0; }
#vis .vis-selection { padding:20px 24px; background:#fffefa; border:1px solid #cbd2c0; }
#vis .vis-selection h3 { margin:0 0 12px; font-size:24px; }
#vis .vis-guide { background:#e9ede2; padding:26px; min-width:0; }
#vis .vis-guide h2 { margin:0 0 22px; font-size:30px; line-height:1.15; }
#vis .vis-guide-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; }
#vis .vis-guide h3 { font-family:inherit; text-transform:none; letter-spacing:0; font-size:16px; line-height:1.4; margin:0 0 10px; }
#vis .vis-guide p { font-size:15px; line-height:1.65; margin:0; color:#52655d; }
@media(min-width:1100px) {
 #vis { grid-template-rows:auto 1fr; }
 #vis .vis-stage { grid-column:1;grid-row:1; }
 #vis .vis-panel { grid-column:2;grid-row:1 / span 2; }
 #vis .vis-guide { grid-column:1;grid-row:2; }
}
@media(min-width:601px) and (max-width:1099px) { #vis .vis-panel .vgroup:first-child {grid-column:1 / -1;} }
@media(max-width:600px) {
 #vis .vis-guide { padding:24px 20px; }
 #vis .vis-guide-grid { grid-template-columns:1fr; gap:22px; }
 #vis .vis-guide h2 {font-size:28px;}
 #vis .vis-selection {padding:16px 18px;}
}
