/* Anotar print. Page dashboard. Does not restyle the site header. */

body.page-anotar-print-online.is-fullscreen .fs-workspace.anx-fs {
  min-height: 0;
  border: 0;
  background: #f4f7fc;
  padding: 18px 20px 12px;
}

body.page-anotar-print-online .fs-chrome { display: none; }

.anx-app {
  --anx-ink: #172554;
  --anx-body: #3d4d6a;
  --anx-muted: #64748b;
  --anx-card: #fff;
  --anx-line: #e4ebf5;
  --anx-soft: #f3f6fb;
  --anx-blue: #2f6fed;
  --anx-blue-soft: #e8f0ff;
  --anx-green: #16a34a;
  --anx-orange: #f97316;
  --anx-peach: #fff1e6;
  --anx-bar: #0f1b4a;
  box-sizing: border-box;
  width: min(1380px, 100%);
  margin: 0 auto;
  color: var(--anx-body);
  font-size: 15px;
  line-height: 1.45;
}

.anx-app *,
.anx-app *::before,
.anx-app *::after { box-sizing: border-box; }

.anx-app p,
.anx-app h1,
.anx-app h2,
.anx-app ul,
.anx-app ol,
.anx-app dl,
.anx-app dd,
.anx-app dt { margin: 0; text-align: left; }

.anx-app ul,
.anx-app ol,
.anx-app li { padding: 0; list-style: none; }

.article .anx-app li::before,
.thecontent .anx-app li::before { content: none; }

.anx-app button,
.anx-app input,
.anx-app select { font: inherit; }

.anx-app input,
.anx-app select { color: inherit; }

.anx-app svg { display: block; max-width: none; flex: none; }
.anx-app svg[width="16"] { width: 16px; height: 16px; }
.anx-app svg[width="18"] { width: 18px; height: 18px; }
.anx-app svg[width="20"] { width: 20px; height: 20px; }
.anx-app svg[width="22"] { width: 22px; height: 22px; }

.anx-app [hidden] { display: none !important; }

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

.anx-file {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.anx-bar {
  display: flex;
  align-items: center;
  gap: 16px 20px;
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--anx-bar);
  color: #fff;
}

.anx-bar-main {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.anx-bar-copy { min-width: 0; }

.anx-bar-ico {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--anx-orange);
  color: #fff;
  flex: none;
}

.article .anx-app h1.anx-title,
.anx-app h1.anx-title {
  margin: 0;
  color: #fff;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.15;
}

.anx-lede {
  max-width: 640px;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8rem;
  line-height: 1.35;
}

.anx-app .ann-top-status {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.78rem;
}

.anx-app .ann-top-status:empty { display: none; }
.anx-app .ann-top-status.is-error { color: #fecaca; }
.anx-app .ann-top-status.is-ok { color: #bbf7d0; }

.anx-bar-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
}

.anx-icon-btn {
  appearance: none;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}

.anx-btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
}

.anx-app .anx-btn-solid {
  background: #1d2c57;
  color: #fff;
}

.anx-app .anx-btn-orange {
  background: var(--anx-orange);
  color: #fff;
}

.anx-app .anx-btn-orange:hover:not(:disabled) { background: #ea580c; }

.anx-app .anx-btn-ghost {
  background: transparent;
  color: #fff;
  padding: 0 6px;
}

.anx-card .anx-btn,
.anx-stage-card .anx-btn {
  background: #fff;
  color: var(--anx-ink);
}

.anx-app .anx-btn.anx-btn-line,
.anx-card .anx-btn.anx-btn-line,
.anx-stage-card .anx-btn.anx-btn-line {
  background: #fff;
  border-color: #d7e2f2;
  color: var(--anx-ink);
}

.anx-btn-block { width: 100%; }
.anx-app .anx-btn.anx-btn-primary { background: var(--anx-blue); border-color: transparent; color: #fff; }
.anx-app .anx-btn.anx-btn-green,
.anx-card .anx-btn.anx-btn-green {
  min-height: 48px;
  background: var(--anx-green);
  border-color: transparent;
  color: #fff;
  font-size: 1rem;
}
.anx-app .anx-btn-green:hover:not(:disabled) { background: #15803d; }
.anx-btn:disabled,
.anx-icon-btn:disabled,
.anx-zoom-btn:disabled,
.anx-zoom-step button:disabled { opacity: 0.45; cursor: not-allowed; }

.anx-app button:focus-visible {
  outline: 2px solid var(--anx-blue);
  outline-offset: 2px;
}

.anx-grid {
  display: grid;
  grid-template-columns: minmax(252px, 286px) minmax(0, 1fr) minmax(268px, 300px);
  gap: 14px;
  align-items: start;
}

.anx-card {
  background: var(--anx-card);
  border: 1px solid var(--anx-line);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 8px 24px rgba(23, 37, 84, 0.04);
}

.anx-tools-card { display: flex; flex-direction: column; gap: 14px; padding: 12px; }
.anx-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }

.article .anx-app h2.anx-card-title,
.anx-app h2.anx-card-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--anx-ink);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.25;
}

.anx-label { color: var(--anx-ink); font-size: 0.92rem; font-weight: 800; }

.anx-field { display: flex; flex-direction: column; gap: 8px; }
.anx-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.anx-val-blue { color: var(--anx-blue); font-size: 0.92rem; font-weight: 800; white-space: nowrap; }

.anx-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.anx-app .ann-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 64px;
  padding: 8px 4px;
  border: 1px solid #e7eef8;
  border-radius: 12px;
  background: #fff;
  color: #5b6b88;
  cursor: pointer;
}

.anx-app .ann-tool:hover { border-color: #d5e2f5; background: #f8fbff; }

.anx-app .ann-tool.is-active {
  border-color: #fdba74;
  background: var(--anx-peach);
  color: #ea580c;
}

.anx-app .ann-tool-label { font-size: 0.75rem; font-weight: 800; line-height: 1.2; text-align: center; }

.anx-app .ann-step-badge {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ea580c;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.anx-app .ann-tool.is-active .ann-step-badge { background: #ea580c; color: #fff; }

.anx-swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }

.anx-app .ann-swatch {
  width: 22px;
  height: 22px;
  padding: 0;
  border: 1px solid rgba(23, 37, 84, 0.16);
  border-radius: 50%;
  background: var(--sw, #ccc);
  cursor: pointer;
}

.anx-app .ann-swatch.is-active {
  box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--sw, var(--anx-orange));
}

.anx-color-label { display: inline-flex; width: 22px; height: 22px; }

.anx-app .anx-color-label input[type="color"] {
  width: 22px;
  height: 22px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(23, 37, 84, 0.16);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}

.anx-app .anx-color-label input[type="color"]::-webkit-color-swatch-wrapper { padding: 0; }
.anx-app .anx-color-label input[type="color"]::-webkit-color-swatch { border: 0; border-radius: 50%; }

.anx-app input[type="range"].anx-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  min-height: 0;
  margin: 6px 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--anx-blue) var(--anx-pct, 0%), #e5eaf2 var(--anx-pct, 0%));
  cursor: pointer;
}

.anx-app input[type="range"].anx-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--anx-blue);
  box-shadow: 0 0 0 1px #c9d8f5;
}

.anx-app input[type="range"].anx-range::-moz-range-track {
  height: 6px;
  border: 0;
  border-radius: 999px;
  background: #e5eaf2;
}

.anx-app input[type="range"].anx-range::-moz-range-progress {
  height: 6px;
  border-radius: 999px;
  background: var(--anx-blue);
}

.anx-app input[type="range"].anx-range::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--anx-blue);
}

.anx-switch {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: var(--anx-ink);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.anx-app .anx-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  opacity: 0;
}

.anx-switch-ui {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 24px;
  flex: none;
  border-radius: 999px;
  background: #d5deec;
}

.anx-switch-ui::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.22);
  transition: transform 0.15s ease;
}

.anx-switch input:checked + .anx-switch-ui { background: var(--anx-blue); }
.anx-switch input:checked + .anx-switch-ui::after { transform: translateX(18px); }
.anx-switch input:focus-visible + .anx-switch-ui { outline: 2px solid var(--anx-blue); outline-offset: 2px; }

.anx-app .anx-btn-step { width: 100%; }

.anx-link {
  appearance: none;
  padding: 0;
  border: 0;
  background: none;
  color: var(--anx-blue);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.anx-stage-card { display: flex; flex-direction: column; gap: 0; min-width: 0; }

.anx-stage-body {
  position: relative;
  height: 460px;
  overflow: hidden;
  border-radius: 14px;
  background-color: #f7f9fc;
  background-image:
    linear-gradient(45deg, #e7edf6 25%, transparent 25%),
    linear-gradient(-45deg, #e7edf6 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #e7edf6 75%),
    linear-gradient(-45deg, transparent 75%, #e7edf6 75%);
  background-size: 18px 18px;
  background-position: 0 0, 0 9px, 9px -9px, -9px 0;
}

.anx-app #ann-drop {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 100%;
  min-height: 460px;
  padding: 24px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  text-align: center;
  cursor: pointer;
}

.anx-app #ann-drop.is-dragover { background: rgba(47, 111, 237, 0.08); }
.anx-app #ann-drop p { text-align: center; }
.anx-drop-title { color: var(--anx-ink); font-weight: 800; }
.anx-drop-hint { color: var(--anx-muted); font-size: 0.78rem; }

.anx-app #ann-stage-wrap {
  display: flex;
  height: 100%;
  min-height: 460px;
}

.ann-workspace.anx-frame {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 460px;
  min-height: 0;
  padding: 12px;
  overflow: auto;
  background: transparent;
}

.anx-app.is-zoomed .ann-workspace.anx-frame {
  align-items: flex-start;
  justify-content: flex-start;
}

.ann-stage {
  position: relative;
  display: block;
  width: fit-content;
  max-width: none;
  line-height: 0;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
}

.ann-stage[hidden] { display: none !important; }
.ann-app.is-crop .ann-stage { outline: 2px solid #fa5b0f; outline-offset: 2px; }

#ann-base,
#ann-draw { position: absolute; left: 0; top: 0; }

.ann-stage #ann-ui { position: relative; z-index: 3; touch-action: none; }
.ann-stage #ann-draw { z-index: 2; }
.ann-stage #ann-base { z-index: 1; }

.article .anx-app canvas,
.anx-app canvas { display: block; margin: 0; }

.anx-zoombar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 14px;
}

.article .anx-app h2.anx-zoom-title,
.anx-app h2.anx-zoom-title {
  margin: 0;
  color: var(--anx-blue);
  font-size: 0.98rem;
  font-weight: 800;
}

.anx-zoom-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.anx-zoom-gap { flex: 1 1 12px; min-width: 8px; }

.anx-zoom-btn,
.anx-zoom-step button,
.anx-zoom-step span {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  border: 1px solid #d7e2f2;
  border-radius: 10px;
  background: #fff;
  color: var(--anx-ink);
  font-weight: 800;
  cursor: pointer;
}

.anx-zoom-step {
  display: inline-flex;
  align-items: stretch;
  overflow: hidden;
  border: 1px solid #d7e2f2;
  border-radius: 10px;
  background: #fff;
}

.anx-zoom-step button,
.anx-zoom-step span {
  min-width: 44px;
  border: 0;
  border-radius: 0;
  border-right: 1px solid #e4ebf5;
}

.anx-zoom-step button:last-child { border-right: 0; }
.anx-zoom-step span { min-width: 64px; color: var(--anx-ink); cursor: default; }

.anx-zoom-fit { padding: 0 12px; }

.anx-thumb {
  display: grid;
  place-items: center;
  width: 64px;
  height: 48px;
  padding: 2px;
  border: 2px solid var(--anx-orange);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.anx-thumb canvas { width: 100%; height: 100%; object-fit: contain; }

.anx-add {
  appearance: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 92px;
  min-height: 64px;
  padding: 6px;
  border: 1.5px dashed #c5d0e4;
  border-radius: 10px;
  background: #fff;
  color: var(--anx-muted);
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
}

.anx-add-plus { color: var(--anx-ink); font-size: 1.15rem; font-weight: 500; line-height: 1; }

.anx-dl { display: flex; flex-direction: column; gap: 8px; }
.anx-title-ico { display: inline-flex; color: var(--anx-blue); }
.anx-title-ico-tip { color: #eab308; }

.anx-info { display: flex; flex-direction: column; gap: 0; }

.anx-info div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid var(--anx-line);
}

.anx-info div:last-child { border-bottom: 0; padding-bottom: 0; }
.anx-info div:first-child { padding-top: 0; }

.anx-info dt {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--anx-muted);
  font-size: 0.88rem;
}

.anx-info dt svg { color: #94a3b8; }
.anx-info dd { color: var(--anx-ink); font-size: 0.88rem; font-weight: 800; text-align: right; }

.anx-tips-card { background: #fff8e8; border-color: #f3e2b0; }
.anx-tips { display: flex; flex-direction: column; gap: 8px; }

.anx-tips li {
  display: flex;
  gap: 8px;
  color: var(--anx-body);
  font-size: 0.86rem;
}

.anx-tips li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: #f5c518 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M6.4 11.2 3.6 8.4l1.1-1.1 1.7 1.7 4-4 1.1 1.1z'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.article .anx-app .anx-tips li::before,
.thecontent .anx-app .anx-tips li::before { content: ""; }

.anx-app .itool-hist-host { margin-top: 14px; }
.anx-app .itool-hist-host[hidden] { display: none !important; }
.anx-app #ann-pipeline { margin-top: 12px; }
.anx-app .itool-next[hidden] { display: none !important; }

@media (max-width: 1180px) {
  .anx-grid { grid-template-columns: minmax(240px, 280px) minmax(0, 1fr); }
  .anx-side { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; }
  .anx-tips-card { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
  body.page-anotar-print-online.is-fullscreen .fs-workspace.anx-fs { padding: 12px; }
  .anx-bar { flex-direction: column; align-items: stretch; }
  .anx-bar-actions { margin-left: 0; justify-content: flex-start; }
  .anx-grid,
  .anx-side { grid-template-columns: 1fr; }
  .anx-stage-body,
  .anx-app #ann-drop,
  .anx-app #ann-stage-wrap,
  .ann-workspace.anx-frame {
    height: auto;
    min-height: 260px;
  }
  .ann-workspace.anx-frame { height: 280px; }
  .anx-zoom-gap { display: none; }
}

html[data-theme="dark"] body.page-anotar-print-online.is-fullscreen .fs-workspace.anx-fs,
html.dark body.page-anotar-print-online.is-fullscreen .fs-workspace.anx-fs { background: transparent; }

html[data-theme="dark"] .anx-app,
html.dark .anx-app {
  --anx-ink: var(--dica-ink, #e8eaf0);
  --anx-body: var(--dica-body, #c5cad6);
  --anx-muted: var(--dica-muted, #9aa3b5);
  --anx-card: var(--dica-surface, #171b22);
  --anx-line: var(--dica-border, #2c3444);
  --anx-soft: #12161d;
  --anx-blue-soft: rgba(47, 111, 237, 0.16);
  --anx-peach: rgba(249, 115, 22, 0.16);
  --anx-bar: #101623;
}

html[data-theme="dark"] .anx-app .anx-btn-primary,
html.dark .anx-app .anx-btn-primary,
html[data-theme="dark"] .anx-app .anx-btn-green,
html.dark .anx-app .anx-btn-green,
html[data-theme="dark"] .anx-app .anx-btn-orange,
html.dark .anx-app .anx-btn-orange,
html[data-theme="dark"] .anx-app .ann-step-badge,
html.dark .anx-app .ann-step-badge { color: #fff; }

html[data-theme="dark"] .anx-app .ann-tool,
html.dark .anx-app .ann-tool,
html[data-theme="dark"] .anx-btn-line,
html.dark .anx-btn-line,
html[data-theme="dark"] .anx-zoom-btn,
html.dark .anx-zoom-btn,
html[data-theme="dark"] .anx-zoom-step,
html.dark .anx-zoom-step,
html[data-theme="dark"] .anx-zoom-step button,
html.dark .anx-zoom-step button,
html[data-theme="dark"] .anx-zoom-step span,
html.dark .anx-zoom-step span,
html[data-theme="dark"] .anx-add,
html.dark .anx-add,
html[data-theme="dark"] .anx-thumb,
html.dark .anx-thumb {
  background-color: var(--anx-card);
  color: var(--anx-ink);
}

html[data-theme="dark"] .anx-app .ann-tool.is-active,
html.dark .anx-app .ann-tool.is-active { color: #fdba74; }

html[data-theme="dark"] .anx-stage-body,
html.dark .anx-stage-body {
  background-color: #12161d;
  background-image:
    linear-gradient(45deg, #1c2433 25%, transparent 25%),
    linear-gradient(-45deg, #1c2433 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, #1c2433 75%),
    linear-gradient(-45deg, transparent 75%, #1c2433 75%);
}

html[data-theme="dark"] .anx-tips-card,
html.dark .anx-tips-card {
  background: rgba(245, 197, 24, 0.1);
  border-color: rgba(245, 197, 24, 0.28);
}

html[data-theme="dark"] .anx-switch-ui,
html.dark .anx-switch-ui { background: #334155; }

html[data-theme="dark"] .anx-switch input:checked + .anx-switch-ui,
html.dark .anx-switch input:checked + .anx-switch-ui { background: var(--anx-blue); }

html[data-theme="dark"] .anx-app input[type="range"].anx-range::-moz-range-track,
html.dark .anx-app input[type="range"].anx-range::-moz-range-track { background: #2c3444; }

/* Mockup pass: same width as melhorar-resolucao, bigger tools, taller stage */
.anx-app { width: min(1440px, 100%); }

.anx-grid {
  grid-template-columns: minmax(280px, 330px) minmax(0, 1fr) minmax(240px, 280px);
}

.anx-tools-card { padding: 14px; gap: 16px; }

.anx-tools {
  gap: 4px 6px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--anx-line);
}

.anx-app .ann-tool {
  min-height: 74px;
  gap: 6px;
  border-color: transparent;
  background: transparent;
  color: #3d4d6a;
}

.anx-app .ann-tool svg { width: 26px; height: 26px; }
.anx-app .ann-tool-label { font-size: 0.86rem; font-weight: 600; }
.anx-app .ann-tool:hover { border-color: transparent; background: #f3f6fb; }

.anx-app .ann-tool.is-active {
  border-color: #fdba74;
  background: var(--anx-peach);
  color: #ea580c;
}

.anx-app .ann-tool.is-active .ann-tool-label { font-weight: 800; }

.anx-swatches { justify-content: space-between; gap: 0; }

.anx-app .ann-swatch,
.anx-color-label,
.anx-app .anx-color-label input[type="color"] {
  width: 30px;
  height: 30px;
}

.anx-app input[type="range"].anx-range::-webkit-slider-thumb {
  width: 22px;
  height: 22px;
}

.anx-switch-ui { width: 48px; height: 28px; }
.anx-switch-ui::after { top: 3px; left: 3px; width: 22px; height: 22px; }
.anx-switch input:checked + .anx-switch-ui::after { transform: translateX(20px); }

.anx-stage-body { height: 560px; }
.anx-app #ann-drop,
.anx-app #ann-stage-wrap { min-height: 560px; }
.ann-workspace.anx-frame { height: 560px; }

.article .anx-app h2.anx-zoom-title,
.anx-app h2.anx-zoom-title { font-size: 1.08rem; }

.anx-thumb { width: 96px; height: 72px; border-radius: 10px; }
.anx-add { width: 100px; min-height: 72px; border-radius: 12px; font-size: 0.76rem; }

.article .anx-app h2.anx-card-title,
.anx-app h2.anx-card-title { font-size: 1.12rem; }

.anx-app .anx-btn.anx-btn-line.anx-btn-block {
  border: 1.5px solid #9bbcf5;
  color: var(--anx-blue);
  min-height: 46px;
}

.anx-app .anx-btn.anx-btn-line.anx-btn-block:hover:not(:disabled) { background: var(--anx-blue-soft); }

.anx-app .anx-btn.anx-btn-green { min-height: 54px; }

@media (max-width: 1180px) {
  .anx-grid { grid-template-columns: minmax(240px, 300px) minmax(0, 1fr); }
}

@media (max-width: 800px) {
  .anx-stage-body,
  .anx-app #ann-drop,
  .anx-app #ann-stage-wrap,
  .ann-workspace.anx-frame { height: auto; min-height: 260px; }
  .ann-workspace.anx-frame { height: 280px; }
  .anx-grid { grid-template-columns: 1fr; }
  .anx-swatches { gap: 8px; justify-content: flex-start; }
}

html[data-theme="dark"] .anx-app .anx-btn.anx-btn-line.anx-btn-block,
html.dark .anx-app .anx-btn.anx-btn-line.anx-btn-block { color: #8fb4ff; }
