.elementor-2255 .elementor-element.elementor-element-bf3797a{--display:flex;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}/* Start custom CSS for html, class: .elementor-element-db45417 *//* Scoped styles for Elementor safety */
  #th-color-tool {
    --th-radius:16px;
    --th-border: rgba(0,0,0,.12);
    --th-bg: rgba(255,255,255,.92);
    --th-text:#111;
    --th-muted: rgba(17,17,17,.72);
    --th-shadow: 0 18px 40px rgba(0,0,0,.12);

    --th-panel: rgba(255,255,255,.78);
    --th-panel2: rgba(0,0,0,.04);
    --th-input: rgba(255,255,255,.78);
    --th-btn: rgba(0,0,0,.05);
    --th-btnText: #111;

    padding: 100px 0px 200px 0px;
    
    box-sizing: border-box;
  }

  #th-color-tool *, #th-color-tool *:before, #th-color-tool *:after { box-sizing: border-box; }

  #th-color-tool .th-card {
    background: var(--th-bg);
    border: 1px solid var(--th-border);
    border-radius: 22px;
    padding: 18px;
    box-shadow: var(--th-shadow);
    backdrop-filter: blur(6px);
    max-width: 1100px;
    margin: 0 auto;
  }

  #th-color-tool .th-header { display:flex; gap:14px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
  #th-color-tool .th-title { margin:0; font-size: 26px; line-height: 1.2; color: var(--th-text); }
  #th-color-tool .th-sub { margin:6px 0 0; color: var(--th-muted); font-size: 14px; }
  #th-color-tool .th-actions { display:flex; gap:10px; flex-wrap: wrap; }

  #th-color-tool .th-btn {
    border: 1px solid var(--th-border);
    background: var(--th-btn);
    color: var(--th-btnText);
    padding: 10px 12px;
    border-radius: 12px;
    font-weight: 650;
    cursor:pointer;
    white-space: nowrap;
  }
  #th-color-tool .th-primary { background: #111; border-color: #111; color:#fff; }

  #th-color-tool .th-grid { display:grid; grid-template-columns: 1fr 1.1fr; gap: 16px; margin-top: 14px; }
  @media (max-width: 980px){
    #th-color-tool .th-grid { grid-template-columns: 1fr; }
    #th-color-tool .th-card { padding: 14px; }
  }
  @media (max-width: 520px){
    #th-color-tool { padding: 10px; }
    #th-color-tool .th-title { font-size: 22px; }
  }

  #th-color-tool .th-picker { border: 1px solid var(--th-border); border-radius: var(--th-radius); padding: 14px; background: var(--th-panel); }
  #th-color-tool .th-preview { display:flex; gap: 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 12px; }
  #th-color-tool .th-preview-swatch { width: 72px; height: 72px; border-radius: 16px; border: 1px solid var(--th-border); box-shadow: inset 0 0 0 1px rgba(255,255,255,.25); }
  #th-color-tool .th-preview-meta { display:flex; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }

  #th-color-tool .th-chip {
    font-size: 12px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid var(--th-border);
    background: var(--th-panel2);
    color: var(--th-text);
  }
  #th-color-tool .th-click { cursor: pointer; user-select: none; }

  #th-color-tool .th-sat-wrap { margin: 8px 0 14px; }
  #th-color-tool .th-sat { position: relative; width: 100%; aspect-ratio: 1.5 / 1; border-radius: 14px; overflow: hidden; border: 1px solid var(--th-border); background: red; touch-action: none; }
  @media (max-width: 520px){
    #th-color-tool .th-sat { aspect-ratio: 1.2 / 1; }
  }
  #th-color-tool .th-sat-white { position:absolute; inset:0; background: linear-gradient(to right, #fff, rgba(255,255,255,0)); }
  #th-color-tool .th-sat-black { position:absolute; inset:0; background: linear-gradient(to top, #000, rgba(0,0,0,0)); }
  #th-color-tool .th-handle { position:absolute; width: 18px; height: 18px; border-radius: 999px; border: 2px solid #fff; box-shadow: 0 2px 10px rgba(0,0,0,.35); transform: translate(-9px, -9px); }

  #th-color-tool .th-row { display:flex; gap: 10px; align-items:center; margin: 10px 0; }
  #th-color-tool .th-inline { flex-wrap: wrap; }
  #th-color-tool .th-label { font-size: 13px; color: var(--th-muted); min-width: 54px; }
  #th-color-tool .th-note { font-size: 12px; color: var(--th-muted); }

  #th-color-tool .th-hue-wrap { display:flex; align-items:center; gap: 10px; width: 100%; flex-wrap: wrap; }
  #th-color-tool .th-val { font-size: 12px; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--th-border); background: var(--th-panel2); min-width: 64px; text-align: center; }

  #th-color-tool .th-range { width: 100%; }
/* Fix harmony dropdown visibility in both modes */
#th-color-tool .th-val{
      color: var(--th-text) !important;

}


  /* Colorized hue slider */
  #th-color-tool .th-hue {
    -webkit-appearance: none;
    appearance: none;
    height: 14px;
    border-radius: 999px;
    border: 1px solid var(--th-border);
    background: linear-gradient(
      to right,
      hsl(0 100% 50%),
      hsl(60 100% 50%),
      hsl(120 100% 50%),
      hsl(180 100% 50%),
      hsl(240 100% 50%),
      hsl(300 100% 50%),
      hsl(360 100% 50%)
    );
    outline: none;
    flex: 1 1 220px;
  }
  #th-color-tool .th-hue::-webkit-slider-thumb{
    -webkit-appearance: none;
    width: 18px; height: 18px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    background: #000;
  }
  #th-color-tool .th-hue::-moz-range-thumb{
    width: 18px; height: 18px;
    border-radius: 999px;
    border: 2px solid #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,.35);
    background: #000;
  }

  #th-color-tool .th-right { display:flex; flex-direction: column; gap: 12px; }
  #th-color-tool .th-block { border: 1px solid var(--th-border); border-radius: var(--th-radius); padding: 14px; background: var(--th-panel); }
  #th-color-tool .th-h3 { margin:0 0 10px; font-size: 16px; color: var(--th-text); }
  #th-color-tool .th-block-head { display:flex; gap: 10px; align-items:center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 10px; }

  #th-color-tool .th-select { border: 1px solid var(--th-border); background: var(--th-btn); color: var(--th-text); border-radius: 10px; padding: 8px 10px; max-width: 100%; }

  #th-color-tool .th-code { display:flex; flex-direction: column; gap: 8px; }
  #th-color-tool .th-code-row { display:grid; grid-template-columns: 52px 1fr 70px; gap: 8px; align-items:center; }
  @media (max-width: 520px){
    #th-color-tool .th-code-row { grid-template-columns: 48px 1fr 64px; }
  }
  #th-color-tool .th-k { font-size: 12px; color: var(--th-muted); }

  #th-color-tool .th-in {
    width: 100%;
    border: 1px solid var(--th-border);
    border-radius: 10px;
    padding: 9px 10px;
    background: var(--th-input);
    color: var(--th-text);
    min-width: 0;
  }

  #th-color-tool .th-mini {
    border: 1px solid var(--th-border);
    background: var(--th-btn);
    color: var(--th-btnText);
    padding: 9px 10px;
    border-radius: 10px;
    cursor:pointer;
    font-weight: 650;
    white-space: nowrap;
  }
/* Fix harmony dropdown visibility in both modes */
#th-color-tool .th-select{
  color: var(--th-text) !important;
  background: var(--th-btn) !important;
  border: 1px solid var(--th-border) !important;
}
#th-color-tool .th-select option{
  color: #111 !important;
  background: #fff !important; /* dropdown list stays readable */
}

  #th-color-tool .th-palette { display:grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
  @media (max-width: 520px){ #th-color-tool .th-palette { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

  #th-color-tool .th-swatch { border-radius: 12px; border: 1px solid var(--th-border); padding: 10px; display:flex; flex-direction: column; gap: 8px; cursor:pointer; background: var(--th-panel2); }
  #th-color-tool .th-swatch-top { height: 34px; border-radius: 10px; border: 1px solid rgba(255,255,255,.22); }
  #th-color-tool .th-swatch-code { font-size: 12px; color: var(--th-text); opacity: .92; text-transform: uppercase; }
  #th-color-tool .th-swatch-sub { font-size: 11px; color: var(--th-muted); }

  #th-color-tool .th-saved { display:flex; gap: 10px; flex-wrap: wrap; }
  #th-color-tool .th-dot { width: 34px; height: 34px; border-radius: 999px; border: 1px solid var(--th-border); cursor:pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); }

  #th-color-tool .th-toast { margin-top: 10px; font-size: 13px; color: var(--th-text); min-height: 18px; opacity: .9; }/* End custom CSS */