.jy-site-sketch-toolbar-v238 {
  position: fixed;
  z-index: 120010;
  left: 16px;
  bottom: 67px;
  display: grid;
  justify-items: start;
  gap: 9px;
  color: #23312d;
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
}

.jy-site-sketch-toggle-v238 {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(22, 48, 42, 0.16);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 30px rgba(17, 33, 29, 0.13);
  color: #24332f;
  font-size: 11px;
  font-weight: 850;
  cursor: pointer;
  backdrop-filter: blur(12px);
}

.jy-site-sketch-toolbar-v238.is-active .jy-site-sketch-toggle-v238 {
  border-color: #62853a;
  background: #6f9145;
  color: #fff;
}

.jy-site-sketch-panel-v238 {
  width: min(430px, calc(100vw - 32px));
  max-height: min(790px, calc(100vh - 125px));
  overflow-y: auto;
  padding: 13px;
  border: 1px solid rgba(22, 48, 42, 0.13);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 20px 48px rgba(17, 33, 29, 0.18);
  backdrop-filter: blur(16px);
}

.jy-site-sketch-panel-v238[hidden],
.jy-sketch-draft-actions-v238[hidden],
.jy-sketch-fields-v238[hidden],
.jy-sketch-item-actions-v238[hidden],
.jy-site-sketch-panel-v238 [hidden] {
  display: none !important;
}

.jy-site-sketch-panel-v238 > header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.jy-site-sketch-panel-v238 > header strong,
.jy-site-sketch-panel-v238 > header span {
  display: block;
}

.jy-site-sketch-panel-v238 > header strong {
  font-size: 14px;
}

.jy-site-sketch-panel-v238 > header span {
  margin-top: 3px;
  color: #717b77;
  font-size: 9px;
}

.jy-site-sketch-panel-v238 > header button {
  width: 29px;
  height: 29px;
  border: 1px solid #dce3df;
  border-radius: 9px;
  background: #f8faf8;
  color: #40504a;
  font-size: 16px;
  cursor: pointer;
}

.jy-sketch-tools-v238 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 9px;
}

.jy-sketch-tools-v238 button,
.jy-sketch-draft-actions-v238 button,
.jy-sketch-primary-actions-v238 button,
.jy-sketch-item-actions-v238 button {
  min-height: 34px;
  padding: 0 7px;
  border: 1px solid #d7e0da;
  border-radius: 9px;
  background: #f8faf8;
  color: #4b5853;
  font-size: 9px;
  font-weight: 850;
  cursor: pointer;
}

.jy-sketch-tools-v238 button.is-active {
  border-color: #6f9145;
  background: #e8f1dd;
  color: #3f5a27;
  box-shadow: inset 0 0 0 1px rgba(111, 145, 69, 0.08);
}

.jy-sketch-tools-v238 button:focus-visible,
.jy-sketch-draft-actions-v238 button:focus-visible,
.jy-sketch-primary-actions-v238 button:focus-visible,
.jy-sketch-item-actions-v238 button:focus-visible,
.jy-site-sketch-toggle-v238:focus-visible,
.jy-site-sketch-panel-v238 input:focus-visible {
  outline: 2px solid rgba(111, 145, 69, 0.42);
  outline-offset: 2px;
}

.jy-sketch-plan-wrap-v238 {
  padding: 9px;
  border: 1px solid #dce5de;
  border-radius: 11px;
  background: #f8faf7;
}

.jy-sketch-plan-title-v238 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.jy-sketch-plan-title-v238 strong {
  font-size: 9px;
}

.jy-sketch-plan-title-v238 span {
  color: #728078;
  font-size: 7px;
  text-align: right;
}

.jy-sketch-plan-wrap-v238 svg {
  display: block;
  width: 100%;
  height: 260px;
  border: 1px solid #dfe6e1;
  border-radius: 8px;
  background: #fff;
  cursor: crosshair;
  touch-action: none;
}

.jy-sketch-grid-line-v238 {
  fill: none;
  stroke: #eef2ee;
  stroke-width: 1;
}

.jy-sketch-pergola-v238 {
  fill: rgba(56, 62, 66, 0.12);
  stroke: #383e42;
  stroke-width: 1.7;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.jy-sketch-zone-label-v238 {
  fill: #66716c;
  font: 800 10px/1 system-ui, sans-serif;
  pointer-events: none;
}

.jy-sketch-line-v238 {
  fill: none;
  stroke: #727976;
  stroke-width: 5;
  stroke-linejoin: round;
  stroke-linecap: square;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.jy-sketch-line-v238.type-fence {
  stroke: #383e42;
  stroke-width: 3;
  stroke-dasharray: 7 3;
}

.jy-sketch-line-v238.is-active {
  stroke: #6f9145;
  stroke-width: 6;
}

.jy-sketch-line-hit-v238 {
  fill: none;
  stroke: transparent;
  stroke-width: 18;
  cursor: grab;
  pointer-events: stroke;
}

.jy-sketch-line-hit-v238:active,
.jy-sketch-solid-v238:active {
  cursor: grabbing;
}

.jy-sketch-line-hit-v238.is-locked,
.jy-sketch-surface-hit-v277.is-locked,
.jy-sketch-item-v238.is-locked .jy-sketch-solid-v238 {
  cursor: not-allowed;
}

.jy-sketch-item-v238.is-hidden {
  opacity: 0.35;
}

.jy-sketch-node-v238 {
  fill: #fff;
  stroke: #5f813b;
  stroke-width: 2;
  pointer-events: none;
}

.jy-sketch-solid-v238 {
  fill: #727976;
  stroke: #fff;
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  cursor: grab;
}

.jy-sketch-item-v238.is-locked .jy-sketch-line-v238 {
  stroke-dasharray: 4 3;
}

.jy-sketch-surface-v277 {
  stroke: rgba(53, 69, 58, 0.72);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.jy-sketch-surface-v277.material-grass { fill: rgba(107, 137, 74, 0.48); }
.jy-sketch-surface-v277.material-concrete { fill: rgba(160, 161, 155, 0.52); }
.jy-sketch-surface-v277.material-wood { fill: rgba(157, 111, 69, 0.52); }
.jy-sketch-surface-v277.material-gravel { fill: rgba(117, 121, 116, 0.5); }

.jy-sketch-surface-v277.is-active {
  stroke: #5f813b;
  stroke-width: 3;
}

.jy-sketch-surface-hit-v277 {
  fill: transparent;
  stroke: transparent;
  stroke-width: 14;
  cursor: grab;
  pointer-events: all;
}

.jy-sketch-surface-hit-v277:active { cursor: grabbing; }

.jy-sketch-item-v238.type-post .jy-sketch-solid-v238 {
  fill: #383e42;
}

.jy-sketch-item-v238.type-stairs .jy-sketch-solid-v238 {
  fill: #b9bbb6;
  stroke: #777e79;
}

.jy-sketch-item-v238.is-active .jy-sketch-solid-v238 {
  stroke: #6f9145;
  stroke-width: 3;
}

.jy-sketch-stair-line-v238 {
  stroke: #858b87;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.jy-sketch-length-v238 {
  paint-order: stroke;
  fill: #4e6b32;
  stroke: #fff;
  stroke-width: 4;
  font: 900 9px/1 "IBM Plex Mono", monospace;
  pointer-events: none;
}

.jy-sketch-draft-v238 {
  fill: none;
  stroke: #6f9145;
  stroke-width: 3;
  stroke-dasharray: 8 5;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}

.jy-sketch-regular-preview-v308 {
  fill: rgba(111, 145, 69, 0.18);
}

.jy-sketch-draft-node-v238 {
  fill: #9fc960;
  stroke: #fff;
  stroke-width: 2;
  pointer-events: none;
}

.jy-sketch-draft-actions-v238,
.jy-sketch-primary-actions-v238,
.jy-sketch-item-actions-v238 {
  display: grid;
  gap: 6px;
  margin-top: 8px;
}

.jy-sketch-draft-actions-v238,
.jy-sketch-primary-actions-v238 {
  grid-template-columns: 1fr 1fr;
}

.jy-sketch-draft-actions-v238 button:first-child,
.jy-sketch-primary-actions-v238 button:first-child {
  border-color: #6f9145;
  background: #6f9145;
  color: #fff;
}

.jy-sketch-primary-actions-v238 button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.jy-sketch-standard-note-v238 {
  margin: 7px 0 0;
  color: #728078;
  font-size: 8px;
  line-height: 1.45;
}

.jy-sketch-item-list-v238 {
  display: flex;
  gap: 5px;
  margin: 9px 0;
  overflow-x: auto;
  scrollbar-width: thin;
}

.jy-sketch-item-list-v238 button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #dce3df;
  border-radius: 8px;
  background: #fff;
  color: #5a6661;
  font-size: 8px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.jy-sketch-item-list-v238 button.is-active {
  border-color: #76994c;
  background: #edf4e5;
  color: #405b25;
}

.jy-sketch-item-list-v238 button.is-hidden {
  opacity: 0.48;
  text-decoration: line-through;
}

.jy-sketch-empty-v238 {
  margin: 9px 0 0;
  padding: 12px;
  border: 1px dashed #d5dfd8;
  border-radius: 10px;
  color: #77817c;
  font-size: 9px;
  line-height: 1.5;
  text-align: center;
}

.jy-sketch-fields-v238 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  padding-top: 9px;
  border-top: 1px solid #e2e7e3;
}

.jy-sketch-fields-v238 label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: #596661;
  font-size: 8px;
  font-weight: 850;
}

.jy-sketch-fields-v238 .is-wide {
  grid-column: 1 / -1;
}

.jy-sketch-fields-v238 input,
.jy-sketch-fields-v238 select {
  width: 100%;
  min-width: 0;
  min-height: 34px;
  padding: 0 8px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #fff;
  color: #25332f;
  font: 750 10px/1 system-ui, sans-serif;
}

.jy-sketch-visible-v238 {
  display: flex !important;
  min-height: 34px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border: 1px solid #d8e0db;
  border-radius: 8px;
  background: #f8faf8;
}

.jy-sketch-visible-v238 input {
  width: 16px !important;
  min-height: 16px !important;
  accent-color: #6f9145;
}

.jy-sketch-fields-v238 output {
  padding: 7px 8px;
  border-radius: 7px;
  background: #edf4e7;
  color: #526a3b;
  font: 850 8px/1.4 "IBM Plex Mono", monospace;
}

.jy-sketch-item-actions-v238 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.jy-sketch-item-actions-v238 button:first-child {
  border-color: #76994c;
  background: #edf4e5;
  color: #405b25;
}

.jy-sketch-item-actions-v238 button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.jy-sketch-item-actions-v238 button:nth-child(3),
.jy-sketch-item-actions-v238 button:nth-child(4) {
  color: #984b3e;
}

.jy-site-sketch-panel-v238 button:active,
.jy-site-sketch-toggle-v238:active {
  transform: translateY(1px);
}

.jy-site-sketch-toast-v238 {
  position: fixed;
  z-index: 120020;
  left: 50%;
  bottom: 28px;
  max-width: min(420px, calc(100vw - 28px));
  padding: 10px 14px;
  border: 1px solid rgba(77, 107, 50, 0.18);
  border-radius: 10px;
  background: #26332d;
  color: #fff;
  box-shadow: 0 14px 34px rgba(17, 33, 29, 0.2);
  font-size: 11px;
  font-weight: 800;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.jy-site-sketch-toast-v238.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

body.jy-technical-mode .jy-site-sketch-toolbar-v238 {
  display: none !important;
}

@media (max-width: 980px) {
  .jy-site-sketch-toolbar-v238 {
    left: 9px;
    bottom: 52px;
  }

  .jy-site-sketch-toggle-v238 {
    min-height: 34px;
    padding: 0 10px;
    font-size: 9px;
  }

  .jy-site-sketch-panel-v238 {
    width: min(390px, calc(100vw - 18px));
    max-height: min(68svh, 610px);
    padding: 10px;
  }

  .jy-sketch-plan-wrap-v238 svg {
    height: 220px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .jy-site-sketch-toast-v238 {
    transition: none;
  }
}
