.zmt-image-collage-page .site-content,
.zmt-image-collage-page .container,
.zmt-image-collage-page .article-content {
  max-width: none;
  width: 100%;
}

.zmt-image-collage-page .article-header,
.zmt-image-collage-page .article-footer {
  display: none;
}

.zmt-ic,
.zmt-ic * {
  box-sizing: border-box;
}

.zmt-ic [hidden] {
  display: none !important;
}

.zmt-ic {
  --ic-ink: #10233f;
  --ic-muted: #66768e;
  --ic-blue: #1478ff;
  --ic-blue-dark: #075dd8;
  --ic-cyan: #08b9d4;
  --ic-surface: #fff;
  --ic-soft: #f3f8fd;
  --ic-line: rgba(16, 35, 63, .1);
  --ic-shadow: 0 22px 65px rgba(28, 74, 125, .13), 0 2px 8px rgba(20, 45, 78, .05);
  width: min(1780px, calc(100vw - 32px));
  margin: 26px auto 56px;
  color: var(--ic-ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.zmt-ic button,
.zmt-ic input,
.zmt-ic select {
  font: inherit;
}

.zmt-ic button,
.zmt-ic a,
.zmt-ic label[for] {
  -webkit-tap-highlight-color: transparent;
}

.zmt-ic button {
  color: inherit;
}

.zmt-ic button:focus-visible,
.zmt-ic a:focus-visible,
.zmt-ic input:focus-visible,
.zmt-ic select:focus-visible,
.zmt-ic [tabindex]:focus-visible {
  outline: 3px solid rgba(20, 120, 255, .3);
  outline-offset: 2px;
}

.zmt-ic button:active,
.zmt-ic a:active,
.zmt-ic label[for]:active {
  transform: scale(.96);
}

.zmt-ic svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zmt-ic-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 178px;
  margin-bottom: 18px;
  padding: 30px 34px;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at 75% 10%, rgba(72, 220, 242, .2), transparent 28%),
    linear-gradient(125deg, #071a35 0%, #0b3472 54%, #075c9e 100%);
  box-shadow: 0 20px 50px rgba(7, 42, 88, .2);
  color: #fff;
}

.zmt-ic-hero::after {
  position: absolute;
  right: 26%;
  bottom: -72px;
  width: 220px;
  height: 220px;
  border: 36px solid rgba(255, 255, 255, .045);
  border-radius: 50%;
  content: "";
}

.zmt-ic-hero-copy {
  position: relative;
  z-index: 1;
  max-width: 780px;
}

.zmt-ic-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 10px;
  color: #a9eefa;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
}

.zmt-ic-eyebrow i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ee6ef;
  box-shadow: 0 0 0 6px rgba(78, 230, 239, .12);
}

.zmt-ic-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(30px, 3vw, 46px);
  font-weight: 800;
  letter-spacing: -.035em;
  line-height: 1.13;
  text-wrap: balance;
}

.zmt-ic-hero p {
  max-width: 720px;
  margin: 12px 0 17px;
  color: rgba(233, 245, 255, .8);
  font-size: 16px;
  line-height: 1.65;
  text-wrap: pretty;
}

.zmt-ic-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zmt-ic-hero-tags span {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 99px;
  background: rgba(255, 255, 255, .08);
  color: #eef8ff;
  font-size: 12px;
}

.zmt-ic-privacy-card {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  width: 310px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 20px;
  background: rgba(255, 255, 255, .1);
  box-shadow: 0 15px 40px rgba(0, 14, 42, .18);
  backdrop-filter: blur(14px);
}

.zmt-ic-privacy-card svg {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(79, 229, 239, .16);
  color: #66f0f4;
}

.zmt-ic-privacy-card b,
.zmt-ic-privacy-card span {
  display: block;
}

.zmt-ic-privacy-card b {
  margin-bottom: 4px;
  font-size: 14px;
}

.zmt-ic-privacy-card span {
  color: rgba(235, 247, 255, .72);
  font-size: 12px;
  line-height: 1.5;
}

.zmt-ic-app {
  overflow: hidden;
  border-radius: 26px;
  background: var(--ic-surface);
  box-shadow: var(--ic-shadow);
}

.zmt-ic-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 10px 14px 10px 18px;
  border-bottom: 1px solid var(--ic-line);
  background: rgba(255, 255, 255, .96);
}

.zmt-ic-mode-tabs,
.zmt-ic-toolbar-actions,
.zmt-ic-zoom {
  display: flex;
  align-items: center;
  gap: 6px;
}

.zmt-ic-mode-tabs {
  padding: 5px;
  border-radius: 16px;
  background: #edf4fb;
}

.zmt-ic-mode-tabs button,
.zmt-ic-toolbar-actions button,
.zmt-ic-zoom button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  gap: 8px;
  padding: 0 13px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  font-size: 13px;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .14s ease;
}

.zmt-ic-mode-tabs button svg,
.zmt-ic-toolbar-actions button svg {
  width: 19px;
  height: 19px;
}

.zmt-ic-mode-tabs button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 4px 13px rgba(20, 64, 108, .12);
  color: var(--ic-blue);
}

.zmt-ic-toolbar-actions button:hover:not(:disabled),
.zmt-ic-zoom button:hover:not(:disabled) {
  background: var(--ic-soft);
  color: var(--ic-blue);
}

.zmt-ic-toolbar-actions button:disabled,
.zmt-ic-clear:disabled {
  cursor: not-allowed;
  opacity: .38;
}

.zmt-ic-toolbar-actions .zmt-ic-download {
  padding: 0 17px;
  background: linear-gradient(135deg, var(--ic-blue), #08a8d8);
  box-shadow: 0 9px 20px rgba(20, 120, 255, .22);
  color: #fff;
}

.zmt-ic-toolbar-actions .zmt-ic-download:hover {
  background: linear-gradient(135deg, var(--ic-blue-dark), #058bad);
  color: #fff;
}

.zmt-ic-workspace {
  display: grid;
  grid-template-columns: 272px minmax(480px, 1fr) 322px;
  min-height: 720px;
  background: #eaf1f8;
}

.zmt-ic-assets,
.zmt-ic-inspector {
  position: relative;
  z-index: 2;
  padding: 18px;
  background: #fff;
}

.zmt-ic-assets {
  border-right: 1px solid var(--ic-line);
}

.zmt-ic-inspector {
  border-left: 1px solid var(--ic-line);
}

.zmt-ic-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  margin-bottom: 14px;
}

.zmt-ic-panel-head span,
.zmt-ic-panel-head b {
  display: block;
}

.zmt-ic-panel-head span {
  color: var(--ic-blue);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.zmt-ic-panel-head b {
  margin-top: 2px;
  font-size: 16px;
}

.zmt-ic-panel-head output {
  color: var(--ic-muted);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.zmt-ic-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 150px;
  padding: 18px;
  border: 1px dashed rgba(20, 120, 255, .38);
  border-radius: 18px;
  background: linear-gradient(145deg, #f5faff, #edf8fb);
  color: var(--ic-blue);
  cursor: pointer;
  text-align: center;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .14s ease;
}

button.zmt-ic-dropzone {
  font: inherit;
}

.zmt-ic-dropzone:hover,
.zmt-ic-dropzone.is-dragging {
  border-color: var(--ic-blue);
  box-shadow: inset 0 0 0 2px rgba(20, 120, 255, .08), 0 10px 24px rgba(20, 120, 255, .1);
}

.zmt-ic-dropzone.is-locked {
  color: #71839a;
}

.zmt-ic-dropzone svg {
  width: 34px;
  height: 34px;
  margin-bottom: 10px;
}

.zmt-ic-dropzone b,
.zmt-ic-dropzone span,
.zmt-ic-dropzone small {
  display: block;
}

.zmt-ic-dropzone b {
  color: var(--ic-ink);
  font-size: 14px;
}

.zmt-ic-dropzone span {
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
}

.zmt-ic-dropzone small {
  margin-top: 8px;
  color: var(--ic-muted);
  font-size: 11px;
}

.zmt-ic-assets-empty {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 18px;
  padding: 13px;
  border-radius: 14px;
  background: #f7f9fc;
}

.zmt-ic-assets-empty > span {
  color: #99a7b9;
  font-size: 11px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.zmt-ic-assets-empty p {
  margin: 0;
  color: var(--ic-muted);
  font-size: 12px;
  line-height: 1.55;
  text-wrap: pretty;
}

.zmt-ic-thumbs {
  display: grid;
  gap: 8px;
  max-height: 390px;
  margin: 14px 0 0;
  padding: 0 3px 0 0;
  overflow: auto;
  list-style: none;
}

.zmt-ic-thumb {
  display: grid;
  grid-template-columns: 28px 58px minmax(0, 1fr) 44px;
  align-items: center;
  min-height: 68px;
  padding: 6px 4px 6px 7px;
  border: 1px solid transparent;
  border-radius: 14px;
  background: #f7f9fc;
  cursor: grab;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease, transform .14s ease;
}

.zmt-ic-thumb:hover,
.zmt-ic-thumb.is-selected {
  border-color: rgba(20, 120, 255, .22);
  background: #f1f7ff;
  box-shadow: 0 7px 18px rgba(22, 67, 117, .08);
}

.zmt-ic-thumb.is-dragging {
  opacity: .48;
}

.zmt-ic-thumb-handle {
  color: #9aa8b9;
  font-size: 16px;
  text-align: center;
}

.zmt-ic-thumb img {
  width: 58px;
  height: 54px;
  border-radius: 9px;
  object-fit: cover;
  outline: 1px solid rgba(0, 0, 0, .1);
  outline-offset: -1px;
}

.zmt-ic-thumb-copy {
  min-width: 0;
  padding-left: 9px;
}

.zmt-ic-thumb-copy b,
.zmt-ic-thumb-copy span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zmt-ic-thumb-copy b {
  font-size: 12px;
}

.zmt-ic-thumb-copy span {
  margin-top: 3px;
  color: var(--ic-muted);
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.zmt-ic-thumb button,
.zmt-ic-clear {
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, transform .14s ease;
}

.zmt-ic-thumb button:hover {
  background: #fff;
  color: #e64b5d;
}

.zmt-ic-clear {
  width: 100%;
  margin-top: 13px;
  color: var(--ic-muted);
  font-size: 12px;
}

.zmt-ic-clear:not(:disabled):hover {
  background: #fff1f3;
  color: #cf2f44;
}

.zmt-ic-stage {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: 14px 18px 10px;
}

.zmt-ic-stage-head,
.zmt-ic-stage-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 48px;
}

.zmt-ic-stage-head span,
.zmt-ic-stage-head strong {
  display: block;
}

.zmt-ic-stage-head span {
  color: var(--ic-muted);
  font-size: 11px;
}

.zmt-ic-stage-head strong {
  margin-top: 2px;
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.zmt-ic-zoom {
  gap: 2px;
  padding: 3px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
}

.zmt-ic-zoom button {
  min-width: 38px;
  min-height: 38px;
  padding: 0;
  font-size: 18px;
}

.zmt-ic-zoom output {
  min-width: 48px;
  color: var(--ic-muted);
  font-size: 11px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.zmt-ic-canvas-area {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 570px;
  padding: 34px;
  overflow: auto;
  border-radius: 20px;
  background-color: #dfe8f1;
  background-image: linear-gradient(45deg, rgba(255, 255, 255, .35) 25%, transparent 25%), linear-gradient(-45deg, rgba(255, 255, 255, .35) 25%, transparent 25%), linear-gradient(45deg, transparent 75%, rgba(255, 255, 255, .35) 75%), linear-gradient(-45deg, transparent 75%, rgba(255, 255, 255, .35) 75%);
  background-position: 0 0, 0 8px, 8px -8px, -8px 0;
  background-size: 16px 16px;
  box-shadow: inset 0 0 0 1px rgba(11, 35, 63, .06);
}

.zmt-ic-canvas-area canvas {
  max-width: none;
  background: transparent;
  box-shadow: 0 18px 50px rgba(29, 62, 94, .2), 0 2px 8px rgba(21, 44, 68, .1);
  touch-action: none;
  user-select: none;
}

.zmt-ic-empty-canvas {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 390px;
  padding: 32px;
  text-align: center;
}

.zmt-ic-empty-art {
  display: grid;
  grid-template-columns: repeat(2, 38px);
  gap: 6px;
  margin-bottom: 22px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 36px rgba(40, 80, 121, .12);
}

.zmt-ic-empty-art i {
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(145deg, #9cd9ff, #55a9f2);
}

.zmt-ic-empty-art i:nth-child(2) { background: linear-gradient(145deg, #a5f2ea, #42c5cf); }
.zmt-ic-empty-art i:nth-child(3) { background: linear-gradient(145deg, #d0c0ff, #8c75e9); }
.zmt-ic-empty-art i:nth-child(4) { background: linear-gradient(145deg, #ffc89a, #f09e65); }

.zmt-ic-empty-canvas b {
  font-size: 17px;
}

.zmt-ic-empty-canvas > span {
  margin: 8px 0 17px;
  color: var(--ic-muted);
  font-size: 12px;
  line-height: 1.6;
  text-wrap: pretty;
}

.zmt-ic-empty-canvas button {
  min-width: 118px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 73, 119, .12);
  color: var(--ic-blue);
  cursor: pointer;
  font-weight: 700;
  transition: box-shadow .18s ease, transform .14s ease;
}

.zmt-ic-stage-foot {
  min-height: 42px;
  color: var(--ic-muted);
  font-size: 10px;
}

.zmt-ic-stage-foot span:first-child {
  color: #207f6f;
  font-weight: 700;
}

.zmt-ic-stage-foot span:first-child[data-tone="error"] {
  color: #c52c44;
}

.zmt-ic-drop-overlay {
  position: absolute;
  inset: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--ic-blue);
  border-radius: 18px;
  background: rgba(238, 248, 255, .92);
  color: var(--ic-blue);
  pointer-events: none;
}

.zmt-ic-inspector-scroll {
  max-height: 650px;
  padding-right: 3px;
  overflow: auto;
}

.zmt-ic-control-section {
  padding: 16px 0;
  border-top: 1px solid var(--ic-line);
}

.zmt-ic-control-section:first-child {
  padding-top: 3px;
  border-top: 0;
}

.zmt-ic-control-section h2 {
  margin: 0 0 12px;
  color: var(--ic-ink);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
}

.zmt-ic-segment {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 3px;
  padding: 4px;
  border-radius: 13px;
  background: #edf3f8;
}

.zmt-ic-segment button,
.zmt-ic-secondary,
.zmt-ic-icon-grid button,
.zmt-ic-layer-actions button,
.zmt-ic-item-actions button {
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  transition: background-color .18s ease, color .18s ease, box-shadow .18s ease, transform .14s ease;
}

.zmt-ic-segment button.is-active {
  background: #fff;
  box-shadow: 0 3px 9px rgba(21, 58, 96, .1);
  color: var(--ic-blue);
}

.zmt-ic-secondary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 7px;
  margin-top: 8px;
  background: #f5f8fb;
  color: #47607d;
}

.zmt-ic-secondary:hover {
  background: #edf6ff;
  color: var(--ic-blue);
}

.zmt-ic-secondary svg {
  width: 16px;
  height: 16px;
}

.zmt-ic-field {
  display: grid;
  gap: 6px;
  color: var(--ic-muted);
  font-size: 11px;
}

.zmt-ic-field + .zmt-ic-field {
  margin-top: 9px;
}

.zmt-ic-field select,
.zmt-ic-field > div {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ic-line);
  border-radius: 11px;
  background: #f8fafc;
}

.zmt-ic-field select {
  padding: 0 11px;
  color: var(--ic-ink);
}

.zmt-ic-field > div {
  display: flex;
  align-items: center;
  padding: 0 10px;
}

.zmt-ic-field input[type="number"] {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ic-ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.zmt-ic-field em {
  color: #94a1b0;
  font-size: 10px;
  font-style: normal;
}

.zmt-ic-dimension-row {
  display: grid;
  grid-template-columns: 1fr 14px 1fr;
  align-items: end;
  gap: 5px;
  margin-top: 10px;
}

.zmt-ic-dimension-row > span {
  padding-bottom: 14px;
  color: #99a7b7;
  text-align: center;
}

.zmt-ic-range {
  display: block;
  margin-top: 12px;
}

.zmt-ic-range > span {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  color: var(--ic-muted);
  font-size: 11px;
}

.zmt-ic-range output {
  color: var(--ic-ink);
  font-variant-numeric: tabular-nums;
}

.zmt-ic-range input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 10px 0;
  accent-color: var(--ic-blue);
  cursor: pointer;
}

.zmt-ic-background-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 13px;
}

.zmt-ic-background-row > label:first-child {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 10px;
  color: var(--ic-muted);
  font-size: 11px;
}

.zmt-ic-background-row input[type="color"] {
  width: 44px;
  height: 36px;
  padding: 3px;
  border: 1px solid var(--ic-line);
  border-radius: 10px;
  background: #fff;
  cursor: pointer;
}

.zmt-ic-check {
  display: flex;
  align-items: center;
  min-height: 44px;
  gap: 7px;
  color: var(--ic-muted);
  font-size: 11px;
  cursor: pointer;
}

.zmt-ic-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--ic-blue);
}

.zmt-ic-icon-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 10px;
}

.zmt-ic-icon-grid button {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  background: #f5f8fb;
  color: #526982;
}

.zmt-ic-icon-grid button:hover {
  background: #edf6ff;
  color: var(--ic-blue);
}

.zmt-ic-icon-grid svg {
  width: 18px;
  height: 18px;
  margin-bottom: 5px;
}

.zmt-ic-layer-actions,
.zmt-ic-item-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 8px;
}

.zmt-ic-layer-actions button,
.zmt-ic-item-actions button {
  background: #f5f8fb;
  color: #526982;
}

.zmt-ic-item-actions {
  grid-template-columns: repeat(3, 1fr);
}

.zmt-ic-item-actions .is-danger {
  color: #d23b50;
}

.zmt-ic-layer-actions button:hover,
.zmt-ic-item-actions button:hover {
  background: #edf6ff;
  color: var(--ic-blue);
}

.zmt-ic-item-actions .is-danger:hover {
  background: #fff0f2;
  color: #c52038;
}

.zmt-ic-export-note {
  margin: 10px 0 0;
  color: var(--ic-muted);
  font-size: 10px;
  line-height: 1.55;
  text-wrap: pretty;
}

.zmt-ic-dialog {
  width: min(420px, calc(100vw - 32px));
  padding: 32px;
  border: 0;
  border-radius: 24px;
  box-shadow: 0 30px 90px rgba(9, 30, 61, .28);
  color: var(--ic-ink);
  text-align: center;
}

.zmt-ic-dialog::backdrop {
  background: rgba(7, 22, 43, .55);
  backdrop-filter: blur(5px);
}

.zmt-ic-dialog[open] {
  animation: zmt-ic-dialog-in .24s cubic-bezier(.2, .8, .2, 1);
}

.zmt-ic-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-width: 44px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #f3f6f9;
  cursor: pointer;
  font-size: 21px;
}

.zmt-ic-dialog-icon {
  display: grid;
  place-items: center;
  width: 66px;
  height: 66px;
  margin: 0 auto 18px;
  border-radius: 20px;
  background: linear-gradient(145deg, #e3f3ff, #e4fcfb);
  color: var(--ic-blue);
}

.zmt-ic-dialog-icon svg {
  width: 34px;
  height: 34px;
  animation: zmt-ic-icon-in .3s cubic-bezier(.2, .8, .2, 1);
}

.zmt-ic-dialog h2 {
  margin: 0;
  font-size: 22px;
  text-wrap: balance;
}

.zmt-ic-dialog p {
  margin: 10px 0 20px;
  color: var(--ic-muted);
  font-size: 13px;
  line-height: 1.65;
  text-wrap: pretty;
}

.zmt-ic-dialog-action,
.zmt-ic-dialog-cancel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 0;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .18s ease, box-shadow .18s ease, transform .14s ease;
}

.zmt-ic-dialog-action {
  background: linear-gradient(135deg, var(--ic-blue), var(--ic-cyan));
  box-shadow: 0 10px 24px rgba(20, 120, 255, .22);
  color: #fff;
}

.zmt-ic-dialog-cancel {
  width: 100%;
  margin-top: 7px;
  background: transparent;
  color: var(--ic-muted);
}

.zmt-ic-desktop-notice {
  display: none;
  padding: 52px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--ic-shadow);
  text-align: center;
}

.zmt-ic-desktop-notice svg {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  color: var(--ic-blue);
}

.zmt-ic-desktop-notice h2 {
  margin: 0;
  font-size: 22px;
  text-wrap: balance;
}

.zmt-ic-desktop-notice p {
  max-width: 480px;
  margin: 10px auto 0;
  color: var(--ic-muted);
  line-height: 1.65;
  text-wrap: pretty;
}

@keyframes zmt-ic-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes zmt-ic-icon-in {
  from { opacity: 0; filter: blur(4px); transform: scale(.25); }
  to { opacity: 1; filter: blur(0); transform: scale(1); }
}

@media (max-width: 1279px) and (min-width: 1024px) {
  .zmt-ic {
    width: calc(100vw - 24px);
  }

  .zmt-ic-hero {
    min-height: 155px;
    padding: 25px 28px;
  }

  .zmt-ic-privacy-card {
    width: 285px;
  }

  .zmt-ic-workspace {
    grid-template-columns: 230px minmax(0, 1fr);
  }

  .zmt-ic-inspector {
    grid-column: 1 / -1;
    border-top: 1px solid var(--ic-line);
    border-left: 0;
  }

  .zmt-ic-inspector > .zmt-ic-panel-head {
    margin-bottom: 5px;
  }

  .zmt-ic-inspector-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    max-height: none;
    gap: 0 24px;
  }

  .zmt-ic-control-section {
    border-top: 0;
  }

  .zmt-ic-canvas-area {
    min-height: 530px;
  }
}

@media (max-width: 1023px) {
  .zmt-ic {
    width: min(720px, calc(100vw - 24px));
    margin-top: 16px;
  }

  .zmt-ic-hero {
    min-height: 0;
    padding: 25px;
  }

  .zmt-ic-privacy-card {
    display: none;
  }

  .zmt-ic-app {
    display: none;
  }

  .zmt-ic-desktop-notice {
    display: block;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zmt-ic *,
  .zmt-ic *::before,
  .zmt-ic *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Image collage 0.56.1: layout-first workspace */
.zmt-ic-hero {
  min-height: 112px;
  margin-bottom: 16px;
  padding: 22px 28px;
  border-radius: 24px;
}

.zmt-ic-hero-copy {
  max-width: 720px;
}

.zmt-ic-hero h1 {
  font-size: clamp(28px, 2.4vw, 38px);
}

.zmt-ic-hero p {
  margin: 7px 0 0;
  font-size: 14px;
}

.zmt-ic-hero > .zmt-ic-hero-tags {
  position: relative;
  z-index: 1;
  justify-content: flex-end;
  max-width: 440px;
}

.zmt-ic-app {
  border-radius: 24px;
}

.zmt-ic-workspace {
  grid-template-columns: 300px minmax(540px, 1fr) 350px;
  min-height: 760px;
}

.zmt-ic-assets,
.zmt-ic-inspector {
  padding: 16px;
}

.zmt-ic-side-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  margin-bottom: 16px;
  padding: 4px;
  border-radius: 16px;
  background: #edf3f8;
}

.zmt-ic .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.zmt-ic-side-tabs button {
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: #63738a;
  cursor: pointer;
  font-size: 13px;
  font-weight: 750;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.zmt-ic-side-tabs button[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 3px 9px rgba(22, 58, 96, .1);
  color: var(--ic-blue);
}

.zmt-ic-side-pane[hidden] {
  display: none !important;
}

.zmt-ic-layout-help {
  min-height: 38px;
  margin: -5px 0 14px;
  color: #7a899d;
  font-size: 12px;
  line-height: 1.55;
  text-wrap: pretty;
}

.zmt-ic-layout-counts {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 16px;
}

.zmt-ic-layout-counts button,
.zmt-ic-layout-counts select {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 11px;
  background: #f4f6f9;
  box-shadow: 0 0 0 1px rgba(16, 35, 63, .08);
  color: #5f6875;
  cursor: pointer;
  font-size: 13px;
  text-align: center;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.zmt-ic-layout-counts select {
  appearance: none;
  padding: 0 5px;
  font-size: 11px;
  text-align-last: center;
}

.zmt-ic-layout-counts button.is-active,
.zmt-ic-layout-counts select:not(:invalid):focus {
  background: var(--ic-blue);
  box-shadow: 0 7px 16px rgba(20, 120, 255, .22);
  color: #fff;
}

.zmt-ic-layout-counts button:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.zmt-ic-layout-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 482px;
  padding: 3px;
  overflow: auto;
}

.zmt-ic-layout-card {
  min-width: 0;
  min-height: 108px;
  padding: 8px;
  border: 0;
  border-radius: 15px;
  background: #f6f8fa;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .045), 0 2px 5px rgba(18, 51, 85, .035);
  color: #697383;
  cursor: pointer;
  transition-property: color, background-color, box-shadow, transform;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}

.zmt-ic-layout-card:active {
  transform: scale(.96);
}

.zmt-ic-layout-card-wide {
  grid-column: span 3;
  min-height: 142px;
}

.zmt-ic-layout-card-wide > span {
  aspect-ratio: 16 / 7;
}

.zmt-ic-layout-card:hover {
  background: #f0f7ff;
  color: var(--ic-blue);
  box-shadow: 0 0 0 1px rgba(20, 120, 255, .2), 0 5px 13px rgba(20, 83, 148, .09);
}

.zmt-ic-layout-card.is-active {
  background: #f4f9ff;
  box-shadow: 0 0 0 2px rgba(20, 120, 255, .62), 0 7px 18px rgba(20, 92, 166, .12);
  color: var(--ic-blue);
}

.zmt-ic-layout-card > span {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1;
  margin-bottom: 6px;
  overflow: hidden;
  border-radius: 9px;
  background: #fff;
}

.zmt-ic-layout-card i {
  position: absolute;
  border-radius: 3px;
  background: #b7bdc6;
}

.zmt-ic-layout-card i.is-free {
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .1), 0 3px 7px rgba(19, 46, 76, .12);
  transform-origin: center;
}

.zmt-ic-layout-card.is-active i {
  background: #6eaaf8;
}

.zmt-ic-layout-card small {
  display: block;
  overflow: hidden;
  font-size: 10px;
  font-weight: 700;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zmt-ic-stage {
  padding: 16px;
}

.zmt-ic-canvas-area {
  min-height: 620px;
  padding: 30px;
}

.zmt-ic-canvas-shell {
  position: relative;
  flex: 0 0 auto;
  width: min(82%, 620px);
  aspect-ratio: 1;
  overflow: visible;
  background: #f4f8fc;
  box-shadow: 0 18px 50px rgba(29, 62, 94, .2), 0 2px 8px rgba(21, 44, 68, .1);
}

.zmt-ic-canvas-shell[hidden] {
  display: none !important;
}

.zmt-ic-canvas-shell canvas {
  display: block;
  width: 100%;
  height: 100%;
  box-shadow: none;
}

.zmt-ic-slot-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.zmt-ic-slot-layer[hidden] {
  display: none !important;
}

.zmt-ic-slot {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  gap: 5px;
  padding: 6px;
  overflow: hidden;
  border: 2px dashed rgba(52, 73, 97, .25);
  border-radius: max(4px, min(14px, var(--ic-slot-radius, 12px)));
  background: rgba(255, 255, 255, .38);
  color: #8a96a5;
  cursor: pointer;
  pointer-events: auto;
  transition-property: color, background-color, border-color, box-shadow, transform;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}

.zmt-ic-slot:hover,
.zmt-ic-slot:focus-visible {
  border-color: rgba(20, 120, 255, .7);
  background: rgba(235, 246, 255, .78);
  box-shadow: inset 0 0 0 1px rgba(20, 120, 255, .1);
  color: var(--ic-blue);
}

.zmt-ic-slot > span {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .06), 0 5px 15px rgba(26, 72, 121, .12);
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

.zmt-ic-slot small {
  font-size: 10px;
  font-weight: 750;
}

.zmt-ic-mode-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 360px;
  padding: 30px;
  text-align: center;
}

.zmt-ic-mode-empty b {
  font-size: 17px;
}

.zmt-ic-mode-empty span {
  margin: 8px 0 16px;
  color: var(--ic-muted);
  font-size: 12px;
}

.zmt-ic-mode-empty button {
  min-width: 116px;
  min-height: 44px;
  border: 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .05), 0 8px 20px rgba(28, 73, 119, .12);
  color: var(--ic-blue);
  cursor: pointer;
  font-weight: 750;
}

.zmt-ic-inspector {
  background: #f7f9fc;
}

.zmt-ic-inspector-scroll {
  display: flex;
  flex-direction: column;
  max-height: 690px;
  gap: 12px;
  padding: 2px 3px 12px;
}

.zmt-ic .zmt-ic-control-section,
.zmt-ic .zmt-ic-control-section:first-child {
  padding: 16px;
  border: 0;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .055), 0 2px 5px rgba(19, 48, 78, .04), 0 9px 24px rgba(29, 66, 104, .045);
}

.zmt-ic-control-section h2 {
  margin-bottom: 14px;
  font-size: 13px;
}

.zmt-ic .zmt-ic-range {
  display: block;
  margin: 0;
  padding: 9px 0 12px;
}

.zmt-ic .zmt-ic-range + .zmt-ic-range {
  border-top: 1px solid rgba(16, 35, 63, .065);
}

.zmt-ic .zmt-ic-range > span {
  display: flex;
  align-items: center;
  min-height: 36px;
  margin-bottom: 7px;
  color: var(--ic-muted);
  font-size: 12px;
}

.zmt-ic .zmt-ic-range > span > b {
  color: #53657b;
  font-weight: 700;
}

.zmt-ic-range-value {
  display: inline-flex;
  align-items: center;
  width: 82px;
  height: 36px;
  margin-left: auto;
  padding: 0 9px;
  border-radius: 10px;
  background: #f5f8fb;
  box-shadow: inset 0 0 0 1px rgba(16, 35, 63, .09);
}

.zmt-ic-range-value input {
  min-width: 0;
  width: 100%;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ic-ink);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.zmt-ic-range-value em {
  margin-left: 3px;
  color: #93a0b0;
  font-size: 10px;
  font-style: normal;
}

.zmt-ic-range-value + output {
  display: none;
}

.zmt-ic .zmt-ic-range input[type="range"] {
  appearance: none;
  width: 100%;
  height: 4px;
  margin: 8px 0;
  border: 0;
  border-radius: 99px;
  outline: 0;
  background: linear-gradient(to right, var(--ic-blue) 0, var(--ic-blue) var(--ic-range-progress, 0%), #dce5ef var(--ic-range-progress, 0%), #dce5ef 100%);
  box-shadow: none;
  cursor: pointer;
}

.zmt-ic .zmt-ic-range input[type="range"]::-webkit-slider-runnable-track {
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: transparent;
}

.zmt-ic .zmt-ic-range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  margin-top: -7px;
  border: 4px solid var(--ic-blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(9, 76, 162, .25);
}

.zmt-ic .zmt-ic-range input[type="range"]::-moz-range-track {
  height: 4px;
  border: 0;
  border-radius: 99px;
  background: #dce5ef;
}

.zmt-ic .zmt-ic-range input[type="range"]::-moz-range-progress {
  height: 4px;
  border-radius: 99px;
  background: var(--ic-blue);
}

.zmt-ic .zmt-ic-range input[type="range"]::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 4px solid var(--ic-blue);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 7px rgba(9, 76, 162, .25);
}

.zmt-ic-stage-foot span:first-child {
  color: #526982;
}

@media (min-width: 1280px) and (max-width: 1460px) {
  .zmt-ic-workspace {
    grid-template-columns: 278px minmax(500px, 1fr) 330px;
  }

}

@media (min-width: 1024px) and (max-width: 1279px) {
  .zmt-ic-hero > .zmt-ic-hero-tags {
    display: none;
  }

  .zmt-ic-workspace {
    grid-template-columns: 260px minmax(0, 1fr);
  }

  .zmt-ic-inspector {
    grid-column: 1 / -1;
  }

  .zmt-ic-inspector-scroll {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    max-height: none;
  }

  .zmt-ic-canvas-area {
    min-height: 550px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zmt-ic-side-tabs button,
  .zmt-ic-layout-counts button,
  .zmt-ic-layout-counts select,
  .zmt-ic-layout-card,
  .zmt-ic-slot {
    transition-duration: .01ms;
  }
}
