.olt-wrap{
  display:grid;
  gap:14px;
  padding:14px;
  background:#000;
  border-radius:12px;
  border:1px solid #222;
}

.olt-board{
  background:#000;
  border:1px solid #222;
  border-radius:6px;
  overflow:auto;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:10px;
  min-height: clamp(320px, 55vw, 520px);
}

.olt-board-inner{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  background:#000;
}

.olt-board svg{
  display:block;
  max-width: min(680px, 100%);
  height:auto;
  margin:0 auto;
  background:#000 !important;
}

.olt-controls{
  display:grid;
  gap:10px;
  color:#fff;
  justify-items:center;
}

.olt-palette{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
}

.olt-palette .olt-color{
  width:44px;
  height:44px;
  border-radius:6px;
  border:2px solid #444;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:0;
}

.olt-palette .olt-color.is-active{
  border-color:#fff;
  box-shadow:0 0 0 2px #fff inset;
}

/* Color swatches */
.olt-help{
  border:1px solid #222;
  background:#0b0b0b;
  border-radius:6px;
  padding:10px 12px;
  font-size:16px;
  color:#d6d6d6;
  line-height:1.35;
  width:100%;
  max-width: 920px;
  text-align:center;
}

.olt-sr-only{
  position:absolute !important;
  width:1px !important;
  height:1px !important;
  padding:0 !important;
  margin:-1px !important;
  overflow:hidden !important;
  clip:rect(0,0,0,0) !important;
  white-space:nowrap !important;
  border:0 !important;
}

.olt-board svg .tri{ cursor:pointer; }


.olt-actions{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}

/* Reset icon button */
.olt-wrap .olt-reset-icon{
  all: unset;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 22px;
  line-height: 1;
  color: #e6e6e6 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  text-decoration: none !important;
}
.olt-wrap .olt-reset-icon:hover{
  color:#ffffff !important;
}
.olt-wrap .olt-reset-icon:focus,
.olt-wrap .olt-reset-icon:focus-visible{
  outline: none !important;
  box-shadow: none !important;
}

/* Swatch colors (match the palette data-color values) */
.olt-palette .olt-color[data-color="#0000ec"]{ background:#0000ec !important; }
.olt-palette .olt-color[data-color="#03d100"]{ background:#03d100 !important; }
.olt-palette .olt-color[data-color="#e70002"]{ background:#e70002 !important; }
.olt-palette .olt-color[data-color="#e6e300"]{ background:#e6e300 !important; }
.olt-palette .olt-color[data-color="#404040"]{ background:#404040 !important; }

.olt-palette .olt-color{
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 6px;
}

/* Ultra-clean layout: no outlines/borders/boxes around the app */
.olt-wrap{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
}
.olt-board{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.olt-board-inner{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.olt-controls{
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin-top: 14px !important;
}
