@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&family=Libre+Baskerville:wght@400;700&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 #halg-wrap#halg-wrap, .tc-wp-tool-root #halg-wrap#halg-wrap *{
  box-sizing: border-box;
}.tc-wp-tool-root #halg-wrap#halg-wrap{
  --halg-primary: #a51c30;
  --halg-navy: #102033;
  --halg-ivory: #f6f0e4;
  --halg-card: #fffaf0;
  --halg-paper: #fffdf7;
  --halg-gold: #b28a35;
  --halg-muted: #687284;
  --halg-border: rgba(16, 32, 51, .15);
  --halg-button: linear-gradient(135deg, #a51c30 0%, #7d1424 100%);
  --halg-shadow: 0 22px 60px rgba(16, 32, 51, .14);
  --halg-radius: 20px;
  position: relative;
  width: 100%;
  overflow-x: hidden;
  background:
    radial-gradient(circle at top left, rgba(178, 138, 53, .16), transparent 34%),
    linear-gradient(180deg, #fbf5e9 0%, #f1eadc 100%);
  color: var(--halg-navy);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}.tc-wp-tool-root #halg-wrap#halg-wrap button, .tc-wp-tool-root #halg-wrap#halg-wrap input, .tc-wp-tool-root #halg-wrap#halg-wrap textarea, .tc-wp-tool-root #halg-wrap#halg-wrap select{
  font: inherit;
}.tc-wp-tool-root #halg-wrap#halg-wrap button{
  border: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}.tc-wp-tool-root #halg-wrap#halg-wrap input, .tc-wp-tool-root #halg-wrap#halg-wrap textarea, .tc-wp-tool-root #halg-wrap#halg-wrap select{
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--halg-border);
  border-radius: 14px;
  background: rgba(255, 253, 247, .92);
  color: var(--halg-navy);
  outline: none;
}.tc-wp-tool-root #halg-wrap#halg-wrap input:focus, .tc-wp-tool-root #halg-wrap#halg-wrap textarea:focus, .tc-wp-tool-root #halg-wrap#halg-wrap select:focus, .tc-wp-tool-root #halg-wrap#halg-wrap button:focus-visible{
  border-color: var(--halg-primary);
  box-shadow: 0 0 0 4px rgba(165, 28, 48, .14);
  outline: none;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-shell, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-hero, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-generator, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-results{
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-shell{
  padding: 28px 14px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-hero{
  text-align: center;
  padding: 12px 0 22px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-title{
  margin: 0 auto;
  max-width: 980px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(28px, 8vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
  color: var(--halg-navy);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-subtitle{
  max-width: 680px;
  margin: 12px auto 0;
  color: var(--halg-muted);
  font-size: 15px;
  line-height: 1.55;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-generator{
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-panel, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-results{
  border: 1px solid var(--halg-border);
  border-radius: var(--halg-radius);
  background: rgba(255, 250, 240, .9);
  box-shadow: var(--halg-shadow);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-panel, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview{
  padding: 16px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-section-title{
  font-weight: 800;
  font-size: 14px;
  color: var(--halg-navy);
  letter-spacing: .02em;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-field{
  margin-top: 12px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-label{
  display: block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 800;
  color: #28384d;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-input, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-select, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-textarea{
  padding: 10px 12px;
  font-size: 14px;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-textarea{
  min-height: 98px;
  resize: vertical;
  line-height: 1.45;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-row{
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-actions, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview-actions, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-actions{
  margin-top: 14px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-btn, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-copy-btn, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-chip, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-more-toggle{
  min-height: 42px;
  border-radius: 999px;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-btn:hover, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-copy-btn:hover, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-chip:hover, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-more-toggle:hover{
  transform: translateY(-1px);
  filter: brightness(1.03);
  box-shadow: 0 12px 24px rgba(16, 32, 51, .12);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-btn:active, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-copy-btn:active, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-chip:active, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-more-toggle:active{
  transform: scale(.96);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-primary-btn{
  background: var(--halg-button);
  color: #fff;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-secondary-btn, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-copy-btn, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-more-toggle{
  background: #fffdf7;
  color: var(--halg-navy);
  border: 1px solid var(--halg-border);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-more-toggle{
  width: 100%;
  margin-top: 12px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-more{
  margin-top: 12px;
  padding-top: 4px;
  border-top: 1px solid var(--halg-border);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-toggle{
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--halg-navy);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-toggle input{
  width: 18px;
  min-height: 18px;
  accent-color: var(--halg-primary);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-range{
  height: 34px;
  padding: 0;
  border: 0;
  background: transparent;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-range::-webkit-slider-runnable-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--halg-primary), var(--halg-gold));
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-range::-moz-range-track{
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--halg-primary), var(--halg-gold));
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-range::-webkit-slider-thumb{
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--halg-primary);
  box-shadow: 0 4px 12px rgba(16, 32, 51, .25);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-range::-moz-range-thumb{
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 3px solid #fff;
  background: var(--halg-primary);
  box-shadow: 0 4px 12px rgba(16, 32, 51, .25);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview-top, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-results-head{
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: space-between;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview-note{
  margin: 4px 0 0;
  color: var(--halg-muted);
  font-size: 12px;
  line-height: 1.4;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-page{
  position: relative;
  margin-top: 14px;
  min-height: 560px;
  padding: 26px 20px;
  border: 1px solid rgba(178, 138, 53, .35);
  border-radius: 10px;
  background: var(--halg-paper);
  color: var(--halg-navy);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.7), 0 18px 36px rgba(16, 32, 51, .12);
  overflow: hidden;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-page.halg-tint-parchment{
  background: #fbf0d8;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-page.halg-tint-white{
  background: #ffffff;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-head{
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-right: 72px;
  font-family: "Libre Baskerville", Georgia, serif;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-head strong{
  font-size: 20px;
  color: var(--halg-primary);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-head span{
  font-size: 12px;
  color: var(--halg-muted);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-rule{
  height: 3px;
  margin: 16px 0 20px;
  background: linear-gradient(90deg, var(--halg-primary), var(--halg-gold), transparent);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-body{
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: var(--halg-preview-size, 96%);
  line-height: 1.72;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: normal;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-seal{
  position: absolute;
  top: 22px;
  right: 20px;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 2px solid rgba(165, 28, 48, .5);
  color: var(--halg-primary);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  opacity: .75;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-seal.is-hidden{
  display: none;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-results{
  margin-top: 16px;
  padding: 16px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-chip{
  border: 1px solid var(--halg-border);
  background: #fffdf7;
  color: var(--halg-navy);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-chip.is-active{
  background: var(--halg-button);
  color: #fff;
  box-shadow: 0 10px 24px rgba(165, 28, 48, .22);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-results-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-top: 14px;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-result-card{
  height: 340px;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--halg-border);
  border-radius: 16px;
  background: rgba(255, 253, 247, .86);
  overflow: hidden;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-result-top{
  padding: 14px 14px 10px;
  border-bottom: 1px solid var(--halg-border);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-result-label{
  margin: 0;
  font-size: 14px;
  font-weight: 800;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-result-meta{
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--halg-muted);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-result-output{
  flex: 1;
  min-height: 0;
  padding: 12px 14px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: normal;
  overflow-wrap: normal;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 13px;
  line-height: 1.6;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-result-actions{
  padding: 10px 14px 14px;
  border-top: 1px solid var(--halg-border);
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-toast{
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(.96);
  z-index: 999999;
  min-width: 150px;
  max-width: calc(100vw - 32px);
  padding: 14px 18px;
  border-radius: 999px;
  background: #102033;
  color: #fff;
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}.tc-wp-tool-root #halg-wrap#halg-wrap .halg-toast.is-visible{
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}.tc-wp-tool-root #halg-wrap#halg-wrap .is-success{
  box-shadow: 0 0 0 4px rgba(178, 138, 53, .24), 0 14px 28px rgba(16, 32, 51, .16);
}@media (min-width: 640px) {.tc-wp-tool-root #halg-wrap#halg-wrap .halg-shell{
    padding: 34px 18px;
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-row{
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-results-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview-top, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-results-head{
    flex-direction: row;
    align-items: center;
  }}@media (min-width: 768px) {.tc-wp-tool-root #halg-wrap#halg-wrap .halg-title{
    font-size: clamp(38px, 5vw, 58px);
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-panel, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-preview, .tc-wp-tool-root #halg-wrap#halg-wrap .halg-results{
    padding: 20px;
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-page{
    padding: 34px 32px;
  }}@media (min-width: 1024px) {.tc-wp-tool-root #halg-wrap#halg-wrap .halg-generator{
    grid-template-columns: minmax(340px, .82fr) minmax(0, 1.18fr);
    gap: 18px;
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-results-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }.tc-wp-tool-root #halg-wrap#halg-wrap .halg-letter-page{
    min-height: 650px;
  }}.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 .halg-controls {}
.tc-wp-tool-root .halg-tool-wrap {}