/* Doc2Img — shared styles */

:root {
  --bg: #f7f8fc;
  --surface: #ffffff;
  --surface-2: #f2f4f9;
  --ink: #0d1220;
  --ink-2: #39415a;
  --muted: #6b7387;
  --line: #e5e8f0;
  --line-strong: #d5dae6;
  --brand: #4f46e5;
  --brand-2: #0ea5e9;
  --brand-soft: #eef2ff;
  --ok: #0f9d58;
  --ok-soft: #e9f8ef;
  --danger: #d92d20;
  --danger-soft: #fef3f2;
  --warn: #b45309;
  --warn-soft: #fffaeb;
  --radius-lg: 22px;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(16, 24, 40, 0.05);
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 18px 40px -18px rgba(16, 24, 40, 0.22);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans SC", Roboto, Helvetica, Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
}

svg {
  display: block;
}

.wrap {
  width: min(1140px, calc(100% - 48px));
  margin: 0 auto;
}

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 248, 252, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(229, 232, 240, 0.9);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 64px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.brand:hover {
  text-decoration: none;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  box-shadow: 0 4px 12px -4px rgba(79, 70, 229, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.nav a {
  padding: 7px 11px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--ink-2);
  white-space: nowrap;
}

.nav a:hover {
  background: var(--surface-2);
  text-decoration: none;
  color: var(--ink);
}

.nav a[aria-current="page"] {
  color: var(--brand);
  background: var(--brand-soft);
  font-weight: 600;
}

.lang-switch {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
}

.lang-switch a {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 13px;
  color: var(--muted);
}

.lang-switch a:hover {
  text-decoration: none;
  color: var(--ink);
}

.lang-switch a[aria-current="true"] {
  background: var(--ink);
  color: #fff;
  font-weight: 600;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 36px;
  text-align: center;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  pointer-events: none;
}

.hero::before {
  width: 480px;
  height: 480px;
  top: -240px;
  left: 50%;
  margin-left: -520px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.22), transparent 65%);
}

.hero::after {
  width: 520px;
  height: 520px;
  top: -200px;
  left: 50%;
  margin-left: 40px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.18), transparent 65%);
}

.hero .wrap {
  position: relative;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px 5px 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
}

.pill svg {
  color: var(--ok);
}

h1 {
  margin: 18px 0 12px;
  font-size: clamp(30px, 4.6vw, 46px);
  line-height: 1.16;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.lede {
  max-width: 660px;
  margin: 0 auto;
  font-size: 17px;
  color: var(--ink-2);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.hero-meta svg {
  color: var(--brand);
}

/* ---------- tool ---------- */

.tool-section {
  padding: 8px 0 56px;
}

.tool-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 22px;
  align-items: start;
}

.tool-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 22px;
}

.dropzone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 188px;
  padding: 28px 20px;
  border: 1.5px dashed var(--line-strong);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #fbfcff, #f7f9fd);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.dropzone:hover {
  border-color: #b9c2d8;
  background: #f8faff;
}

.dropzone.is-over {
  border-color: var(--brand);
  background: var(--brand-soft);
  transform: translateY(-1px);
}

.dropzone.is-busy {
  pointer-events: none;
  opacity: 0.65;
}

.dropzone-icon {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  margin-bottom: 6px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  color: var(--brand);
}

.dropzone-title {
  font-size: 15px;
  font-weight: 650;
}

.dropzone-sub {
  font-size: 13px;
  color: var(--muted);
}

.dropzone-browse {
  color: var(--brand);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dropzone input[type="file"] {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  cursor: pointer;
}

.file-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.file-chips:empty {
  display: none;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  padding: 6px 8px 6px 12px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  font-size: 13px;
  color: var(--ink-2);
}

.chip-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 240px;
}

.chip-size {
  color: var(--muted);
  font-size: 12px;
}

.chip button {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e4e8f2;
  color: var(--ink-2);
  cursor: pointer;
  font-size: 13px;
  line-height: 1;
}

.chip button:hover {
  background: #d8deea;
}

.controls {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 16px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.control {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.control-label {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--muted);
}

.segmented {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 11px;
  background: var(--surface-2);
  border: 1px solid var(--line);
}

.segmented button {
  padding: 8px 6px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink-2);
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.segmented button:hover {
  color: var(--ink);
}

.segmented button[aria-pressed="true"] {
  background: var(--surface);
  color: var(--brand);
  box-shadow: 0 1px 3px rgba(16, 24, 40, 0.12);
}

select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  cursor: pointer;
}

.quality-row {
  display: none;
  flex-direction: row;
  align-items: center;
  gap: 12px;
}

.controls .quality-row {
  grid-column: 1 / -1;
}

.quality-row.is-visible {
  display: flex;
  flex-direction: row;
}

.quality-row .control-label {
  flex: 0 0 auto;
  white-space: nowrap;
}

input[type="range"] {
  flex: 1;
  accent-color: var(--brand);
}

.quality-value {
  min-width: 42px;
  text-align: right;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}

.hint {
  font-size: 12px;
  color: var(--muted);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #6366f1 60%, var(--brand-2));
  color: #fff;
  box-shadow: 0 10px 24px -12px rgba(79, 70, 229, 0.9);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px -12px rgba(79, 70, 229, 0.95);
}

.btn-primary:disabled {
  background: #c7cbe0;
  box-shadow: none;
  cursor: not-allowed;
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--line-strong);
  color: var(--ink);
}

.btn-ghost:hover {
  background: var(--surface-2);
}

.btn-block {
  width: 100%;
  margin-top: 18px;
}

.progress {
  display: none;
  margin-top: 16px;
}

.progress.is-visible {
  display: block;
}

.progress-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 7px;
  font-size: 13px;
  color: var(--ink-2);
}

.progress-track {
  height: 7px;
  border-radius: 999px;
  background: var(--surface-2);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--brand-2));
  transition: width 0.25s ease;
}

.alert {
  display: none;
  margin-top: 14px;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  border: 1px solid transparent;
}

.alert.is-visible {
  display: block;
}

.alert-error {
  background: var(--danger-soft);
  border-color: #fbd5d1;
  color: #912018;
}

.alert-warn {
  background: var(--warn-soft);
  border-color: #fde3b3;
  color: #8a4b08;
}

.results {
  display: none;
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.results.is-visible {
  display: block;
}

.results-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.results-title {
  font-size: 15px;
  font-weight: 700;
}

.results-title .hint {
  margin-left: 8px;
  font-weight: 500;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: 12px;
}

.result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.result-card:hover {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.result-thumb {
  display: grid;
  place-items: center;
  height: 132px;
  padding: 8px;
  background:
    linear-gradient(45deg, #f1f3f9 25%, transparent 25%, transparent 75%, #f1f3f9 75%),
    linear-gradient(45deg, #f1f3f9 25%, transparent 25%, transparent 75%, #f1f3f9 75%);
  background-size: 16px 16px;
  background-position: 0 0, 8px 8px;
  background-color: #fafbfe;
}

.result-thumb img {
  max-height: 116px;
  width: auto;
  object-fit: contain;
  box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
  background: #fff;
}

.result-body {
  padding: 9px 11px 11px;
}

.result-name {
  font-size: 12.5px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-meta {
  margin-top: 2px;
  font-size: 11.5px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.result-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 7px;
  font-size: 12.5px;
  font-weight: 600;
}

/* ---------- aside ---------- */

.tool-aside {
  display: grid;
  gap: 14px;
}

.aside-card {
  padding: 16px 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.aside-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.aside-card h3 svg {
  color: var(--brand);
}

.aside-card p {
  margin: 0;
  font-size: 12.5px;
  color: var(--muted);
}

.aside-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
  font-size: 12.5px;
  color: var(--ink-2);
}

.aside-list li {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--line);
}

.aside-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.aside-list b {
  font-weight: 650;
  font-variant-numeric: tabular-nums;
}

/* ---------- content ---------- */

.content {
  padding: 8px 0 72px;
}

.section {
  margin-bottom: 52px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 22px;
}

h2 {
  margin: 0 0 10px;
  font-size: 24px;
  letter-spacing: -0.02em;
  line-height: 1.3;
}

h3 {
  margin: 0 0 6px;
  font-size: 16px;
  letter-spacing: -0.01em;
}

.section p {
  margin: 0 0 12px;
  color: var(--ink-2);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.step {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.step-num {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  margin-bottom: 10px;
  border-radius: 8px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
}

.step p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

th,
td {
  padding: 11px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  white-space: nowrap;
}

th {
  background: var(--surface-2);
  font-weight: 650;
  color: var(--ink-2);
  font-size: 12px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

tr:last-child td {
  border-bottom: 0;
}

td.num {
  font-variant-numeric: tabular-nums;
}

.faq {
  display: grid;
  gap: 10px;
  max-width: 820px;
}

details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  padding: 0 16px;
}

details[open] {
  border-color: var(--line-strong);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 14.5px;
  font-weight: 650;
  cursor: pointer;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 18px;
  font-weight: 400;
  color: var(--muted);
  line-height: 1;
}

details[open] summary::after {
  content: "–";
}

details p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.related {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.related-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  color: var(--ink);
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}

.related-card:hover {
  text-decoration: none;
  border-color: #c4cbe0;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.related-card span {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}

.note {
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid #fde3b3;
  background: var(--warn-soft);
  color: #8a4b08;
  font-size: 13.5px;
}

.note strong {
  font-weight: 700;
}

/* ---------- footer ---------- */

.site-footer {
  border-top: 1px solid var(--line);
  background: var(--surface);
  padding: 34px 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: var(--muted);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--ink-2);
}

/* ---------- home ---------- */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.tool-tile {
  display: flex;
  flex-direction: column;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--ink);
  box-shadow: var(--shadow-sm);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.tool-tile:hover {
  text-decoration: none;
  transform: translateY(-3px);
  border-color: #c4cbe0;
  box-shadow: var(--shadow);
}

.tool-tile-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 14px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.tool-tile h3 {
  margin-bottom: 6px;
  font-size: 17px;
}

.tool-tile p {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--muted);
}

.tool-tile .go {
  margin-top: auto;
  font-size: 13px;
  font-weight: 650;
  color: var(--brand);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.value {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}

.value h3 {
  font-size: 14.5px;
}

.value p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- helpers ---------- */

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

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
}

/* ---------- responsive ---------- */

@media (max-width: 980px) {
  .tool-wrap {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-aside {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }

  .header-inner {
    height: 58px;
    gap: 12px;
  }

  .nav {
    display: none;
  }

  .lang-switch {
    margin-left: auto;
  }

  .hero {
    padding: 42px 0 26px;
    text-align: left;
  }

  .lede {
    margin: 0;
  }

  .hero-meta {
    justify-content: flex-start;
  }

  .tool-card {
    padding: 16px;
  }

  .controls {
    grid-template-columns: minmax(0, 1fr);
  }

  .tool-aside {
    grid-template-columns: minmax(0, 1fr);
  }

  .steps,
  .tool-grid,
  .related {
    grid-template-columns: minmax(0, 1fr);
  }

  .value-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .results-head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- merge options ---------- */

.controls .merge-row {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 18px;
}

.controls .precise-row {
  grid-column: 1 / -1;
  display: block;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 11px;
  background: var(--surface-2);
}

.controls .precise-row[hidden],
.precise-row .precise-hint[hidden] {
  display: none;
}

.precise-row .precise-hint {
  margin: 8px 0 0;
  font-weight: 400;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  user-select: none;
}

.check input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin: 0;
  accent-color: var(--brand);
  cursor: pointer;
}

.merge-options {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 12px 16px;
}

.note[hidden] {
  display: none;
}

.merge-options[hidden] {
  display: none;
}

.merge-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.merge-field select {
  width: auto;
  min-width: 118px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
}

.merge-field .control-label {
  font-size: 11px;
}

.merge-options .check {
  padding-bottom: 9px;
}

.merge-hint {
  flex: 1 0 100%;
  margin: 0;
}

.merge-hint[hidden] {
  display: none;
}
