/* ═══════════════════════════════════════════════════════════════════
   html-minifier.css  -  HTML Minifier & Beautifier
   Accent: Blue (#2563eb)  |  Light theme
   Scoped under #hmt-root - all rules use #hmt-root prefix
   ═══════════════════════════════════════════════════════════════════ */

/* ── Reset - scoped tightly ─────────────────────────────────────── */
#hmt-root,
#hmt-root *,
#hmt-root *::before,
#hmt-root *::after {
  box-sizing: border-box;
}

#hmt-root {
  --hmt-blue:         #2563eb;
  --hmt-blue-dark:    #1d4ed8;
  --hmt-blue-light:   #eff6ff;
  --hmt-blue-mid:     #bfdbfe;
  --hmt-green:        #16a34a;
  --hmt-green-dark:   #15803d;
  --hmt-green-light:  #f0fdf4;
  --hmt-green-mid:    #bbf7d0;
  --hmt-orange:       #f97316;
  --hmt-orange-light: #fff7ed;
  --hmt-red:          #dc2626;
  --hmt-red-light:    #fef2f2;
  --hmt-text:         #0f172a;
  --hmt-text-2:       #475569;
  --hmt-text-3:       #94a3b8;
  --hmt-border:       #e2e8f0;
  --hmt-border-2:     #cbd5e1;
  --hmt-surface:      #ffffff;
  --hmt-surface-2:    #f8fafc;
  --hmt-surface-3:    #f1f5f9;
  --hmt-code-bg:      #0f172a;
  --hmt-code-text:    #e2e8f0;
  --hmt-radius:       12px;
  --hmt-radius-sm:    8px;
  --hmt-radius-xs:    6px;
  --hmt-shadow:       0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.05);
  --hmt-shadow-md:    0 4px 12px rgba(0,0,0,.10), 0 2px 4px rgba(0,0,0,.06);
  --hmt-font:         'DM Sans', system-ui, -apple-system, sans-serif;
  --hmt-mono:         'DM Mono', 'Fira Code', 'Cascadia Code', monospace;
  --hmt-tr:           all .18s cubic-bezier(.4,0,.2,1);

  display: block;
  width: 100%;
  max-width: 100% !important;
  font-family: var(--hmt-font) !important;
  color: var(--hmt-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background: #f8fafc;
  margin: 0 !important;
  padding: 0 !important;
}

#hmt-root h1,
#hmt-root h2,
#hmt-root h3,
#hmt-root h4,
#hmt-root p,
#hmt-root ul,
#hmt-root ol,
#hmt-root li {
  margin: 0;
  padding: 0;
}

/* ══════════════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-hero {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 40%, #e0f2fe 100%);
  border-bottom: 1px solid var(--hmt-border);
  padding: 56px 24px 48px;
  text-align: center;
  width: 100%;
  display: block;
}

#hmt-root .hmt-hero-inner {
  max-width: 660px;
  margin: 0 auto;
}

#hmt-root .hmt-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--hmt-blue-mid);
  color: var(--hmt-blue);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}

#hmt-root .hmt-hero-badge svg {
  width: 13px;
  height: 13px;
  flex-shrink: 0;
}

#hmt-root .hmt-hero h1 {
  font-size: clamp(2rem, 5vw, 3rem) !important;
  font-weight: 900 !important;
  color: var(--hmt-text) !important;
  line-height: 1.12 !important;
  letter-spacing: -.03em !important;
  margin-bottom: 16px !important;
}

#hmt-root .hmt-hero h1 span {
  color: var(--hmt-blue);
}

#hmt-root .hmt-hero p {
  font-size: 1.05rem;
  color: var(--hmt-text-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════
   PAGE WRAPPER
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 32px 24px 100px;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   STEPS STRIP
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-steps {
  display: flex;
  margin: 0 0 24px;
  border: 1px solid var(--hmt-border);
  border-radius: var(--hmt-radius);
  overflow: hidden;
  box-shadow: var(--hmt-shadow);
  background: #fff;
}

#hmt-root .hmt-step {
  flex: 1;
  padding: 22px 18px;
  text-align: center;
  border-right: 1px solid var(--hmt-border);
  background: #fff;
}

#hmt-root .hmt-step:last-child {
  border-right: none;
}

#hmt-root .hmt-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--hmt-blue);
  color: #fff;
  font-size: .85rem;
  font-weight: 800;
  margin: 0 auto 10px;
}

#hmt-root .hmt-step:nth-child(2) .hmt-step-num { background: var(--hmt-green); }
#hmt-root .hmt-step:nth-child(3) .hmt-step-num { background: var(--hmt-orange); }

#hmt-root .hmt-step h4 {
  font-size: .9rem !important;
  font-weight: 700 !important;
  color: var(--hmt-text) !important;
  margin-bottom: 5px !important;
}

#hmt-root .hmt-step p {
  font-size: .8rem;
  color: var(--hmt-text-3);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════════
   STATS BAR
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-stats-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
  width: 100%;
}

#hmt-root .hmt-stat-card {
  background: #fff;
  border: 1px solid var(--hmt-border);
  border-radius: var(--hmt-radius);
  padding: 22px 18px;
  text-align: center;
  box-shadow: var(--hmt-shadow);
  transition: var(--hmt-tr);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}

#hmt-root .hmt-stat-card:hover {
  border-color: var(--hmt-blue-mid);
  box-shadow: var(--hmt-shadow-md);
  transform: translateY(-1px);
}

#hmt-root .hmt-stat-val {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--hmt-blue);
  letter-spacing: -.03em;
  line-height: 1;
  font-family: var(--hmt-mono);
}

#hmt-root .hmt-stat-card:nth-child(2) .hmt-stat-val { color: var(--hmt-green); }
#hmt-root .hmt-stat-card:nth-child(3) .hmt-stat-val { color: var(--hmt-orange); }

#hmt-root .hmt-stat-lbl {
  font-size: .72rem;
  font-weight: 700;
  color: var(--hmt-text-3);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   ERROR BANNER
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-error-banner {
  padding: 11px 18px;
  background: var(--hmt-red-light);
  border: 1px solid #fecaca;
  border-radius: var(--hmt-radius-sm);
  color: var(--hmt-red);
  font-size: .84rem;
  font-weight: 500;
  margin-bottom: 14px;
  display: none;
}

#hmt-root .hmt-error-banner.visible {
  display: block;
}

/* ══════════════════════════════════════════════════════════════════
   MAIN GRID
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start;
  width: 100%;
}

/* ── Left editor column ── */
#hmt-root .hmt-editor-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}

/* ══════════════════════════════════════════════════════════════════
   CARDS
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-card {
  background: #fff;
  border: 1px solid var(--hmt-border);
  border-radius: var(--hmt-radius);
  box-shadow: var(--hmt-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

#hmt-root .hmt-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--hmt-border);
  background: var(--hmt-surface-2);
  gap: 8px;
  flex-wrap: wrap;
  min-height: 50px;
}

#hmt-root .hmt-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .88rem;
  font-weight: 700;
  color: var(--hmt-text);
}

#hmt-root .hmt-card-title svg {
  width: 16px;
  height: 16px;
  color: var(--hmt-blue);
  flex-shrink: 0;
}

#hmt-root .hmt-card-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   DROP ZONE
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-drop-zone {
  border: 2px dashed var(--hmt-border-2);
  border-radius: var(--hmt-radius-sm);
  padding: 24px 20px;
  text-align: center;
  cursor: pointer;
  transition: var(--hmt-tr);
  margin: 14px 14px 0;
  background: var(--hmt-surface-2);
}

#hmt-root .hmt-drop-zone:hover,
#hmt-root .hmt-drop-zone.dragover {
  border-color: var(--hmt-blue);
  background: var(--hmt-blue-light);
}

#hmt-root .hmt-drop-zone svg {
  width: 30px;
  height: 30px;
  color: var(--hmt-text-3);
  margin: 0 auto 10px;
  display: block;
  transition: var(--hmt-tr);
}

#hmt-root .hmt-drop-zone.dragover svg { color: var(--hmt-blue); }

#hmt-root .hmt-drop-zone p {
  font-size: .88rem;
  color: var(--hmt-text-2);
  margin-bottom: 4px !important;
}

#hmt-root .hmt-drop-zone span {
  font-size: .76rem;
  color: var(--hmt-text-3);
}

#hmt-root .hmt-drop-zone input[type="file"] { display: none; }

/* ══════════════════════════════════════════════════════════════════
   TEXTAREA & CODE
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-textarea {
  width: 100%;
  min-height: 220px;
  padding: 16px;
  border: none;
  border-top: 1px solid var(--hmt-border);
  resize: vertical;
  font-family: var(--hmt-mono) !important;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--hmt-text);
  background: #fff;
  outline: none;
  display: block;
  margin-top: 12px;
}

#hmt-root .hmt-textarea::placeholder {
  color: var(--hmt-text-3);
}

#hmt-root .hmt-code-output {
  background: var(--hmt-code-bg);
  color: var(--hmt-code-text);
  font-family: var(--hmt-mono) !important;
  font-size: .82rem;
  line-height: 1.7;
  padding: 18px;
  min-height: 200px;
  max-height: 480px;
  overflow-x: auto;
  overflow-y: auto;
  white-space: pre-wrap;
  word-break: break-all;
  display: block;
  margin: 0;
}

#hmt-root .hmt-code-output.empty {
  color: #475569;
  font-style: italic;
}

/* ══════════════════════════════════════════════════════════════════
   TABS
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-tabs {
  display: flex;
  border-bottom: 1px solid var(--hmt-border);
  background: var(--hmt-surface-2);
  overflow-x: auto;
  scrollbar-width: none;
}

#hmt-root .hmt-tabs::-webkit-scrollbar { display: none; }

#hmt-root .hmt-tab {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 11px 18px;
  font-size: .83rem;
  font-weight: 600;
  color: var(--hmt-text-3);
  border: none;
  background: transparent;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color .15s, border-color .15s;
  white-space: nowrap;
  font-family: var(--hmt-font) !important;
  line-height: 1;
}

#hmt-root .hmt-tab:hover { color: var(--hmt-blue); }
#hmt-root .hmt-tab.active {
  color: var(--hmt-blue);
  border-bottom-color: var(--hmt-blue);
  background: #fff;
}

#hmt-root .hmt-tab svg { width: 14px; height: 14px; flex-shrink: 0; }

#hmt-root .hmt-tab-panel { display: none; }
#hmt-root .hmt-tab-panel.active { display: block; }

/* ══════════════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: var(--hmt-radius-xs);
  font-size: .82rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--hmt-tr);
  font-family: var(--hmt-font) !important;
  white-space: nowrap;
  line-height: 1.2;
  text-decoration: none !important;
  vertical-align: middle;
}

#hmt-root .hmt-btn svg { width: 14px; height: 14px; flex-shrink: 0; }

#hmt-root .hmt-btn-primary {
  background: var(--hmt-blue);
  color: #fff !important;
  border-color: var(--hmt-blue);
  box-shadow: 0 1px 4px rgba(37,99,235,.3);
}
#hmt-root .hmt-btn-primary:hover {
  background: var(--hmt-blue-dark);
  border-color: var(--hmt-blue-dark);
  box-shadow: 0 3px 10px rgba(37,99,235,.4);
  transform: translateY(-1px);
  color: #fff !important;
}

#hmt-root .hmt-btn-success {
  background: var(--hmt-green);
  color: #fff !important;
  border-color: var(--hmt-green);
  box-shadow: 0 1px 4px rgba(22,163,74,.3);
}
#hmt-root .hmt-btn-success:hover {
  background: var(--hmt-green-dark);
  border-color: var(--hmt-green-dark);
  transform: translateY(-1px);
  color: #fff !important;
}

#hmt-root .hmt-btn-outline {
  background: #fff;
  color: var(--hmt-text-2) !important;
  border-color: var(--hmt-border-2);
}
#hmt-root .hmt-btn-outline:hover {
  border-color: var(--hmt-blue);
  color: var(--hmt-blue) !important;
  background: var(--hmt-blue-light);
}

#hmt-root .hmt-btn-ghost {
  background: transparent;
  color: var(--hmt-text-3) !important;
  border-color: transparent;
}
#hmt-root .hmt-btn-ghost:hover {
  background: var(--hmt-surface-3);
  color: var(--hmt-text-2) !important;
}

#hmt-root .hmt-btn-lg {
  padding: 11px 22px;
  font-size: .9rem;
}

#hmt-root .hmt-btn:disabled {
  opacity: .45;
  cursor: not-allowed;
  pointer-events: none;
}

/* ══════════════════════════════════════════════════════════════════
   ACTION BAR
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-action-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-top: 1px solid var(--hmt-border);
  background: var(--hmt-surface-2);
  flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════════════════
   PREVIEW
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-preview-iframe {
  width: 100%;
  min-height: 340px;
  border: none;
  display: block;
  background: #fff;
}

#hmt-root .hmt-preview-empty {
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--hmt-text-3);
  font-size: .9rem;
  gap: 12px;
  background: var(--hmt-surface-2);
}

#hmt-root .hmt-preview-empty svg { width: 38px; height: 38px; opacity: .35; }

/* ══════════════════════════════════════════════════════════════════
   DIFF
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-diff-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 340px;
}

#hmt-root .hmt-diff-pane { overflow: auto; }

#hmt-root .hmt-diff-before {
  background: #fff5f5;
  border-right: 1px solid #fecaca;
}

#hmt-root .hmt-diff-after { background: #f0fdf4; }

#hmt-root .hmt-diff-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: 9px 16px;
  border-bottom: 1px solid var(--hmt-border);
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--hmt-font);
  position: sticky;
  top: 0;
}

#hmt-root .hmt-diff-before .hmt-diff-label {
  background: #fee2e2;
  color: #991b1b;
  border-bottom-color: #fecaca;
}

#hmt-root .hmt-diff-after .hmt-diff-label {
  background: #dcfce7;
  color: #166534;
  border-bottom-color: var(--hmt-green-mid);
}

/* ══════════════════════════════════════════════════════════════════
   OPTIONS SIDEBAR
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-options {
  display: flex;
  flex-direction: column;
  gap: 14px;
  position: sticky;
  top: 24px;
}

#hmt-root .hmt-options-card {
  background: #fff;
  border: 1px solid var(--hmt-border);
  border-radius: var(--hmt-radius);
  box-shadow: var(--hmt-shadow);
  overflow: hidden;
}

#hmt-root .hmt-options-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--hmt-surface-2);
  border-bottom: 1px solid var(--hmt-border);
  font-size: .84rem;
  font-weight: 700;
  color: var(--hmt-text);
}

#hmt-root .hmt-options-header svg {
  width: 15px;
  height: 15px;
  color: var(--hmt-blue);
  flex-shrink: 0;
}

#hmt-root .hmt-options-body {
  padding: 8px 12px;
  display: flex;
  flex-direction: column;
}

/* ══════════════════════════════════════════════════════════════════
   TOGGLES
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 6px;
  border-radius: 6px;
  cursor: pointer;
  transition: background .12s;
  gap: 8px;
}

#hmt-root .hmt-toggle-row:hover { background: var(--hmt-surface-3); }

#hmt-root .hmt-toggle-label {
  font-size: .82rem;
  font-weight: 500;
  color: var(--hmt-text-2);
  user-select: none;
  flex: 1;
}

#hmt-root .hmt-toggle {
  position: relative;
  display: inline-block;
  width: 38px;
  height: 22px;
  flex-shrink: 0;
}

#hmt-root .hmt-toggle input {
  opacity: 0;
  width: 0;
  height: 0;
  position: absolute;
}

#hmt-root .hmt-toggle-slider {
  position: absolute;
  inset: 0;
  background: #cbd5e1;
  border-radius: 999px;
  transition: background .2s;
  cursor: pointer;
}

#hmt-root .hmt-toggle-slider::before {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  left: 3px;
  top: 3px;
  background: #fff;
  border-radius: 50%;
  transition: transform .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.25);
}

#hmt-root .hmt-toggle input:checked + .hmt-toggle-slider { background: var(--hmt-blue); }
#hmt-root .hmt-toggle input:checked + .hmt-toggle-slider::before { transform: translateX(16px); }

/* ══════════════════════════════════════════════════════════════════
   SAVINGS BADGE
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-savings-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: var(--hmt-green-light);
  border: 1px solid var(--hmt-green-mid);
  color: var(--hmt-green);
  font-size: .76rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  letter-spacing: .02em;
  white-space: nowrap;
}

/* ══════════════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-toast {
  position: fixed;
  bottom: 28px;
  right: 28px;
  background: #0f172a;
  color: #e2e8f0;
  padding: 11px 20px;
  border-radius: var(--hmt-radius-sm);
  font-size: .85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 24px rgba(0,0,0,.35);
  z-index: 99999;
  transform: translateY(90px);
  opacity: 0;
  transition: all .25s cubic-bezier(.4,0,.2,1);
  pointer-events: none;
  font-family: var(--hmt-font);
}

#hmt-root .hmt-toast.show { transform: translateY(0); opacity: 1; }
#hmt-root .hmt-toast svg { width: 15px; height: 15px; color: #4ade80; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════════════
   SEO SECTION
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-seo {
  margin-top: 60px;
  border-top: 1px solid var(--hmt-border);
  padding-top: 52px;
}

#hmt-root .hmt-section-title {
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  color: var(--hmt-text) !important;
  margin-bottom: 24px !important;
  letter-spacing: -.02em !important;
}

#hmt-root .hmt-seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 52px;
}

#hmt-root .hmt-seo-block {
  background: #fff;
  border: 1px solid var(--hmt-border);
  border-radius: var(--hmt-radius);
  padding: 24px;
  box-shadow: var(--hmt-shadow);
  transition: var(--hmt-tr);
}

#hmt-root .hmt-seo-block:hover {
  border-color: var(--hmt-blue-mid);
  box-shadow: var(--hmt-shadow-md);
  transform: translateY(-2px);
}

#hmt-root .hmt-seo-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--hmt-radius-sm);
  background: var(--hmt-blue-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--hmt-blue);
}

#hmt-root .hmt-seo-icon svg { width: 20px; height: 20px; }

#hmt-root .hmt-seo-block h3 {
  font-size: .95rem !important;
  font-weight: 700 !important;
  color: var(--hmt-text) !important;
  margin-bottom: 8px !important;
}

#hmt-root .hmt-seo-block p {
  font-size: .85rem;
  color: var(--hmt-text-2);
  line-height: 1.65;
}

/* ── FAQ ── */
#hmt-root .hmt-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 52px;
}

#hmt-root .hmt-faq-item {
  background: #fff;
  border: 1px solid var(--hmt-border);
  border-radius: var(--hmt-radius-sm);
  overflow: hidden;
  box-shadow: var(--hmt-shadow);
}

#hmt-root .hmt-faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--hmt-text);
  cursor: pointer;
  user-select: none;
  transition: background .15s;
}

#hmt-root .hmt-faq-q:hover { background: var(--hmt-surface-2); }

#hmt-root .hmt-faq-q svg {
  width: 16px;
  height: 16px;
  color: var(--hmt-text-3);
  flex-shrink: 0;
  transition: transform .2s;
}

#hmt-root .hmt-faq-item.open .hmt-faq-q svg { transform: rotate(180deg); }

#hmt-root .hmt-faq-a {
  display: none;
  padding: 14px 20px 18px;
  font-size: .87rem;
  color: var(--hmt-text-2);
  line-height: 1.7;
  border-top: 1px solid var(--hmt-border);
}

#hmt-root .hmt-faq-item.open .hmt-faq-a { display: block; }

/* ══════════════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════════════ */
#hmt-root .hmt-mb-16 { margin-bottom: 16px; }
#hmt-root .hmt-mt-12 { margin-top: 12px; }

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE - Tablet ≤ 960px
══════════════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  #hmt-root .hmt-grid {
    grid-template-columns: 1fr;
  }

  #hmt-root .hmt-options {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  #hmt-root .hmt-seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ══════════════════════════════════════════════════════════════════
   RESPONSIVE - Mobile ≤ 640px
══════════════════════════════════════════════════════════════════ */
@media (max-width: 640px) {
  #hmt-root .hmt-hero { padding: 36px 16px 30px; }

  #hmt-root .hmt-page { padding: 18px 14px 110px; }

  #hmt-root .hmt-stats-bar {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  #hmt-root .hmt-stat-card:last-child { grid-column: span 2; }

  #hmt-root .hmt-steps { flex-direction: column; }

  #hmt-root .hmt-step {
    border-right: none;
    border-bottom: 1px solid var(--hmt-border);
  }
  #hmt-root .hmt-step:last-child { border-bottom: none; }

  #hmt-root .hmt-options { grid-template-columns: 1fr; }

  #hmt-root .hmt-action-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: #fff;
    border-top: 2px solid var(--hmt-border);
    box-shadow: 0 -4px 24px rgba(0,0,0,.12);
    border-radius: 0;
    padding: 10px 16px;
    justify-content: stretch;
  }

  #hmt-root .hmt-action-bar .hmt-btn-lg {
    flex: 1;
    justify-content: center;
  }

  #hmt-root .hmt-diff-wrap { grid-template-columns: 1fr; }

  #hmt-root .hmt-diff-before {
    border-right: none;
    border-bottom: 1px solid #fecaca;
  }

  #hmt-root .hmt-card-header {
    flex-direction: column;
    align-items: flex-start;
  }

  #hmt-root .hmt-seo-grid { grid-template-columns: 1fr; }

  #hmt-root .hmt-tab { padding: 10px 12px; font-size: .79rem; }
}
