@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}
.tc-wp-tool-root img,
.tc-wp-tool-root video,
.tc-wp-tool-root svg,
.tc-wp-tool-root iframe {
  max-width: 100%;
  height: auto;
}

.tc-wp-tool-root #hesg-wrap#hesg-wrap{
  --hesg-primary: #0f4c81;
  --hesg-secondary: #18b7c9;
  --hesg-accent: #f2a93b;
  --hesg-soft-bg: #eef7fb;
  --hesg-card-bg: #ffffff;
  --hesg-heading: #10233f;
  --hesg-body: #26374f;
  --hesg-muted: #66758b;
  --hesg-border: #d9e6ef;
  --hesg-gradient-btn: linear-gradient(135deg, #0f4c81 0%, #18b7c9 100%);
  --hesg-shadow: 0 22px 60px rgba(15, 76, 129, .14);
  --hesg-radius: 22px;
  --hesg-section-gap: 22px;
  --hesg-card-gap: 18px;
  --hesg-control-gap: 14px;
  --hesg-button-height: 46px;
  --hesg-input-height: 46px;
  position: relative;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 26px 16px;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
  color: var(--hesg-body);
  background:
    radial-gradient(circle at 20% 0%, rgba(24, 183, 201, .16), transparent 34%),
    linear-gradient(180deg, #f7fbfd 0%, var(--hesg-soft-bg) 100%);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap *, .tc-wp-tool-root #hesg-wrap#hesg-wrap *::before, .tc-wp-tool-root #hesg-wrap#hesg-wrap *::after{
  box-sizing: border-box;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-hero, .tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-shell, .tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-card, .tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-results-section{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-hero{
  text-align: center;
  padding: 10px 0 18px;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-hero h1{
  max-width: 920px;
  margin: 0 auto 10px;
  color: var(--hesg-heading);
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.03;
  letter-spacing: 0;
  font-weight: 800;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-subtitle{
  max-width: 680px;
  margin: 0 auto;
  color: var(--hesg-muted);
  font-size: clamp(.98rem, 2.4vw, 1.15rem);
  line-height: 1.55;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-shell{
  display: grid;
  gap: var(--hesg-section-gap);
  justify-items: center;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-card, .tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-card{
  background: rgba(255,255,255,.92);
  border: 1px solid var(--hesg-border);
  border-radius: var(--hesg-radius);
  box-shadow: var(--hesg-shadow);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-card{
  padding: clamp(16px, 3vw, 26px);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-card-head{
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  text-align: center;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-card-head h2{
  margin: 0;
  color: var(--hesg-heading);
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  line-height: 1.2;
  letter-spacing: 0;
  font-weight: 750;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-control-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--hesg-control-gap);
  justify-content: center;
  width: 100%;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-control{
  display: grid;
  gap: 7px;
  width: 100%;
  color: var(--hesg-heading);
  font-size: .86rem;
  font-weight: 650;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-input{
  width: 100%;
  min-height: var(--hesg-input-height);
  border: 1px solid var(--hesg-border);
  border-radius: 14px;
  background: #fbfdff;
  color: var(--hesg-body);
  padding: 0 13px;
  font: 500 .95rem/1.2 Inter, Arial, sans-serif;
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-input:focus, .tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range:focus{
  border-color: var(--hesg-secondary);
  box-shadow: 0 0 0 4px rgba(24, 183, 201, .16);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-color{
  height: var(--hesg-input-height);
  padding: 6px;
  cursor: pointer;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range-wrap{
  display: flex;
  align-items: center;
  width: 100%;
  min-height: var(--hesg-input-height);
  padding: 0 12px;
  border: 1px solid var(--hesg-border);
  border-radius: 14px;
  background: #fbfdff;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range{
  width: 100%;
  appearance: none;
  background: transparent;
  outline: none;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range::-webkit-slider-runnable-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hesg-primary), var(--hesg-secondary));
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range::-moz-range-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hesg-primary), var(--hesg-secondary));
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range::-webkit-slider-thumb{
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--hesg-accent);
  box-shadow: 0 6px 16px rgba(16, 35, 63, .22);
  cursor: pointer;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-range::-moz-range-thumb{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  background: var(--hesg-accent);
  box-shadow: 0 6px 16px rgba(16, 35, 63, .22);
  cursor: pointer;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-action-row{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn{
  min-height: var(--hesg-button-height);
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font: 750 .92rem/1 Inter, Arial, sans-serif;
  cursor: pointer;
  transition: transform .16s ease, filter .16s ease, box-shadow .16s ease, background .16s ease;
  touch-action: manipulation;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn:hover{
  transform: translateY(-2px);
  filter: brightness(1.04);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn:active{
  transform: scale(.96);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn:focus-visible{
  outline: 3px solid rgba(24, 183, 201, .35);
  outline-offset: 3px;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn-primary{
  color: #ffffff;
  background: var(--hesg-gradient-btn);
  box-shadow: 0 12px 28px rgba(15, 76, 129, .22);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn-secondary{
  color: var(--hesg-primary);
  background: #e8f6fa;
  border: 1px solid #c8e8f0;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-btn.hesg-success{
  background: linear-gradient(135deg, #12805c, #18b7c9);
  color: #ffffff;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-main-preview-wrap, .tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-canvas-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-signature-preview{
  width: 100%;
  max-width: 720px;
  min-height: 190px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: auto;
  padding: 18px;
  border: 1px solid var(--hesg-border);
  border-radius: 18px;
  background: linear-gradient(180deg, #ffffff, #f8fbfd);
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-canvas{
  display: block;
  width: 100%;
  max-width: 820px;
  height: auto;
  aspect-ratio: 820 / 260;
  border: 1px solid var(--hesg-border);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(15, 76, 129, .03);
  touch-action: none;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-results-section{
  display: grid;
  gap: 14px;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-results-head{
  margin-bottom: 0;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-grid{
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--hesg-card-gap);
  justify-content: center;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-card{
  min-height: 330px;
  max-height: 330px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-card h3{
  margin: 0;
  color: var(--hesg-heading);
  font-size: 1rem;
  line-height: 1.25;
  letter-spacing: 0;
  font-weight: 750;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-preview{
  min-height: 180px;
  max-height: 180px;
  overflow: auto;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid var(--hesg-border);
  background: #ffffff;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-placeholder{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 150px;
  color: var(--hesg-muted);
  text-align: center;
  font-size: .92rem;
  line-height: 1.45;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-signature-line{
  white-space: nowrap;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-actions{
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: auto;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-actions .hesg-btn{
  flex: 1 1 0;
  min-width: 0;
  padding: 0 10px;
  font-size: .82rem;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-toast{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  z-index: 999999;
  opacity: 0;
  pointer-events: none;
  min-width: 132px;
  max-width: calc(100vw - 32px);
  padding: 14px 20px;
  border-radius: 999px;
  background: #10233f;
  color: #ffffff;
  text-align: center;
  font: 800 .95rem/1 Inter, Arial, sans-serif;
  box-shadow: 0 22px 60px rgba(16, 35, 63, .38);
  transition: opacity .18s ease, transform .18s ease;
}.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-toast.hesg-toast-visible{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}@media (min-width: 640px) {.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-control-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}@media (min-width: 768px) {.tc-wp-tool-root #hesg-wrap#hesg-wrap{
    padding: 34px 22px;
  }.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }}@media (min-width: 1024px) {.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-control-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }}@media (min-width: 1200px) {.tc-wp-tool-root #hesg-wrap#hesg-wrap .hesg-result-grid{
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }}.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}

.tc-wp-tool-root .hesg-canvas-card {}
.tc-wp-tool-root .hesg-color-control {}
.tc-wp-tool-root .hesg-controls-card {}
.tc-wp-tool-root .hesg-preview-card {}
.tc-wp-tool-root .hesg-tool-wrap {}