.zmt-image-enhance-page .site-content,
.zmt-image-enhance-page .container,
.zmt-image-enhance-page .container-fluid,
.zmt-image-enhance-page .main-content { max-width: none !important; width: 100% !important; padding-left: 0 !important; padding-right: 0 !important; }
.zmt-image-enhance-page .article-header,
.zmt-image-enhance-page .article-title,
.zmt-image-enhance-page .article-footer { display: none !important; }

.zmt-image-enhance {
  --ie-ink: #13243a;
  --ie-muted: #63738a;
  --ie-line: rgba(19, 36, 58, .1);
  --ie-blue: #1769ff;
  --ie-cyan: #00a8e8;
  --ie-orange: #ff6b2c;
  --ie-soft: #f4f8ff;
  position: relative;
  width: min(1780px, calc(100vw - 72px));
  margin: 34px auto 80px;
  color: var(--ie-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.zmt-image-enhance *, .zmt-image-enhance *::before, .zmt-image-enhance *::after { box-sizing: border-box; }
.zmt-image-enhance button, .zmt-image-enhance input { font: inherit; }
.zmt-image-enhance button { min-height: 44px; cursor: pointer; }
.zmt-image-enhance button:focus-visible, .zmt-image-enhance input:focus-visible, .zmt-image-enhance label[tabindex]:focus-visible, .zmt-image-enhance summary:focus-visible { outline: 3px solid rgba(23, 105, 255, .26); outline-offset: 3px; }
.zmt-image-enhance [hidden] { display: none !important; }

.zmt-ie-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 42px;
  overflow: hidden;
  padding: 56px 60px 44px;
  border: 1px solid rgba(15, 71, 135, .1);
  border-radius: 32px;
  background:
    radial-gradient(circle at 86% 8%, rgba(23, 105, 255, .14), transparent 29%),
    radial-gradient(circle at 68% 78%, rgba(0, 168, 232, .08), transparent 32%),
    linear-gradient(135deg, #fff 12%, #f7faff 68%, #f3f7ff);
  box-shadow: 0 1px 2px rgba(18, 40, 75, .05), 0 18px 50px rgba(35, 75, 130, .1);
}
.zmt-ie-hero::after { content: ""; position: absolute; right: -90px; top: -150px; width: 330px; height: 330px; border: 1px solid rgba(23, 105, 255, .12); border-radius: 50%; pointer-events: none; }
.zmt-ie-hero-copy { position: relative; z-index: 1; min-width: 0; }
.zmt-ie-eyebrow, .zmt-ie-controls-heading > span, .zmt-ie-result-heading > div > span { display: block; margin-bottom: 16px; color: var(--ie-blue); font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.zmt-ie-hero h1 { max-width: 820px; margin: 0; font-size: clamp(38px, 3.2vw, 58px); line-height: 1.12; letter-spacing: -.035em; text-wrap: balance; }
.zmt-ie-hero-copy > p { max-width: 930px; margin: 22px 0 0; color: var(--ie-muted); font-size: 18px; line-height: 1.85; text-wrap: pretty; }
.zmt-ie-benefits { display: flex; flex-wrap: wrap; gap: 14px 28px; margin: 26px 0 0; padding: 0; list-style: none; color: #3b4b62; font-size: 15px; font-weight: 700; }
.zmt-ie-benefits li { display: inline-flex; align-items: center; gap: 9px; }
.zmt-ie-benefits i { display: grid; width: 22px; height: 22px; place-items: center; color: #fff; background: linear-gradient(135deg, #00b47b, #08a6a9); border-radius: 50%; font-style: normal; font-size: 12px; }
.zmt-ie-steps { display: flex; align-items: center; gap: 8px; margin: 32px 0 0; padding: 0; list-style: none; }
.zmt-ie-steps li { display: inline-flex; align-items: center; gap: 10px; min-height: 42px; padding: 6px 14px 6px 7px; color: #77859a; border: 1px solid transparent; border-radius: 21px; font-size: 14px; font-weight: 750; }
.zmt-ie-steps b { display: grid; width: 28px; height: 28px; place-items: center; background: #e8edf5; border-radius: 50%; font-size: 13px; font-variant-numeric: tabular-nums; }
.zmt-ie-steps .is-active { color: #124fb8; background: #eaf2ff; border-color: rgba(23, 105, 255, .12); }
.zmt-ie-steps .is-active b { color: #fff; background: linear-gradient(135deg, var(--ie-blue), var(--ie-cyan)); box-shadow: 0 5px 14px rgba(23, 105, 255, .24); }

.zmt-ie-service { position: relative; z-index: 1; align-self: stretch; display: grid; grid-template-columns: 1fr 1fr; align-content: center; gap: 14px; padding: 24px; color: #fff; border-radius: 24px; background: linear-gradient(145deg, #112945, #173d67); box-shadow: 0 2px 4px rgba(4, 22, 43, .14), 0 18px 32px rgba(9, 38, 71, .18); }
.zmt-ie-service-state, .zmt-ie-quota { min-width: 0; }
.zmt-ie-service-state { display: flex; align-items: center; gap: 10px; }
.zmt-ie-service-state small, .zmt-ie-quota small { display: block; color: rgba(255,255,255,.62); font-size: 12px; }
.zmt-ie-service-state strong { display: block; margin-top: 4px; font-size: 15px; }
.zmt-ie-dot { width: 11px; height: 11px; flex: 0 0 auto; background: #f0a43a; border: 3px solid rgba(255,255,255,.24); border-radius: 50%; box-shadow: 0 0 0 5px rgba(240,164,58,.1); }
.zmt-ie-dot.is-ready { background: #32dc98; }
.zmt-ie-dot.is-error { background: #ff6876; }
.zmt-ie-quota { padding-left: 14px; border-left: 1px solid rgba(255,255,255,.12); }
.zmt-ie-quota b { display: block; margin-top: 2px; font-size: 25px; line-height: 1.1; font-variant-numeric: tabular-nums; }
.zmt-ie-quota b i { margin: 0 3px; color: rgba(255,255,255,.38); font-style: normal; font-size: 15px; }
.zmt-ie-quota em { color: rgba(255,255,255,.55); font-style: normal; font-size: 11px; }
.zmt-ie-service > p { grid-column: 1 / -1; margin: 0; padding-top: 13px; color: rgba(255,255,255,.72); border-top: 1px solid rgba(255,255,255,.1); font-size: 12px; line-height: 1.55; text-wrap: pretty; }

.zmt-ie-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(440px, .72fr); gap: 24px; align-items: start; margin-top: 24px; }
.zmt-ie-editor, .zmt-ie-controls { min-width: 0; padding: 26px; border: 1px solid var(--ie-line); border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(19,36,58,.04), 0 16px 42px rgba(40,72,112,.08); }
.zmt-ie-file-input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%); white-space: nowrap; }
.zmt-ie-dropzone { display: grid; min-height: 610px; place-items: center; align-content: center; gap: 14px; padding: 56px; text-align: center; border: 2px dashed rgba(23, 105, 255, .28); border-radius: 22px; background: radial-gradient(circle at 50% 45%, rgba(23,105,255,.07), transparent 28%), linear-gradient(150deg, #fbfdff, #f4f8ff); transition: border-color .18s ease, background-color .18s ease, transform .12s ease, box-shadow .18s ease; }
.zmt-ie-dropzone:hover, .zmt-ie-dropzone.is-dragging { border-color: var(--ie-blue); box-shadow: inset 0 0 0 4px rgba(23,105,255,.05); }
.zmt-ie-dropzone:active { transform: scale(.996); }
.zmt-ie-upload-icon { display: grid; width: 82px; height: 82px; place-items: center; color: #fff; background: linear-gradient(145deg, var(--ie-blue), var(--ie-cyan)); border-radius: 25px; box-shadow: 0 12px 25px rgba(23,105,255,.25); }
.zmt-ie-upload-icon svg { width: 40px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zmt-ie-dropzone strong { margin-top: 8px; font-size: 22px; }
.zmt-ie-dropzone > span:not(.zmt-ie-upload-icon) { max-width: 560px; color: var(--ie-muted); font-size: 14px; line-height: 1.7; }
.zmt-ie-dropzone em { min-height: 44px; padding: 12px 25px; color: var(--ie-blue); background: #eaf2ff; border-radius: 14px; font-style: normal; font-weight: 800; }

.zmt-ie-preview > header, .zmt-ie-result-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 2px 20px; }
.zmt-ie-preview > header div span { display: block; color: var(--ie-blue); font-size: 12px; font-weight: 800; }
.zmt-ie-preview > header strong { display: block; max-width: 620px; margin-top: 5px; overflow: hidden; font-size: 17px; text-overflow: ellipsis; white-space: nowrap; }
.zmt-ie-preview > header small { display: block; margin-top: 4px; color: var(--ie-muted); font-variant-numeric: tabular-nums; }
.zmt-ie-text-button { padding: 0 16px; color: #40516a; background: #f4f6f9; border: 1px solid var(--ie-line); border-radius: 13px; font-weight: 750; transition: color .16s ease, border-color .16s ease, background-color .16s ease, transform .12s ease; }
.zmt-ie-text-button:hover { color: var(--ie-blue); border-color: rgba(23,105,255,.25); background: #f1f6ff; }
.zmt-ie-text-button:active { transform: scale(.96); }
.zmt-ie-preview-stage { display: grid; min-height: 525px; max-height: 680px; place-items: center; overflow: hidden; border: 1px solid rgba(0,0,0,.1); border-radius: 19px; background-color: #eff3f8; background-image: linear-gradient(45deg,#dce3ed 25%,transparent 25%),linear-gradient(-45deg,#dce3ed 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#dce3ed 75%),linear-gradient(-45deg,transparent 75%,#dce3ed 75%); background-position: 0 0,0 10px,10px -10px,-10px 0; background-size: 20px 20px; }
.zmt-ie-preview-stage img { display: block; max-width: 100%; max-height: 680px; object-fit: contain; outline: 1px solid rgba(0,0,0,.1); }
.zmt-ie-preview > footer { display: grid; grid-template-columns: auto auto 1fr; align-items: center; gap: 12px; min-height: 64px; margin-top: 14px; padding: 12px 16px; border-radius: 15px; background: #f5f8fc; }
.zmt-ie-preview > footer span { color: var(--ie-muted); font-size: 12px; font-weight: 700; }
.zmt-ie-preview > footer strong { color: var(--ie-blue); font-size: 16px; font-variant-numeric: tabular-nums; }
.zmt-ie-preview > footer small { justify-self: end; color: var(--ie-muted); }

.zmt-ie-controls { display: grid; gap: 22px; }
.zmt-ie-controls-heading { padding: 4px 3px 0; }
.zmt-ie-controls-heading > span { margin-bottom: 10px; }
.zmt-ie-controls-heading h2 { margin: 0; font-size: 25px; letter-spacing: -.02em; text-wrap: balance; }
.zmt-ie-controls-heading p { margin: 10px 0 0; color: var(--ie-muted); line-height: 1.65; text-wrap: pretty; }
.zmt-ie-mode-fieldset { margin: 0; padding: 0; border: 0; }
.zmt-ie-mode-fieldset legend { margin-bottom: 10px; font-size: 13px; font-weight: 800; }
.zmt-ie-modes { display: grid; gap: 12px; }
.zmt-ie-mode-card {
  position: relative;
  display: grid !important;
  grid-template-columns: 58px minmax(0, 1fr) 24px !important;
  grid-template-areas: "visual copy state" !important;
  align-items: center !important;
  gap: 15px !important;
  width: 100% !important;
  min-height: 112px;
  margin: 0 !important;
  padding: 16px !important;
  color: var(--ie-ink);
  background: #fff;
  border: 0 !important;
  border-radius: 20px;
  box-shadow: 0 0 0 1px rgba(19,36,58,.1), 0 1px 2px rgba(19,36,58,.04), 0 7px 18px rgba(37,65,99,.035);
  cursor: pointer;
  writing-mode: horizontal-tb;
  text-align: left !important;
  transition-property: transform, box-shadow, background-color;
  transition-duration: 160ms;
  transition-timing-function: cubic-bezier(.2,0,0,1);
}
.zmt-ie-mode-card:hover { transform: translateY(-2px); background: #fbfdff; box-shadow: 0 0 0 1px rgba(23,105,255,.24), 0 3px 7px rgba(19,36,58,.06), 0 14px 26px rgba(37,84,150,.08); }
.zmt-ie-mode-card:active { transform: scale(.96); }
.zmt-ie-mode-card.is-active { background: linear-gradient(135deg, #f4f8ff 0%, #eef8ff 100%); box-shadow: 0 0 0 2px rgba(23,105,255,.82), 0 4px 9px rgba(23,105,255,.08), 0 16px 30px rgba(23,105,255,.12); }
.zmt-ie-mode-card:has(input:focus-visible) { outline: 3px solid rgba(23,105,255,.25); outline-offset: 4px; }
.zmt-ie-mode-card > input { position: absolute !important; width: 1px !important; height: 1px !important; margin: 0 !important; overflow: hidden; opacity: 0; clip-path: inset(50%); }
.zmt-ie-mode-visual { grid-area: visual; display: grid !important; width: 58px; height: 58px; place-items: center; align-content: center; color: #34506f; background: linear-gradient(145deg, #f0f4f9, #e8eef6); border-radius: 17px; box-shadow: inset 0 0 0 1px rgba(19,36,58,.05); transition-property: color, background-color, box-shadow, transform; transition-duration: 180ms; transition-timing-function: cubic-bezier(.2,0,0,1); }
.zmt-ie-mode-visual svg { width: 29px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.zmt-ie-mode-visual > strong, .zmt-ie-mode-visual > small { display: block; line-height: 1; }
.zmt-ie-mode-visual > strong { color: inherit; font-size: 19px; font-weight: 900; letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.zmt-ie-mode-visual > small { margin-top: 5px; color: #718198; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.zmt-ie-mode-card.is-active .zmt-ie-mode-visual { color: #fff; background: linear-gradient(145deg, var(--ie-blue), var(--ie-cyan)); box-shadow: 0 10px 19px rgba(23,105,255,.22); transform: rotate(-2deg); }
.zmt-ie-mode-card.is-active .zmt-ie-mode-visual > small { color: rgba(255,255,255,.76); }
.zmt-ie-mode-copy { grid-area: copy; display: block !important; min-width: 0; }
.zmt-ie-mode-title { display: flex !important; align-items: center; flex-wrap: wrap; gap: 7px; }
.zmt-ie-mode-title > b { color: var(--ie-ink); font-size: 16px; line-height: 1.25; text-wrap: balance; }
.zmt-ie-mode-title > em { padding: 4px 7px; color: #fff; background: linear-gradient(105deg, #ff6b2c, #ff3f7a); border-radius: 7px; box-shadow: 0 4px 10px rgba(255,79,80,.18); font-style: normal; font-size: 9px; font-weight: 850; line-height: 1; letter-spacing: .04em; }
.zmt-ie-mode-copy > small { display: block; margin-top: 6px; color: var(--ie-muted); font-size: 11px; line-height: 1.5; text-wrap: pretty; }
.zmt-ie-mode-output { display: inline-flex !important; align-items: center; gap: 6px; min-height: 25px; margin-top: 9px; padding: 4px 8px; color: #475c76; background: rgba(232,238,246,.78); border-radius: 8px; font-size: 10px; }
.zmt-ie-mode-output i { color: #8491a3; font-style: normal; font-weight: 700; }
.zmt-ie-mode-output strong { font-weight: 850; font-variant-numeric: tabular-nums; }
.zmt-ie-mode-card.is-active .zmt-ie-mode-output { color: #145bb9; background: rgba(255,255,255,.88); box-shadow: 0 0 0 1px rgba(23,105,255,.08); }
.zmt-ie-mode-state { position: relative; grid-area: state; display: grid !important; width: 24px; height: 24px; place-items: center; border-radius: 50%; }
.zmt-ie-mode-state i, .zmt-ie-mode-state b { position: absolute; display: grid; width: 22px; height: 22px; place-items: center; border-radius: inherit; transition-property: transform, opacity, filter;
  transition-duration: 260ms; transition-timing-function: cubic-bezier(.2,0,0,1); }
.zmt-ie-mode-state i { background: #fff; box-shadow: inset 0 0 0 1.5px rgba(19,36,58,.2); opacity: 1; transform: scale(1); filter: blur(0); }
.zmt-ie-mode-state b { color: #fff; background: linear-gradient(145deg, var(--ie-blue), var(--ie-cyan)); box-shadow: 0 5px 12px rgba(23,105,255,.24); font-size: 12px; opacity: 0; transform: scale(.25); filter: blur(4px); }
.zmt-ie-mode-card.is-active .zmt-ie-mode-state i { opacity: 0; transform: scale(.25); filter: blur(4px); }
.zmt-ie-mode-card.is-active .zmt-ie-mode-state b { opacity: 1; transform: scale(1); filter: blur(0); }

.zmt-ie-tuning { padding: 17px; border: 1px solid rgba(0,168,232,.16); border-radius: 18px; background: #f4fbff; }
.zmt-ie-tuning-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.zmt-ie-tuning h3 { margin: 0; font-size: 14px; }
.zmt-ie-presets { display: flex; gap: 4px; padding: 3px; background: #e8f2f8; border-radius: 10px; }
.zmt-ie-presets button { min-height: 34px; padding: 0 9px; color: #60728a; background: transparent; border: 0; border-radius: 8px; font-size: 11px; font-weight: 750; transition: color .15s ease, background-color .15s ease, box-shadow .15s ease, transform .12s ease; }
.zmt-ie-presets button.is-active { color: #0b6e9d; background: #fff; box-shadow: 0 2px 7px rgba(24,75,105,.1); }
.zmt-ie-presets button:active { transform: scale(.96); }
.zmt-ie-range { display: block; margin-top: 17px; }
.zmt-ie-range > span { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 12px; }
.zmt-ie-range output { color: var(--ie-blue); font-weight: 800; font-variant-numeric: tabular-nums; }
.zmt-ie-range input { width: 100%; accent-color: var(--ie-blue); cursor: pointer; }
.zmt-ie-mode-advice { display: grid; grid-template-columns: 40px minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 15px; border-radius: 18px; background: linear-gradient(135deg, #f7f9fc, #f2f6fb); box-shadow: inset 0 0 0 1px rgba(19,36,58,.045); }
.zmt-ie-advice-icon { display: grid; width: 40px; height: 40px; place-items: center; color: #fff; background: linear-gradient(145deg, #556a87, #7890ad); border-radius: 13px; box-shadow: 0 7px 15px rgba(49,71,99,.14); }
.zmt-ie-advice-icon svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.zmt-ie-mode-advice p { min-width: 0; margin: 0; }
.zmt-ie-mode-advice b, .zmt-ie-mode-advice small { display: block; }
.zmt-ie-mode-advice b { font-size: 13px; text-wrap: balance; }
.zmt-ie-mode-advice small { margin-top: 4px; color: var(--ie-muted); line-height: 1.55; text-wrap: pretty; }
.zmt-ie-mode-advice > em { padding: 6px 8px; color: #4f6178; background: rgba(255,255,255,.88); border-radius: 9px; box-shadow: 0 0 0 1px rgba(19,36,58,.06); font-style: normal; font-size: 9px; font-weight: 850; white-space: nowrap; }
.zmt-ie-rights-panel { border: 1px solid var(--ie-line); border-radius: 15px; background: #fafbfd; }
.zmt-ie-rights-panel summary { min-height: 46px; padding: 13px 15px; cursor: pointer; font-size: 13px; font-weight: 800; }
.zmt-ie-rights-panel summary small { float: right; color: #8a97a9; font-weight: 500; }
.zmt-ie-rights-panel fieldset { display: grid; gap: 9px; margin: 0; padding: 4px 15px 12px; border: 0; }
.zmt-ie-rights-panel legend { margin-bottom: 5px; color: var(--ie-muted); font-size: 11px; }
.zmt-ie-rights-panel label { display: flex; gap: 8px; align-items: center; min-height: 32px; font-size: 12px; }
.zmt-ie-rights-panel p { margin: 0; padding: 12px 15px; color: var(--ie-muted); border-top: 1px solid var(--ie-line); font-size: 11px; line-height: 1.55; }

.zmt-ie-primary, .zmt-ie-secondary, .zmt-ie-danger { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px; border-radius: 14px; font-weight: 800; transition: transform .12s ease, box-shadow .17s ease, filter .17s ease, background-color .17s ease, border-color .17s ease; }
.zmt-ie-primary { color: #fff; background: linear-gradient(105deg, var(--ie-blue), #3154f5 58%, #7048ed); border: 0; box-shadow: 0 10px 22px rgba(35,80,238,.25); }
.zmt-ie-controls > .zmt-ie-primary { min-height: 54px; font-size: 16px; }
.zmt-ie-primary:hover { filter: brightness(1.06); box-shadow: 0 13px 27px rgba(35,80,238,.3); }
.zmt-ie-primary:active, .zmt-ie-secondary:active, .zmt-ie-danger:active { transform: scale(.96); }
.zmt-ie-primary:disabled { cursor: not-allowed; filter: grayscale(.5); opacity: .48; box-shadow: none; }
.zmt-ie-secondary { color: #43546c; background: #f3f6f9; border: 1px solid var(--ie-line); }
.zmt-ie-danger { color: #b83c2b; background: #fff2ee; border: 1px solid rgba(210,67,42,.15); }
.zmt-ie-danger.is-confirming { color: #fff; background: #d94c34; border-color: #d94c34; }
.zmt-ie-note { margin: -10px 0 0; color: var(--ie-muted); text-align: center; font-size: 11px; }

.zmt-ie-progress, .zmt-ie-result { margin-top: 24px; border: 1px solid var(--ie-line); border-radius: 28px; background: #fff; box-shadow: 0 1px 2px rgba(19,36,58,.04), 0 16px 42px rgba(40,72,112,.08); }
.zmt-ie-progress { padding: 24px 28px; }
.zmt-ie-progress > div:first-child { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; }
.zmt-ie-progress p { margin: 0; }
.zmt-ie-progress p strong, .zmt-ie-progress p small { display: block; }
.zmt-ie-progress p small { margin-top: 4px; color: var(--ie-muted); }
.zmt-ie-progress > div > b { font-variant-numeric: tabular-nums; }
.zmt-ie-spinner { width: 28px; height: 28px; border: 3px solid #dbe8ff; border-top-color: var(--ie-blue); border-radius: 50%; animation: zmt-ie-spin .8s linear infinite; }
@keyframes zmt-ie-spin { to { transform: rotate(360deg); } }
.zmt-ie-progress-track { height: 8px; margin-top: 18px; overflow: hidden; background: #e9eef5; border-radius: 4px; }
.zmt-ie-progress-track span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, var(--ie-blue), var(--ie-cyan)); border-radius: inherit; transition: width .22s ease; }

.zmt-ie-result { overflow: hidden; }
.zmt-ie-result-heading { padding: 26px 28px; }
.zmt-ie-result-heading > div > span { margin-bottom: 8px; }
.zmt-ie-result-heading h2 { margin: 0; font-size: 25px; }
.zmt-ie-result-heading p { margin: 7px 0 0; color: var(--ie-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.zmt-ie-result-actions { display: flex; flex-wrap: wrap; gap: 9px; justify-content: flex-end; }
.zmt-ie-compare { --compare: 50%; --zoom: 1; position: relative; height: min(68vh, 760px); min-height: 520px; overflow: auto; background: #111a27; }
.zmt-ie-compare img { position: absolute; left: 50%; top: 50%; display: block; max-width: calc(100% - 40px); max-height: calc(100% - 40px); object-fit: contain; outline: 1px solid rgba(0,0,0,.1); transform: translate(-50%,-50%) scale(var(--zoom)); transform-origin: center; }
.zmt-ie-original-clip { position: absolute; inset: 0 auto 0 0; width: var(--compare); overflow: hidden; }
.zmt-ie-original-clip img { max-width: none; width: calc(100vw - 112px); height: calc(100% - 40px); object-fit: contain; }
.zmt-ie-compare-handle { position: absolute; left: var(--compare); top: 0; bottom: 0; width: 3px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.14); transform: translateX(-50%); pointer-events: none; }
.zmt-ie-compare-handle i { position: absolute; left: 50%; top: 50%; display: grid; width: 44px; height: 44px; place-items: center; color: var(--ie-blue); background: #fff; border-radius: 50%; box-shadow: 0 6px 20px rgba(0,0,0,.25); font-style: normal; transform: translate(-50%,-50%); }
.zmt-ie-compare > input[type="range"] { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.zmt-ie-label { position: absolute; z-index: 2; top: 18px; padding: 7px 11px; color: #fff; background: rgba(10,20,35,.74); border-radius: 9px; font-size: 12px; font-weight: 800; backdrop-filter: blur(8px); }
.zmt-ie-label-before { left: 18px; }
.zmt-ie-label-after { right: 18px; }
.zmt-ie-result-only-badge { display: none; position: absolute; z-index: 2; left: 50%; top: 18px; padding: 8px 12px; color: #fff; background: rgba(10,20,35,.75); border-radius: 10px; font-size: 12px; transform: translateX(-50%); }
.zmt-ie-compare.is-result-only .zmt-ie-original-clip, .zmt-ie-compare.is-result-only .zmt-ie-compare-handle, .zmt-ie-compare.is-result-only > input, .zmt-ie-compare.is-result-only .zmt-ie-label-before { display: none; }
.zmt-ie-compare.is-result-only .zmt-ie-result-only-badge { display: block; }
.zmt-ie-result-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 70px; padding: 13px 24px; }
.zmt-ie-zoom { display: flex; gap: 4px; padding: 4px; background: #edf1f6; border-radius: 11px; }
.zmt-ie-zoom button { min-height: 36px; padding: 0 12px; color: #65758a; background: transparent; border: 0; border-radius: 8px; font-size: 12px; font-weight: 750; }
.zmt-ie-zoom button.is-active { color: var(--ie-blue); background: #fff; box-shadow: 0 2px 7px rgba(26,48,78,.1); }
.zmt-ie-expiry { margin: 0; color: var(--ie-muted); font-size: 12px; }
.zmt-ie-toast { position: fixed; z-index: 99990; left: 50%; bottom: 28px; min-width: 260px; max-width: 520px; padding: 13px 18px; color: #fff; background: #122239; border-radius: 13px; text-align: center; box-shadow: 0 14px 38px rgba(10,25,45,.25); transform: translateX(-50%); }
.zmt-ie-toast.is-error { background: #b73f33; }
.zmt-ie-desktop-notice { display: none; }

@media (max-width: 1280px) and (min-width: 1024px) {
  .zmt-image-enhance { width: calc(100vw - 40px); }
  .zmt-ie-hero { grid-template-columns: minmax(0,1fr) 290px; padding: 42px; }
  .zmt-ie-layout { grid-template-columns: minmax(0,1fr) 390px; }
  .zmt-ie-dropzone { min-height: 520px; }
  .zmt-ie-result-actions { max-width: 500px; }
}
@media (max-width: 1023px) {
  .zmt-image-enhance { display: none !important; }
  .zmt-ie-desktop-notice { display: flex; gap: 18px; width: calc(100% - 30px); margin: 24px auto; padding: 28px; color: #13243a; border: 1px solid rgba(19,36,58,.1); border-radius: 24px; background: #fff; box-shadow: 0 14px 36px rgba(40,72,112,.1); }
  .zmt-ie-desktop-notice > span { display: grid; width: 52px; height: 52px; flex: 0 0 auto; place-items: center; color: #fff; background: linear-gradient(135deg,#1769ff,#00a8e8); border-radius: 16px; }
  .zmt-ie-desktop-notice svg { width: 28px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .zmt-ie-desktop-notice small { color: #1769ff; font-weight: 800; }
  .zmt-ie-desktop-notice h1 { margin: 6px 0 10px; font-size: 22px; }
  .zmt-ie-desktop-notice p { margin: 0 0 14px; color: #63738a; line-height: 1.7; }
  .zmt-ie-desktop-notice a { color: #1769ff; font-weight: 800; text-decoration: none; }
}
@media (prefers-reduced-motion: reduce) {
  .zmt-image-enhance *, .zmt-image-enhance *::before, .zmt-image-enhance *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
