/* =========================================================
   INTERFACE DO APP
   ========================================================= */
:root {
  color-scheme: light;
  --bg: #f2f2f5;
  --panel: #ffffff;
  --panel-2: #f6f6f8;
  --field: #ffffff;
  --line: #e4e4e9;
  --line-strong: #d1d1d7;
  --ink: #111113;
  --ink-2: #3a3a3f;
  --muted: #6e6e73;
  --graphite: #1d1d1f;
  --accent: #0a72e8;
  --accent-hover: #075fc4;
  --accent-text: #0062cc;
  --accent-soft: #e7f0fd;
  --focus: rgba(10, 114, 232, 0.35);
  --danger: #b3261e;
  --danger-soft: #fbeceb;
  --success: #2e7d4f;
  --notice-bg: #fbf5e6;
  --notice-line: #ecdcae;
  --notice-ink: #5f4a12;
  --shadow-sm: 0 1px 2px rgba(17, 17, 24, 0.06);
  --shadow-md: 0 1px 2px rgba(17, 17, 24, 0.04), 0 8px 24px rgba(17, 17, 24, 0.07);
  --shadow-lg: 0 2px 4px rgba(17, 17, 24, 0.06), 0 16px 40px rgba(17, 17, 24, 0.14);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 20px;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  --topbar: 60px;
  --drawer-w: 420px;
}
@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --bg: #000000;
    --panel: #161618;
    --panel-2: #1f1f22;
    --field: #1f1f22;
    --line: #2a2a2e;
    --line-strong: #3a3a3f;
    --ink: #f5f5f7;
    --ink-2: #d1d1d6;
    --muted: #98989f;
    --graphite: #f5f5f7;
    --accent-text: #4ea1ff;
    --accent-soft: #0d2440;
    --focus: rgba(78, 161, 255, 0.45);
    --danger: #f08a80;
    --danger-soft: #3b2120;
    --success: #6fcf97;
    --notice-bg: #2c2618;
    --notice-line: #4b4024;
    --notice-ink: #ecd9a4;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.32);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.35), 0 16px 40px rgba(0, 0, 0, 0.5);
  }
}

* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
html, body { margin: 0; }
body {
  min-height: 100vh; min-height: 100dvh; background: var(--bg); color: var(--ink);
  font: 14px/1.5 Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  -webkit-tap-highlight-color: transparent;
}
.hidden, [hidden] { display: none !important; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--accent); color: #fff; }
code { font: 500 0.9em ui-monospace, "SF Mono", Consolas, monospace; background: color-mix(in srgb, var(--ink) 7%, transparent); padding: 1px 5px; border-radius: 5px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
* { scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.slide [contenteditable]:focus-visible { outline: none; }

/* ---------------- Barra superior ---------------- */
.topbar {
  position: sticky; top: 0; z-index: 10; height: var(--topbar);
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 24px;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(180%) blur(16px); -webkit-backdrop-filter: saturate(180%) blur(16px);
}
.topbar.scrolled { box-shadow: 0 1px 0 var(--line); }
.logo { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 15.5px; letter-spacing: -0.015em; white-space: nowrap; }
.logo svg { width: 24px; height: 24px; }
.logo .logo-back { fill: var(--graphite); }
.logo span { font-weight: 400; color: var(--muted); margin-left: -6px; }
.top-actions { display: flex; align-items: center; gap: 10px; min-width: 0; }
.status {
  display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 500; color: var(--muted);
  white-space: nowrap;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; background: var(--line-strong); }
.status.on::before { background: #3fae6f; }
.status.off::before { background: #e3a22f; }

.brand-btn {
  display: inline-flex; align-items: center; gap: 9px; min-width: 0; max-width: 280px; height: 38px; padding: 0 10px 0 8px;
  border: 1px solid var(--line-strong); border-radius: 99px; background: var(--panel); cursor: pointer;
  font-weight: 600; font-size: 13.5px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, transform 0.16s var(--ease-out);
}
.brand-btn:hover { border-color: color-mix(in srgb, var(--line-strong) 50%, var(--muted)); }
.brand-btn:active { transform: scale(0.97); }
.brand-btn[aria-expanded="true"] { border-color: var(--accent); }
.brand-btn .ic { width: 16px; height: 16px; color: var(--muted); transition: transform 0.2s var(--ease-out); }
.brand-btn[aria-expanded="true"] .ic { transform: rotate(180deg); }
.brand-btn-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dots { display: flex; flex: none; }
.dots i { width: 18px; height: 18px; border-radius: 50%; box-shadow: 0 0 0 2px var(--panel); }
.dots i + i { margin-left: -7px; }
.brand-btn.needs-setup .brand-btn-name { color: var(--accent-text); }

/* ---------------- Página ---------------- */
.main { padding: 0 24px 80px; transition: padding-right 0.32s var(--ease-drawer); }

/* Compositor */
.compose-wrap { max-width: 720px; margin: 13vh auto 0; transition: margin-top 0.3s var(--ease-out); }
body.has-output .compose-wrap { margin-top: 28px; max-width: 1240px; }
body.has-output .composer { max-width: 720px; margin-inline: auto; }
.compose-wrap h1 { text-align: center; margin: 0 0 16px; font-size: 32px; line-height: 1.15; font-weight: 700; letter-spacing: -0.028em; text-wrap: balance; }
.lede { margin: 0 0 24px; color: var(--muted); font-size: 15px; }
body.has-output .compose-wrap h1 { font-size: 22px; letter-spacing: -0.02em; }
body.has-output .lede { display: none; }


/* Cartão de criação: assunto + linha de opções */
.composer {
  position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 20px;
}
.brief-label { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.brief-input {
  display: block; width: 100%; min-height: 88px; max-height: 40vh; padding: 12px 14px; resize: none; overflow-y: auto; line-height: 1.5; border: 1px solid var(--line-strong); border-radius: var(--r);
  background: var(--field); font-size: 16px; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.brief-input::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.brief-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
.composer.invalid .brief-input { border-color: var(--danger); }
.composer-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.composer .thumbs { padding: 12px 0 0; }

/* Menu de objetivos (várias opções) */
.menu { position: relative; }
.menu > summary { list-style: none; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary .ic { width: 15px; height: 15px; transition: transform 0.2s var(--ease-out); }
.menu[open] > summary { border-color: var(--accent); }
.menu[open] > summary .ic { transform: rotate(180deg); }
.menu-panel {
  position: absolute; left: 0; top: calc(100% + 6px); z-index: 20; min-width: 240px; padding: 6px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
@starting-style { .menu[open] .menu-panel { opacity: 0; transform: translateY(-4px); } }
.menu-panel { transition: opacity 0.15s ease, transform 0.15s var(--ease-out); }
.menu-note { margin: 4px 8px 6px; font-size: 12.5px; color: var(--muted); }
.menu-panel label {
  display: flex; align-items: center; gap: 10px; margin: 0; padding: 8px; border-radius: 8px;
  font-size: 13.5px; color: var(--ink); cursor: pointer;
}
.menu-panel label:hover { background: var(--panel-2); }
.menu-panel input { width: 16px; height: 16px; margin: 0; accent-color: var(--accent); }
.composer .more { margin: 10px 0 0; }
.composer .more summary { padding: 4px 0; }
.drop-hint {
  position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; pointer-events: none;
  background: color-mix(in srgb, var(--accent-soft) 92%, transparent); border: 2px dashed var(--accent);
  color: var(--accent-text); font-weight: 600; font-size: 15px; opacity: 0; transition: opacity 0.15s ease;
}
.composer.over .drop-hint { opacity: 1; }
.field-error { margin: 10px 4px 0; font-size: 13px; color: var(--danger); }

/* Chips do compositor */
.chip {
  position: relative; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 12px; margin: 0;
  border: 1px solid var(--line); border-radius: 99px; background: var(--panel-2); color: var(--ink-2);
  font-size: 13px; font-weight: 500; cursor: pointer; white-space: nowrap;
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.16s var(--ease-out);
}
.chip:hover { border-color: var(--line-strong); background: var(--panel); }
.chip:active { transform: scale(0.97); }
.chip:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
.chip .ic { width: 17px; height: 17px; color: var(--muted); }
.file-chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.file-chip b { font-weight: 600; color: var(--accent-text); font-variant-numeric: tabular-nums; }
.select-chip { padding: 0; }
.select-chip select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent; cursor: pointer; height: 100%;
  padding: 0 30px 0 12px; font-size: 13px; font-weight: 500; color: var(--ink-2); border-radius: 99px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 14px;
}
.select-chip select:focus { outline: none; }
/* Opção escolhida (diferente do automático) fica destacada */
.chip.set { border-color: color-mix(in srgb, var(--accent) 60%, var(--line)); background: var(--accent-soft); }
.chip.set select { color: var(--accent-text); font-weight: 600; }
.btn.go { margin-left: auto; height: 48px; padding: 0 22px; border-radius: 99px; font-size: 15px; }

/* Miniaturas no compositor */
.thumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 8px; }
.thumbs:empty { display: none; }
.thumb { position: relative; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--panel-2); box-shadow: inset 0 0 0 1px var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.thumb span { position: absolute; left: 4px; bottom: 4px; background: rgba(0, 0, 0, 0.6); color: #fff; font-size: 10.5px; font-weight: 600; padding: 0 5px; border-radius: 4px; font-variant-numeric: tabular-nums; }
.thumb button {
  position: absolute; right: 3px; top: 3px; width: 24px; height: 24px; display: grid; place-items: center; padding: 0;
  border-radius: 50%; border: 0; background: rgba(0, 0, 0, 0.6); color: #fff; cursor: pointer;
}
.thumb button::after { content: ""; position: absolute; inset: -6px; }
.thumb button:hover { background: rgba(0, 0, 0, 0.85); }
.thumb button .ic { width: 13px; height: 13px; stroke-width: 2.2; pointer-events: none; }
.thumb { transition: opacity 0.2s var(--ease-out), transform 0.2s var(--ease-out); }
@starting-style { .thumb { opacity: 0; transform: scale(0.92); } }

/* Detalhes opcionais (details) */
.more { margin: 0 8px; }
.more summary {
  display: inline-flex; align-items: center; gap: 6px; list-style: none; cursor: pointer; user-select: none;
  padding: 6px 6px; border-radius: 6px; font-size: 13px; font-weight: 500; color: var(--muted);
}
.more summary::-webkit-details-marker { display: none; }
.more summary::before {
  content: ""; width: 7px; height: 7px; border-right: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor;
  transform: rotate(-45deg); transition: transform 0.2s var(--ease-out); margin-right: 2px;
}
.more[open] summary::before { transform: rotate(45deg) translate(-2px, -1px); }
.more summary:hover { color: var(--ink); }
.more-body { padding: 8px 6px 4px; }

/* ---------------- Campos ---------------- */
label { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 14px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 10px; }
.field { margin: 6px 0 14px; }
.row { display: flex; gap: 8px; align-items: center; }
.row > input { flex: 1; min-width: 0; margin-top: 0 !important; }
.drawer input:not([type=color]):not([type=radio]):not([type=file]), .drawer select, .drawer textarea,
.more-body input, .more-body textarea, .tab-panel textarea, .tab-panel input {
  display: block; width: 100%; margin-top: 6px; padding: 9px 11px; min-height: 40px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--field); color: var(--ink);
  font-size: 14px; line-height: 1.4; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.drawer select {
  appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 16px;
}
input::placeholder, textarea::placeholder { color: color-mix(in srgb, var(--muted) 80%, transparent); }
.drawer input:focus, .drawer select:focus, .drawer textarea:focus, .more-body input:focus, .more-body textarea:focus, .tab-panel textarea:focus, .tab-panel input:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus);
}
textarea { resize: vertical; }
label.file input[type=file] { display: block; margin-top: 6px; width: 100%; font-size: 13px; color: var(--muted); }
input[type=file]::file-selector-button {
  margin-right: 10px; padding: 7px 12px; border-radius: var(--r-sm); cursor: pointer;
  border: 1px solid var(--line-strong); background: var(--panel); color: var(--ink); font: 600 13px Inter, system-ui, sans-serif;
}

/* ---------------- Botões ---------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  border: 1px solid transparent; border-radius: 10px; padding: 0 15px; height: 40px;
  cursor: pointer; font-weight: 600; font-size: 13.5px; white-space: nowrap; user-select: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.16s var(--ease-out), opacity 0.15s ease;
}
.btn:active:not(:disabled) { transform: scale(0.97); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: var(--shadow-sm); }
.btn.primary:hover:not(:disabled) { background: var(--accent-hover); }
.btn.ghost { background: var(--panel); border-color: var(--line-strong); color: var(--ink); }
.btn.ghost:hover:not(:disabled) { background: var(--panel-2); }
.btn.sm { height: 32px; padding: 0 11px; font-size: 12.5px; }
.btn.sm .ic { width: 16px; height: 16px; }
.btn.icon { padding: 0; width: 40px; }
.btn.icon.sm { width: 32px; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }
.btn.busy { opacity: 0.8; cursor: progress; }
.btn.busy .ic { animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.link-danger {
  display: inline-flex; align-items: center; gap: 6px; margin: 6px 0 0 -6px;
  border: 0; background: none; padding: 6px 8px 6px 6px; border-radius: 6px; cursor: pointer;
  color: var(--danger); font-size: 13px; font-weight: 500;
}
.link-danger .ic { width: 16px; height: 16px; }
.link-danger:hover { background: var(--danger-soft); }

/* ---------------- Saída ---------------- */
.output { max-width: 1240px; margin: 40px auto 0; scroll-margin-top: calc(var(--topbar) + 12px); }

.loading-msg { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-weight: 500; color: var(--ink-2); }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; transform: scale(0.8); } }
.skeleton-strip { display: flex; gap: 20px; overflow: hidden; }
.skeleton-strip i {
  flex: 0 0 auto; border-radius: 8px;
  background: linear-gradient(100deg, color-mix(in srgb, var(--ink) 6%, transparent) 30%, color-mix(in srgb, var(--ink) 11%, transparent) 50%, color-mix(in srgb, var(--ink) 6%, transparent) 70%) 0 0/300% 100%;
  animation: shimmer 1.6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: 0 0; } }

.error-state {
  max-width: 760px; display: flex; align-items: center; gap: 14px;
  padding: 14px 14px 14px 18px; border-radius: var(--r); background: var(--danger-soft); color: var(--ink);
  border: 1px solid color-mix(in srgb, var(--danger) 30%, transparent);
}
.error-state > .ic { width: 22px; height: 22px; color: var(--danger); }
.error-state div { flex: 1; min-width: 0; }
.error-state p { margin: 2px 0 0; color: var(--ink-2); }

.result { transition: opacity 0.3s var(--ease-out), transform 0.3s var(--ease-out); }
@starting-style { .result { opacity: 0; transform: translateY(8px); } }
.result-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 12px; }
.result-head h2 { margin: 0; font-size: 20px; font-weight: 650; letter-spacing: -0.02em; }
.count { color: var(--muted); font-weight: 500; font-variant-numeric: tabular-nums; }
/* Resultado: post do Instagram à esquerda, controles à direita */
.result-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 48px; }
.ig-col { flex: 0 0 auto; position: sticky; top: calc(var(--topbar) + 16px); }
.side-col { flex: 1 1 360px; min-width: 0; }

/* Post do Instagram (segue o tema claro/escuro do sistema, como o app) */
.ig-post {
  --ig-bg: #ffffff; --ig-ink: #000000; --ig-muted: #737373; --ig-line: #dbdbdb; --ig-link: #00376b;
  --ig-dot: #c7c7c7; --ig-dot-on: #0095f6; --ig-arrow: rgba(255, 255, 255, 0.85); --ig-arrow-ink: #262626;
  background: var(--ig-bg); color: var(--ig-ink); border-radius: 12px; padding: 0 0 14px;
  box-shadow: 0 0 0 1px var(--ig-line), var(--shadow-lg);
  font: 14px/18px -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  .ig-post {
    --ig-bg: #0c1014; --ig-ink: #f5f5f5; --ig-muted: #a8a8a8; --ig-line: #262626; --ig-link: #e0f1ff;
    --ig-dot: #555555; --ig-arrow: rgba(54, 54, 54, 0.9); --ig-arrow-ink: #f5f5f5;
  }
}
.ig-ic { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ig-head { display: flex; align-items: center; gap: 10px; padding: 12px 4px 12px 16px; }
.ig-avatar {
  width: 38px; height: 38px; border-radius: 50%; flex: none; padding: 2px;
  background: conic-gradient(from 200deg, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5, #feda75);
}
.ig-avatar i {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--ig-bg); color: #fff; font-style: normal; font-weight: 600; font-size: 12px;
}
.ig-avatar img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.ig-avatar img.photo { object-fit: cover; }

/* Status da busca da foto de perfil, no painel da marca */
.ig-fetch { display: flex; align-items: center; gap: 6px; min-height: 18px; margin-top: 6px; font-size: 12px; font-weight: 500; color: var(--muted); }
.ig-fetch:empty { display: none; }
.ig-fetch img { width: 20px; height: 20px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1px var(--line); }
.ig-fetch.err { color: var(--danger); }
.ig-who { flex: 1; min-width: 0; display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.ig-who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.ig-ago { color: var(--ig-muted); }
.ig-head .ig-ic { margin-right: 8px; }

.ig-media { position: relative; margin: 0 16px; border: 1px solid var(--ig-line); border-radius: 6px; overflow: hidden; background: var(--ig-line); }
.strip {
  display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.strip::-webkit-scrollbar { display: none; }
.strip:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--focus); }
.ig-counter {
  position: absolute; top: 12px; right: 12px; z-index: 3; padding: 3px 9px; border-radius: 99px;
  background: rgba(18, 18, 18, 0.72); color: #fff; font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; pointer-events: none;
}
.ig-arrow {
  position: absolute; top: 50%; z-index: 3; width: 26px; height: 26px; margin-top: -13px; border: 0; border-radius: 50%; padding: 0;
  display: grid; place-items: center; cursor: pointer; background: var(--ig-arrow); color: var(--ig-arrow-ink);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.25); transition: opacity 0.2s ease, transform 0.15s var(--ease-out);
}
.ig-arrow .ic { width: 15px; height: 15px; stroke-width: 2.6; }
.ig-arrow:active { transform: scale(0.92); }
.ig-arrow:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.ig-arrow.prev { left: 10px; }
.ig-arrow.next { right: 10px; }
.ig-arrow:disabled { opacity: 0; pointer-events: none; }

.ig-dots { display: flex; justify-content: center; gap: 4px; padding: 10px 0 2px; }
.ig-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--ig-dot); transition: background-color 0.2s ease; }
.ig-dots i.on { background: var(--ig-dot-on); }
.ig-actions { display: flex; align-items: center; justify-content: space-between; padding: 8px 16px 6px; }
.ig-left { display: flex; align-items: center; gap: 16px; }
.ig-left > span { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; }
.ig-caption { padding: 2px 16px 0; white-space: pre-line; overflow-wrap: anywhere; }
.ig-caption b { font-weight: 600; }
.ig-caption .tag { color: var(--ig-link); }
.ig-more { border: 0; background: none; padding: 0; color: var(--ig-muted); cursor: pointer; font: inherit; }

.slide-card { flex: 0 0 auto; scroll-snap-align: start; scroll-snap-stop: always; }
.slide-box { position: relative; overflow: hidden; background: var(--line); }
.slide-scale { transform-origin: 0 0; position: absolute; left: 0; top: 0; }
.slide-tools { display: flex; align-items: center; gap: 6px; }
.hidden-parts { margin: 8px 0 0; font-size: 12.5px; color: var(--muted); }
.hidden-parts button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent-text); cursor: pointer; }
.hidden-parts button:hover { text-decoration: underline; }

/* Passo a passo ao lado da prévia */
.demo-pill {
  padding: 4px 10px; border-radius: 99px; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: help;
  background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-ink);
}
.steps { list-style: none; margin: 8px 0 0; padding: 0; }
.step { position: relative; display: flex; gap: 14px; padding-bottom: 26px; }
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::before {
  content: ""; position: absolute; left: 13px; top: 32px; bottom: 6px; width: 2px; border-radius: 2px; background: var(--line);
}
.step-n {
  flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 13px;
}
.step-body { flex: 1; min-width: 0; padding-top: 3px; }
.step-body h3 { margin: 0 0 2px; font-size: 15px; font-weight: 650; letter-spacing: -0.01em; }
.step-body > p { margin: 0 0 10px; font-size: 13px; color: var(--muted); }
.step-body > h3:has(+ :not(p)) { margin-bottom: 10px; }
.step .details { margin-top: 0; }
.step .download-all { height: 48px; border-radius: 99px; padding: 0 22px; margin: 6px 0 8px; }
.step .download-all + p { margin: 0; }
.mini-select {
  appearance: none; -webkit-appearance: none; flex: 1; min-width: 0; height: 32px; padding: 0 24px 0 9px;
  border: 1px solid var(--line); border-radius: 8px; background: var(--panel); color: var(--ink-2); font-size: 12.5px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 7px center; background-size: 13px;
  transition: border-color 0.15s ease;
}
.mini-select:hover { border-color: var(--line-strong); }
.mini-select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }

.result-actions { display: flex; gap: 10px; align-items: center; margin-top: 6px; }
.refine {
  flex: 1; min-width: 0; display: flex; align-items: center; gap: 6px; padding: 4px 4px 4px 16px; height: 48px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 99px; box-shadow: var(--shadow-sm);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.refine:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
.refine input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 14px; padding: 0; }
.refine .btn { border-radius: 99px; width: 38px; height: 38px; }
.result-actions > .btn { height: 48px; border-radius: 99px; padding: 0 20px; }
.hint { margin: 10px 4px 0; font-size: 12.5px; color: var(--muted); }

.notice {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 24px;
  background: var(--notice-bg); border: 1px solid var(--notice-line); color: var(--notice-ink);
  padding: 11px 14px; border-radius: var(--r); font-size: 13.5px;
}
.notice p { margin: 0; }
.notice code { background: color-mix(in srgb, var(--notice-ink) 10%, transparent); }

/* Detalhes em abas */
.details { margin-top: 28px; max-width: 820px; }
.seg-tabs { display: inline-flex; padding: 3px; gap: 2px; background: color-mix(in srgb, var(--ink) 6%, transparent); border-radius: 11px; max-width: 100%; overflow-x: auto; }
.tab {
  border: 0; background: none; cursor: pointer; padding: 7px 14px; border-radius: 8px; white-space: nowrap;
  font-weight: 600; font-size: 13px; color: var(--muted); transition: color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
.tab:hover { color: var(--ink); }
.tab.active { background: var(--panel); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05); }
@media (prefers-color-scheme: dark) { .tab.active { background: var(--line-strong); } }
.tab-panel { margin-top: 14px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-sm); }
.tab-panel textarea { margin-top: 0; line-height: 1.6; }
.tab-panel .hashtags { color: var(--accent-text); font-weight: 500; }
.tab-panel h3 { margin: 0 0 10px; font-size: 14px; font-weight: 650; }
.tab-panel h3 + ul { margin-bottom: 20px; }
.panel-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 10px; }
.meta { margin: 0; font-size: 12.5px; color: var(--muted); font-variant-numeric: tabular-nums; }
.meta .over { color: var(--danger); font-weight: 600; }
dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 10px 14px; }
dt { font-weight: 500; color: var(--muted); font-size: 13px; }
dd { margin: 0; }
.headlines { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.headlines li { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: var(--r); background: var(--panel-2); }
.headlines li span { text-wrap: pretty; }
.bullets { margin: 0; padding-left: 18px; display: grid; gap: 8px; }
.bullets li::marker { color: var(--muted); }
.bullets.check { list-style: none; padding: 0; }
.bullets.check li { display: flex; gap: 10px; }
.bullets.check li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: var(--success) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}

/* ---------------- Painel da marca ---------------- */
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 30; width: var(--drawer-w); max-width: 100vw;
  display: flex; flex-direction: column; background: var(--panel); border-left: 1px solid var(--line);
  box-shadow: -16px 0 40px rgba(17, 17, 24, 0.1);
  transform: translateX(100%); visibility: hidden;
  transition: transform 0.34s var(--ease-drawer), visibility 0s linear 0.34s;
}
.drawer.open { transform: none; visibility: visible; transition: transform 0.34s var(--ease-drawer), visibility 0s; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px 12px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -0.015em; }
.drawer-body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 22px 0; display: flex; flex-direction: column; }
.drawer-body form { display: flex; flex-direction: column; flex: 1; }
.brand-picker { display: flex; gap: 8px; margin-bottom: 22px; }
.brand-picker select { margin: 0 !important; flex: 1; font-weight: 600; }
.group { margin-bottom: 26px; }
.group h3 { margin: 0 0 12px; font-size: 14px; font-weight: 650; letter-spacing: -0.01em; }
.drawer .more { margin: 0 0 16px -6px; }
.drawer .more-body { padding: 10px 0 0 6px; }

.presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.preset {
  display: flex; border: 1px solid var(--line-strong); border-radius: 7px; overflow: hidden; padding: 0; cursor: pointer; background: none;
  transition: transform 0.16s var(--ease-out), box-shadow 0.15s ease;
}
.preset i { width: 13px; height: 24px; }
.preset:hover { transform: translateY(-1px); }
.preset:active { transform: scale(0.95); }
.preset[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--accent); }
.colors { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.color { margin: 0; cursor: pointer; }
.color input { display: block; width: 100%; height: 40px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 3px; background: var(--field); cursor: pointer; }
.color input::-webkit-color-swatch-wrapper { padding: 0; }
.color input::-webkit-color-swatch { border: 0; border-radius: 5px; }
.color span { display: block; font-size: 12px; margin-top: 5px; color: var(--muted); }

.pills { display: flex; gap: 6px; margin-bottom: 12px; }
.pills label { flex: 1; margin: 0; position: relative; }
.pills input { position: absolute; opacity: 0; pointer-events: none; }
.pills span {
  display: flex; align-items: center; justify-content: center; gap: 8px; height: 38px; padding: 0 10px;
  border: 1px solid var(--line-strong); border-radius: 10px; cursor: pointer; font-weight: 600; font-size: 13px; color: var(--ink-2);
  transition: border-color 0.15s ease, background-color 0.15s ease, color 0.15s ease;
}
.pills span:hover { background: var(--panel-2); }
.pills input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); box-shadow: inset 0 0 0 1px var(--accent); }
.pills input:focus-visible + span { box-shadow: inset 0 0 0 1px var(--accent), 0 0 0 3px var(--focus); }
.pills i { display: inline-block; border: 1.7px solid currentColor; border-radius: 2.5px; color: var(--muted); }
.pills input:checked + span i { color: var(--accent-text); }
.r45 { width: 12px; height: 15px; } .r11 { width: 14px; height: 14px; } .r916 { width: 10px; height: 17px; }
.logo-preview { display: flex; align-items: center; gap: 10px; margin: -4px 0 8px; }
.logo-preview:empty { display: none; }
.logo-preview img { max-height: 44px; max-width: 150px; background: repeating-conic-gradient(#e6e6eb 0 25%, #fff 0 50%) 0 0/12px 12px; border-radius: 6px; border: 1px solid var(--line); }

.drawer-foot {
  position: sticky; bottom: 0; margin: auto -22px 0; padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: flex-end; gap: 12px;
  background: var(--panel); border-top: 1px solid var(--line);
}
.save-state { margin-right: auto; font-size: 12.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 7px; }
.save-state.dirty::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.save-state.saved { color: var(--success); }

.scrim { position: fixed; inset: 0; z-index: 25; background: rgba(10, 10, 14, 0.35); transition: opacity 0.3s ease; }
@starting-style { .scrim { opacity: 0; } }

/* Desktop largo: painel lado a lado, sem escurecer, para a prévia ao vivo continuar visível */
@media (min-width: 1100px) {
  body.drawer-open .main { padding-right: calc(var(--drawer-w) + 24px); }
  body.drawer-open .topbar { padding-right: calc(var(--drawer-w) + 24px); }
  .scrim { display: none !important; }
  .drawer { box-shadow: none; }
}

/* ---------------- Barra de formatação de texto ---------------- */
.fmt-bar {
  position: fixed; z-index: 45; display: flex; align-items: center; gap: 2px; padding: 5px;
  background: #111113; color: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  transition: opacity 0.15s ease;
}
@starting-style { .fmt-bar { opacity: 0; } }
.fmt-bar button {
  min-width: 32px; height: 32px; padding: 0 7px; border: 0; border-radius: 8px; background: none; color: inherit;
  display: grid; place-items: center; grid-auto-flow: column; font-size: 15px; cursor: pointer;
}
.fmt-bar button small { font-size: 11px; margin-left: 1px; }
.fmt-bar button:hover { background: rgba(255, 255, 255, 0.12); }
.fmt-bar button.on { background: rgba(255, 255, 255, 0.22); }
.fmt-bar .ic { width: 16px; height: 16px; }
.fmt-bar .sep { width: 1px; height: 20px; margin: 0 4px; background: rgba(255, 255, 255, 0.18); }
.swatches { display: flex; gap: 4px; }
.swatch {
  width: 22px; height: 22px; padding: 0; border-radius: 50%; border: 0; cursor: pointer; flex: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.35); transition: transform 0.12s var(--ease-out);
}
.swatch:hover { transform: scale(1.15); }
.fmt-bar button.swatch { min-width: 22px; height: 22px; padding: 0; }
.swatch.custom { position: relative; overflow: hidden; background: conic-gradient(red, yellow, lime, cyan, blue, magenta, red); }
.swatch.custom input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; border: 0; padding: 0; }

/* ---------------- Toast ---------------- */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 40; max-width: min(520px, calc(100vw - 32px));
  transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: #111113; color: #fff; padding: 11px 16px; border-radius: 12px; box-shadow: var(--shadow-lg); font-weight: 500;
  transition: opacity 0.2s ease, transform 0.3s var(--ease-out);
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.error { background: #8d1f18; }

/* ---------------- Responsivo ---------------- */
@media (max-width: 720px) {
  .topbar { padding: 0 16px; }
  .status { display: none; }
  .main { padding: 0 16px 64px; }
  .compose-wrap { margin-top: 6vh; }
  .compose-wrap h1 { font-size: 26px; }
  .composer { padding: 16px; }
  .btn.go { width: 100%; margin: 4px 0 0; height: 44px; }
  .output { margin-top: 32px; }
  .ig-col { position: static; margin: 0 -16px; }
  .ig-post { border-radius: 0; box-shadow: 0 0 0 1px var(--ig-line); }
  .ig-media { margin: 0; border-radius: 0; border-width: 1px 0; }
  .ig-arrow { display: none; }
  .side-col { flex-basis: 100%; }
  .result-actions { flex-direction: column; align-items: stretch; }
  .result-actions > .btn { width: 100%; }
  .drawer { width: 100%; border-left: 0; }
  .drawer-body { padding: 16px 16px 0; }
  .drawer-foot { margin: auto -16px 0; padding-left: 16px; padding-right: 16px; }
  .drawer-head { padding-left: 16px; }
  dl { grid-template-columns: 1fr; gap: 2px; }
  dd { margin-bottom: 10px; }
}
@media (max-width: 400px) {
  .logo span { display: none; }
  .brand-btn { max-width: 190px; }
}
@media (hover: none) {
  .chip:hover, .btn.ghost:hover, .pills span:hover { background: inherit; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
@media (prefers-reduced-transparency: reduce) {
  .topbar { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--bg); }
}

/* =========================================================
   SLIDES (tamanho real, 1080px de largura)
   Visual sem enfeites de "post pronto": nada de moldura, rótulo acima do título,
   palavra destacada, aspas decorativas, barra de progresso, contador ou "Arraste".
   O que sobra: campos inteiros de cor, foto grande, título grande e texto legível.
   ========================================================= */
.slide {
  --pad: 96px; --hdr-top: 64px; --c-top: 160px; --c-bottom: 150px; --ftr-bottom: 62px;
  position: relative; overflow: hidden; background: var(--surface); color: var(--ink);
  font-family: var(--f-body); -webkit-font-smoothing: antialiased;
}
.slide * { box-sizing: border-box; }
.slide.fmt-9x16 { --hdr-top: 220px; --c-top: 340px; --c-bottom: 400px; --ftr-bottom: 290px; }
.slide [contenteditable] { outline: none; }
.slide [contenteditable]:hover { box-shadow: 0 0 0 3px rgba(80,140,255,.45); } /* taste-skill-ignore: anel de edição, não vai para o PNG */
.slide [contenteditable]:focus { box-shadow: 0 0 0 3px rgba(80,140,255,.9); } /* taste-skill-ignore */

.slide .media { position: absolute; z-index: 0; overflow: hidden; }
.slide .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.slide .header, .slide .content, .slide .footer { z-index: 2; }

/* Nome da marca: em letras normais, no tamanho de leitura (não um rótulo espaçado em caixa alta) */
.slide .header { position: absolute; left: var(--pad); top: var(--hdr-top); }
.slide .brand-logo { height: 64px; max-width: 340px; object-fit: contain; display: block; }
.slide .brand-name { font: 600 30px/1.2 var(--f-body); letter-spacing: -0.005em; color: var(--ink); }

.slide .content {
  position: absolute; left: var(--pad); right: var(--pad); top: var(--c-top); bottom: var(--c-bottom);
  display: flex; flex-direction: column; justify-content: center; gap: 34px; overflow: visible;
}
.slide .title {
  margin: 0; font-family: var(--f-title); font-weight: 700; font-size: 96px; line-height: 1.02;
  letter-spacing: -0.025em; color: var(--ink); text-wrap: balance;
}
.slide .title em { font-style: normal; color: inherit; background: none; }
.slide .text { margin: 0; max-width: 30em; font-size: 38px; line-height: 1.4; color: var(--ink-soft); white-space: pre-line; text-wrap: pretty; }

.slide .footer {
  position: absolute; left: var(--pad); right: var(--pad); bottom: var(--ftr-bottom);
  display: flex; align-items: center; font: 500 28px var(--f-body); color: var(--ink-soft);
}
/* Partes removíveis (nome, @): × ao passar o mouse ou ao editar */
.slide .footer .removable { position: relative; }
.slide .removable:hover { outline: 3px dashed rgba(80,140,255,.55); outline-offset: 10px; border-radius: 4px; }
.slide .rm-x {
  position: absolute; top: -34px; right: -34px; z-index: 5; width: 54px; height: 54px; padding: 0; border: 0; border-radius: 50%;
  display: grid; place-items: center; background: #e5484d; color: #fff; font: 700 40px/1 Arial, sans-serif; cursor: pointer;
  opacity: 0; transform: scale(.8); transition: opacity .15s ease, transform .15s ease;
}
.slide .removable:hover > .rm-x, .slide .removable:focus-within > .rm-x { opacity: 1; transform: scale(1); }
.slide .rm-x:hover { background: #c93a3f; }

/* --- Capa com foto: foto inteira, véu neutro só onde está o texto --- */
.lay-capa-imagem .media { inset: 0; }
/* Véu neutro sobre a foto, só onde há texto (embaixo e no nome da marca) */
.lay-capa-imagem .media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(0,0,0,.38) 0%, rgba(0,0,0,0) 15%), linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.55) 34%, rgba(0,0,0,0) 62%); } /* taste-skill-ignore: véu neutro sobre foto */
.lay-capa-imagem .content { justify-content: flex-end; }
.lay-capa-imagem .title { font-size: 112px; color: #fff; }
.lay-capa-imagem .text { color: rgba(255,255,255,.92); }
.lay-capa-imagem .footer, .lay-capa-imagem .brand-name { color: #fff; }

/* --- Foto em cima, texto embaixo --- */
.lay-imagem-topo .media { left: 0; right: 0; top: 0; height: 52%; }
.fmt-1x1.lay-imagem-topo .media { height: 46%; }
.lay-imagem-topo .header { display: none; }
.lay-imagem-topo .content { top: calc(52% + 70px); justify-content: flex-start; gap: 26px; }
.fmt-1x1.lay-imagem-topo .content { top: calc(46% + 56px); }
.lay-imagem-topo .title { font-size: 78px; }
.lay-imagem-topo .text { font-size: 36px; }

/* --- Foto numa lateral, sangrando até a borda --- */
.lay-imagem-lateral .media { right: 0; top: 0; bottom: 0; width: 46%; }
.lay-imagem-lateral .content, .lay-imagem-lateral .footer { right: calc(46% + 64px); }
.lay-imagem-lateral .title { font-size: 70px; }
.lay-imagem-lateral .text { font-size: 33px; }

/* --- Só texto: campo inteiro na cor principal, título grande ancorado embaixo --- */
.lay-texto .content { justify-content: flex-end; }
.lay-texto .title { font-size: 108px; }

/* --- Número real em tamanho de cartaz, no campo da cor de destaque --- */
.lay-destaque-numero .content { justify-content: flex-end; gap: 28px; }
.lay-destaque-numero .big { font: 700 260px/0.9 var(--f-title); letter-spacing: -0.045em; color: var(--ink); }
.lay-destaque-numero .title { font-size: 64px; line-height: 1.1; }

/* --- Frase da profissional: grande, no fundo claro, alinhada à esquerda --- */
.lay-citacao .content { justify-content: center; }
.lay-citacao .title { font-size: 84px; font-weight: 600; line-height: 1.08; }

/* --- Último slide: o pedido e o @ --- */
.lay-cta .content { justify-content: flex-end; }
.lay-cta .avatar { width: 220px; height: 220px; border-radius: 50%; overflow: hidden; flex: none; }
.lay-cta .avatar img { width: 100%; height: 100%; object-fit: cover; }
.lay-cta .title { font-size: 92px; }
.lay-cta .cta-handle { font: 700 42px var(--f-body); color: var(--ink); letter-spacing: -0.005em; }

/* ---------------- Estilo: Clássico (a fonte de títulos da marca faz o trabalho) ---------------- */
.st-classico .title { font-weight: 700; }

/* ---------------- Estilo: Moderno (título mais pesado e apertado, ainda maior) ---------------- */
.st-moderno .title { font-weight: 800; letter-spacing: -0.04em; line-height: 0.98; }
.st-moderno.lay-texto .title, .st-moderno.lay-cta .title { font-size: 118px; }
.st-moderno.lay-capa-imagem .title { font-size: 122px; }

/* ---------------- Estilo: Minimalista (mais respiro, peso leve, sem campos de cor) ---------------- */
.st-minimalista { --pad: 120px; }
.st-minimalista .title { font-weight: 500; letter-spacing: -0.03em; }

/* =========================================================
   CONTA: login, menu da conta e janelas (senha, clientes)
   ========================================================= */
.auth-page { display: grid; place-items: center; padding: 24px 16px; }
.auth-wrap { width: 100%; max-width: 400px; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.auth-logo { font-size: 17px; }
.auth-card {
  width: 100%; padding: 26px 24px 22px; background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow-md);
}
.auth-card h1 { margin: 0 0 18px; font-size: 21px; font-weight: 700; letter-spacing: -0.02em; }
.auth-lede { margin: -8px 0 18px; color: var(--muted); font-size: 14px; }
.auth-hint, .auth-note { margin: -6px 0 14px; font-size: 12.5px; color: var(--muted); }
.auth-note { margin: 14px 0 0; text-align: center; }
.auth-error { margin: 0 0 14px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--danger-soft); color: var(--danger); font-size: 13.5px; font-weight: 500; }
.auth-submit { width: 100%; height: 46px; border-radius: 99px; font-size: 15px; }

.auth-card input, .dialog input, .dialog select {
  display: block; width: 100%; margin-top: 6px; padding: 9px 11px; min-height: 42px;
  border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--field); color: var(--ink);
  font-size: 15px; line-height: 1.4; transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.auth-card input:focus, .dialog input:focus, .dialog select:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
.dialog input[type=checkbox] { display: inline-block; width: 16px; min-height: 0; height: 16px; margin: 0; accent-color: var(--accent); }
.pw { position: relative; display: block; }
.pw input { padding-right: 80px; }
.pw-toggle {
  position: absolute; right: 6px; top: 50%; transform: translateY(calc(-50% + 3px)); height: 30px; padding: 0 10px;
  border: 0; border-radius: 6px; background: none; color: var(--accent-text); font-size: 12.5px; font-weight: 600; cursor: pointer;
}
.pw-toggle:hover { background: var(--accent-soft); }

/* Menu da conta (barra do topo) */
.account { position: relative; }
.account > summary {
  list-style: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; cursor: pointer;
  background: var(--accent-soft); color: var(--accent-text); font-weight: 700; font-size: 13px; border: 1px solid transparent;
}
.account > summary::-webkit-details-marker { display: none; }
.account[open] > summary, .account > summary:hover { border-color: var(--accent); }
.account-panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 30; width: 270px; padding: 8px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg);
}
.account-who { padding: 8px 10px 10px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.account-who b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-who span { display: block; font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.account-plan { margin-top: 8px; font-size: 12.5px; color: var(--ink-2); }
.account-plan .bar { height: 5px; margin-top: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.account-plan .bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }
.account-panel button {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 9px 10px; border: 0; border-radius: 8px;
  background: none; font-size: 13.5px; text-align: left; cursor: pointer; color: var(--ink);
}
.account-panel button:hover { background: var(--panel-2); }
.account-panel button.danger { color: var(--danger); }

/* Janelas (dialog) */
.dialog {
  width: min(520px, calc(100vw - 32px)); max-height: calc(100dvh - 48px); padding: 0; border: 1px solid var(--line);
  border-radius: var(--r-lg); background: var(--panel); color: var(--ink); box-shadow: var(--shadow-lg);
}
.dialog.wide { width: min(860px, calc(100vw - 32px)); }
.dialog::backdrop { background: rgba(10, 10, 14, 0.45); }
.dialog[open] { transition: opacity 0.2s ease, transform 0.2s var(--ease-out); }
@starting-style { .dialog[open] { opacity: 0; transform: translateY(8px); } }
.dialog form, .dialog .dialog-body { padding: 22px 22px 20px; }
.dialog h2 { margin: 0 0 16px; font-size: 18px; font-weight: 700; letter-spacing: -0.015em; }
.dialog h3 { margin: 22px 0 10px; font-size: 14px; font-weight: 650; }
.dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.dialog-head h2 { margin: 0; }
.dialog-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.dialog .grid-2 { gap: 0 12px; }
.dialog .auth-error { margin-top: 4px; }
.check-row { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink); margin: 0 0 8px; }

.users { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.users th { text-align: left; font-size: 12px; font-weight: 600; color: var(--muted); padding: 0 8px 8px; border-bottom: 1px solid var(--line); }
.users td { padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.users td small { display: block; color: var(--muted); font-size: 12.5px; }
.users .tag { display: inline-block; padding: 2px 8px; border-radius: 99px; font-size: 12px; font-weight: 600; background: var(--accent-soft); color: var(--accent-text); }
.users .tag.off { background: var(--danger-soft); color: var(--danger); }
.users-wrap { overflow-x: auto; margin: 0 -4px; }
.key-steps { margin: 0 0 16px; padding-left: 20px; font-size: 13.5px; color: var(--ink-2); }
.key-steps li { margin-bottom: 4px; }
.key-current { margin: 0 0 12px; padding: 9px 12px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent-text); font-size: 13.5px; font-weight: 500; }
.btn.danger-text { color: var(--danger); margin-right: auto; }
.dialog .mensal-only[hidden] { display: none; }

/* =========================================================
   LIQUID GLASS
   Material de vidro inspirado no Liquid Glass do iOS 26
   (referência: github.com/sdegenaar/liquid_glass_widgets, pacote Flutter;
   aqui recriado em CSS). Luz vem do canto superior esquerdo (135°),
   desfoque + saturação 1.5 no fundo, borda clara como reflexo, e um
   leve "pulo" de gelatina ao soltar os botões.
   A prévia do Instagram e os slides continuam sólidos, de propósito.
   ========================================================= */
:root {
  --glass-fill: rgba(255, 255, 255, 0.58);
  --glass-fill-strong: rgba(255, 255, 255, 0.78);
  --glass-fill-pop: rgba(255, 255, 255, 0.94);
  --glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0) 60%);
  --glass-edge: rgba(255, 255, 255, 0.75);
  --glass-rim: inset 1px 1px 0 rgba(255, 255, 255, 0.9), inset -1px -1px 0 rgba(255, 255, 255, 0.25);
  --glass-shadow: 0 1px 2px rgba(17, 17, 24, 0.06), 0 10px 32px rgba(17, 17, 24, 0.1);
  --glass-blur: blur(22px) saturate(1.5);
  --glass-field: rgba(255, 255, 255, 0.62);
  --ease-jelly: cubic-bezier(0.34, 1.56, 0.64, 1);
}
@media (prefers-color-scheme: dark) {
  :root {
    --glass-fill: rgba(40, 40, 44, 0.52);
    --glass-fill-strong: rgba(40, 40, 44, 0.74);
    --glass-fill-pop: rgba(28, 28, 31, 0.95);
    --glass-sheen: linear-gradient(135deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0.03) 38%, rgba(255, 255, 255, 0) 60%);
    --glass-edge: rgba(255, 255, 255, 0.14);
    --glass-rim: inset 1px 1px 0 rgba(255, 255, 255, 0.16), inset -1px -1px 0 rgba(255, 255, 255, 0.04);
    --glass-shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 12px 36px rgba(0, 0, 0, 0.4);
    --glass-field: rgba(20, 19, 18, 0.5);
  }
}

/* Fundo com luzes suaves: dá ao vidro algo para refratar */
body::before {
  content: ""; position: fixed; inset: -10vmax; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42vmax 34vmax at 12% 8%, color-mix(in srgb, var(--accent) 26%, transparent), transparent 72%),
    radial-gradient(34vmax 28vmax at 92% 18%, rgba(120, 170, 255, 0.18), transparent 70%),
    radial-gradient(40vmax 32vmax at 70% 95%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
    radial-gradient(30vmax 26vmax at 5% 85%, rgba(150, 150, 165, 0.14), transparent 70%);
}

/* Superfícies de vidro */
.topbar,
.composer, .tab-panel, .auth-card, .drawer, .dialog,
.account-panel, .menu-panel, .error-state, .notice {
  background: var(--glass-sheen), var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-rim), var(--glass-shadow);
}
/* Menus e janelas flutuantes: quase opacos (vidro dentro de vidro não desfoca bem no navegador) */
.account-panel, .menu-panel, .dialog { background: var(--glass-sheen), var(--glass-fill-pop); }
.topbar { border: 0; border-bottom: 1px solid var(--glass-edge); box-shadow: var(--glass-rim); }
.topbar.scrolled { box-shadow: var(--glass-rim), 0 8px 24px rgba(17, 17, 24, 0.08); }
.drawer { border-width: 0 0 0 1px; }
.notice { color: var(--notice-ink); }
.error-state { background: var(--glass-sheen), color-mix(in srgb, var(--danger-soft) 70%, transparent); }
.dialog::backdrop { background: rgba(10, 10, 14, 0.28); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Pílulas de vidro: botões secundários, chips, seletores e abas */
.chip, .btn.ghost, .brand-btn, .mini-select, .refine, .seg-tabs, .demo-pill, .account > summary, .status {
  background-color: transparent;
  background-image: var(--glass-sheen);
  background-color: var(--glass-fill);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-rim), 0 2px 8px rgba(17, 17, 24, 0.06);
}
/* Seletores com setinha: mantém o ícone por cima do reflexo */
.mini-select, .select-chip select { background-color: transparent; }
.mini-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238e8e93' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E"), var(--glass-sheen);
  background-color: var(--glass-fill);
  background-repeat: no-repeat; background-position: right 7px center, 0 0; background-size: 13px, 100% 100%;
}
.status { padding: 5px 11px; border-radius: 99px; }
.chip:hover, .btn.ghost:hover:not(:disabled), .brand-btn:hover, .mini-select:hover { background-color: var(--glass-fill-strong); }
.chip.set { background-color: color-mix(in srgb, var(--accent-soft) 80%, transparent); border-color: color-mix(in srgb, var(--accent) 45%, var(--glass-edge)); }
.seg-tabs { padding: 4px; border-radius: 14px; }
.tab { border-radius: 10px; }
.tab.active { background: var(--glass-sheen), var(--glass-fill-strong); box-shadow: var(--glass-rim), 0 2px 10px rgba(17, 17, 24, 0.1); }

/* Botão principal: cor da marca com reflexo de vidro por cima */
.btn.primary {
  background-image: linear-gradient(160deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0) 45%);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.35), inset -1px -1px 0 rgba(0, 0, 0, 0.12), 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent);
}

/* Campos dentro do vidro: levemente translúcidos */
.brief-input, .auth-card input, .dialog input, .dialog select,
.drawer input:not([type=color]):not([type=radio]):not([type=file]), .drawer select, .drawer textarea,
.more-body input, .more-body textarea, .tab-panel textarea, .tab-panel input {
  background-color: var(--glass-field);
  border-color: color-mix(in srgb, var(--line-strong) 70%, transparent);
}

/* Toque "gelatina": afunda ao pressionar e volta com um leve pulo */
.btn, .chip, .brand-btn, .account > summary, .pick span, .swatch, .fmt-bar button {
  transition: transform 0.38s var(--ease-jelly), background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.2s ease, opacity 0.15s ease;
}
.btn:active:not(:disabled), .chip:active, .brand-btn:active, .account > summary:active { transform: scale(0.95); transition-duration: 0.12s; transition-timing-function: var(--ease-out); }

/* Barra de formatação e aviso flutuante: vidro escuro */
.fmt-bar, .toast {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 50%), rgba(17, 17, 20, 0.74);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.18), var(--shadow-lg);
}
.toast.error { background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 50%), rgba(141, 31, 24, 0.82); }

/* Números dos passos: pequenas bolhas de vidro */
.step-n { background: var(--glass-sheen), color-mix(in srgb, var(--accent-soft) 85%, transparent); box-shadow: var(--glass-rim); border: 1px solid var(--glass-edge); }

/* Sem suporte a desfoque ou com "reduzir transparência": volta ao sólido */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --glass-fill: var(--panel); --glass-fill-strong: var(--panel); --glass-field: var(--field); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --glass-fill: var(--panel); --glass-fill-strong: var(--panel); --glass-field: var(--field); --glass-sheen: none; }
  body::before { display: none; }
}

/* Listas nativas dos seletores: no tema escuro herdavam texto claro sobre fundo branco */
select option, select optgroup { background-color: var(--panel); color: var(--ink); }
select option:checked { background-color: var(--accent-soft); color: var(--accent-text); }

/* Seletores com balão arredondado (substituem a lista nativa) */
.fake-select { position: relative; }
.fake-select.mini { flex: 1; min-width: 0; }
.native-hidden { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.fake-trigger {
  display: inline-flex; align-items: center; gap: 6px; height: 100%; padding: 0 11px 0 12px; border: 0; background: none;
  font: inherit; font-size: 13px; font-weight: 500; color: var(--ink-2); cursor: pointer; white-space: nowrap; border-radius: inherit;
}
.fake-trigger .ic { width: 15px; height: 15px; color: var(--muted); transition: transform 0.2s var(--ease-out); }
.fake-select.open .fake-trigger .ic { transform: rotate(180deg); }
.fake-select.open:not(.mini) { border-color: var(--accent); }
.chip.set .fake-trigger { color: var(--accent-text); font-weight: 600; }
.fake-select.mini .fake-trigger { width: 100%; height: 32px; justify-content: flex-start; padding: 0 24px 0 9px; font-size: 12.5px; border-radius: 8px; border: 1px solid var(--glass-edge); }
.fake-select.mini .fake-trigger span { overflow: hidden; text-overflow: ellipsis; }
.fake-panel { max-height: 320px; overflow-y: auto; min-width: max(100%, 220px); }
.menu-option {
  display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px 10px; border: 0; border-radius: 8px; background: none;
  font: inherit; font-size: 13.5px; color: var(--ink); text-align: left; cursor: pointer; white-space: nowrap;
}
.menu-option .ic { width: 16px; height: 16px; color: var(--accent-text); stroke-width: 2.2; visibility: hidden; }
.menu-option[aria-selected="true"] { font-weight: 600; }
.menu-option[aria-selected="true"] .ic { visibility: visible; }
.menu-option:hover, .menu-option:focus-visible { background: var(--panel-2); outline: none; }
/* Balão aberto fica por cima dos vizinhos (o vidro cria camadas separadas) */
.fake-select.open, .menu[open] { z-index: 40; }
.menu { position: relative; }
/* Balões de menu: fundo sólido, para nada aparecer por trás */
.menu-panel, .fake-panel, .account-panel { background: var(--glass-sheen), var(--panel); }

/* =========================================================
   PAINEL DA MARCA no padrão Apple (Ajustes do iOS/macOS):
   listas agrupadas em cartões, linhas de 46px com rótulo à esquerda
   e valor à direita, separadores recuados, controle segmentado
   com marcador deslizante e cores em círculos.
   ========================================================= */
#drawer { --row-h: 46px; --card: color-mix(in srgb, var(--panel) 88%, transparent); --sep: color-mix(in srgb, var(--ink) 10%, transparent); }
#drawer .drawer-head { padding: 18px 18px 10px 22px; border-bottom: 0; }
#drawer .drawer-head h2 { font-size: 26px; font-weight: 700; letter-spacing: -0.025em; }
.sheet-close {
  width: 30px; height: 30px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 9%, transparent); color: var(--muted);
  transition: background-color 0.15s ease, transform 0.38s var(--ease-jelly);
}
.sheet-close .ic { width: 15px; height: 15px; stroke-width: 2.4; }
.sheet-close:hover { background: color-mix(in srgb, var(--ink) 14%, transparent); }
.sheet-close:active { transform: scale(0.9); transition-duration: 0.1s; }
#drawer .drawer-body { padding: 6px 18px 0; }

.ios-section { margin: 0 0 24px; }
.ios-head { display: flex; align-items: baseline; justify-content: space-between; }
.ios-label { margin: 0 0 7px 16px; font-size: 13px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.ios-note { margin: 7px 16px 0; font-size: 12.5px; line-height: 1.4; color: var(--muted); }
.ios-note:empty { display: none; }
.ios-card { background: var(--card); border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 0.5px var(--sep); }

/* Linha: rótulo à esquerda, valor à direita, separador recuado */
#drawer .ios-row {
  position: relative; display: flex; align-items: center; gap: 12px; min-height: var(--row-h); margin: 0; padding: 0 14px 0 16px;
  font-size: 15px; font-weight: 400; color: var(--ink); cursor: default;
}
#drawer .ios-row + .ios-row::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 1px; transform: scaleY(0.5); transform-origin: top; background: var(--sep); }
#drawer .ios-row > .k { flex: none; color: var(--ink); }
#drawer .ios-row:focus-within { background: color-mix(in srgb, var(--accent) 6%, transparent); }

/* Campos sem borda dentro das linhas (texto alinhado à direita, como nos Ajustes) */
#drawer .ios-row input:not([type=color]):not([type=radio]):not([type=file]),
#drawer .ios-row select, #drawer .ios-row textarea {
  flex: 1; min-width: 0; width: auto; margin: 0; padding: 0; min-height: var(--row-h); border: 0; border-radius: 0;
  background: none; box-shadow: none; font-size: 15px; color: var(--muted); text-align: right; outline: none;
}
#drawer .ios-row input:focus, #drawer .ios-row textarea:focus { color: var(--ink); box-shadow: none; }
#drawer .ios-row input::placeholder, #drawer .ios-row textarea::placeholder { color: color-mix(in srgb, var(--muted) 65%, transparent); }
#drawer .ios-row input.grow { text-align: left; color: var(--ink); }

/* Linhas empilhadas (textos maiores): rótulo em cima, texto embaixo */
#drawer .ios-row.stack { flex-direction: column; align-items: stretch; gap: 2px; padding-top: 11px; padding-bottom: 8px; }
#drawer .ios-row.stack textarea, #drawer .ios-row.stack input:not([type=color]):not([type=radio]):not([type=file]) {
  text-align: left; min-height: 0; color: var(--ink-2); line-height: 1.45; resize: none;
}
#drawer .ios-row.stack input:not([type=color]):not([type=radio]):not([type=file]) { min-height: 24px; }

/* Seletores como linha com seta */
#drawer .ios-select select { appearance: none; -webkit-appearance: none; cursor: pointer; text-align-last: right; padding-right: 2px; background-image: none; }
#drawer .ios-row .chev { width: 15px; height: 15px; flex: none; color: color-mix(in srgb, var(--muted) 70%, transparent); stroke-width: 2.2; pointer-events: none; }

/* Arquivos (logo, fonte): a linha inteira abre o seletor de arquivo */
#drawer .ios-file { cursor: pointer; }
#drawer .ios-file input[type=file] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
#drawer .ios-value { margin-left: auto; color: var(--muted); font-size: 15px; }
#drawer .ios-file:hover, #drawer .ios-select:hover { background: color-mix(in srgb, var(--ink) 3%, transparent); }

/* Logo atual */
#drawer #logoPreview { justify-content: space-between; padding-top: 10px; padding-bottom: 10px; }
#drawer #logoPreview:empty { display: none; }
#drawer #logoPreview img { max-height: 40px; max-width: 160px; border-radius: 6px; border: 0; }

/* Links e ação destrutiva */
.ios-link {
  display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 4px 0; cursor: pointer;
  font: inherit; font-size: 15px; font-weight: 400; color: var(--accent-text);
}
.ios-link .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.ios-link:hover { opacity: 0.75; }
.ios-head .ios-link { font-size: 14px; margin-right: 4px; }
.ios-link-danger { color: var(--danger); }
#drawer .ios-danger { width: 100%; justify-content: center; border: 0; background: none; color: var(--danger); font: inherit; font-size: 15px; cursor: pointer; }
#drawer .ios-danger:hover { background: var(--danger-soft); }
.ios-section:has(#deleteBrand[hidden]) { display: none; }

/* Cores: paletas em círculos + linhas com código e amostra */
#drawer .presets-row { padding-top: 12px; padding-bottom: 12px; }
#drawer .presets { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; }
#drawer .preset {
  width: 34px; height: 34px; padding: 3px; border-radius: 50%; border: 0; background: none; cursor: pointer;
  box-shadow: none; transition: transform 0.38s var(--ease-jelly), box-shadow 0.15s ease;
}
#drawer .preset span { display: block; width: 100%; height: 100%; border-radius: 50%; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.18); transform: rotate(-45deg); }
#drawer .preset:hover { transform: scale(1.08); }
#drawer .preset:active { transform: scale(0.92); transition-duration: 0.1s; }
#drawer .preset[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--accent); }
#drawer .color-row { cursor: pointer; }
#drawer .color-row .hex { margin-left: auto; font: 500 13px ui-monospace, "SF Mono", Consolas, monospace; color: var(--muted); letter-spacing: 0.02em; }
#drawer .color-row input[type=color] {
  -webkit-appearance: none; appearance: none; flex: none; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%;
  background: none; cursor: pointer; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 1px 3px rgba(0, 0, 0, 0.12);
}
#drawer .color-row input[type=color]::-webkit-color-swatch-wrapper { padding: 0; }
#drawer .color-row input[type=color]::-webkit-color-swatch { border: 0; border-radius: 50%; }
#drawer .color-row input[type=color]::-moz-color-swatch { border: 0; border-radius: 50%; }

/* Controle segmentado com marcador deslizante */
.segmented {
  --n: 3; position: relative; display: grid; grid-template-columns: repeat(var(--n), 1fr); padding: 2px; border-radius: 10px;
  background: color-mix(in srgb, var(--ink) 8%, transparent);
}
.segmented::before {
  content: ""; position: absolute; top: 2px; bottom: 2px; left: 2px; width: calc((100% - 4px) / var(--n)); border-radius: 8px;
  background: var(--panel); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.06), 0 3px 8px rgba(0, 0, 0, 0.12), 0 3px 1px rgba(0, 0, 0, 0.04);
  transition: transform 0.4s var(--ease-jelly);
}
@media (prefers-color-scheme: dark) { .segmented::before { background: color-mix(in srgb, var(--ink) 22%, var(--panel)); } }
.segmented:has(label:nth-child(2) input:checked)::before { transform: translateX(100%); }
.segmented:has(label:nth-child(3) input:checked)::before { transform: translateX(200%); }
.segmented label { position: relative; z-index: 1; margin: 0; }
.segmented input { position: absolute; opacity: 0; pointer-events: none; }
.segmented span {
  display: flex; align-items: center; justify-content: center; gap: 7px; height: 32px; border-radius: 8px; cursor: pointer;
  font-size: 13.5px; font-weight: 500; color: var(--ink-2); transition: color 0.15s ease;
}
.segmented input:checked + span { color: var(--ink); font-weight: 600; }
.segmented input:focus-visible + span { box-shadow: 0 0 0 3px var(--focus); }
.segmented span i { display: inline-block; border: 1.5px solid currentColor; border-radius: 2.5px; opacity: 0.8; }
.segmented .r45 { width: 10px; height: 12.5px; }
.segmented .r11 { width: 11px; height: 11px; }
.segmented .r916 { width: 8px; height: 14px; }

/* Rodapé fixo com o botão de salvar */
#drawer .drawer-foot {
  margin: auto -18px 0; padding: 12px 18px calc(14px + env(safe-area-inset-bottom));
  background: var(--glass-sheen), var(--glass-fill-pop); border-top: 0.5px solid var(--sep);
  -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur);
}
#drawer #saveBrand { height: 44px; padding: 0 28px; border-radius: 99px; font-size: 15px; }
/* Ajustes finos do painel da marca */
#drawer .drawer-foot { background: var(--glass-sheen), var(--panel); }
#drawer .presets { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; justify-items: center; width: 100%; }
#drawer .color-row input[type=color] { box-shadow: 0 0 0 1px var(--sep), 0 1px 3px rgba(0, 0, 0, 0.12); }
#drawer .preset span { box-shadow: inset 0 0 0 1px var(--sep); }
#drawer .ios-row input.grow:not([type=color]):not([type=radio]):not([type=file]) { text-align: left; color: var(--ink); }

/* =========================================================
   INSTAGRAM DA CONTA: passo depois do login e janela no menu da conta.
   Foto redonda grande no topo, campo com "@" fixo e aviso do status.
   ========================================================= */
.ig-card { text-align: center; }
.ig-card .auth-lede { margin: -6px 0 18px; }
.ig-card h1, .ig-card h2 { margin-bottom: 14px; }
.ig-photo {
  position: relative; width: 92px; height: 92px; margin: 2px auto 16px; border-radius: 50%; overflow: hidden;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-text);
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
  box-shadow: 0 0 0 3px var(--panel), 0 0 0 4.5px var(--line);
  transition: box-shadow 0.25s ease;
}
/* Com foto: anel no degradê do Instagram */
.ig-photo.has { box-shadow: 0 0 0 3px var(--panel), 0 0 0 5.5px #e1306c; }
.ig-photo.has::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%; z-index: 2; pointer-events: none;
  box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12);
}
.ig-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; animation: igIn 0.45s var(--ease-jelly); }
@keyframes igIn { from { opacity: 0; transform: scale(0.85); } to { opacity: 1; transform: none; } }
.ig-photo.has span { visibility: hidden; }

.ig-field {
  display: flex; align-items: center; height: 48px; padding: 0 14px; margin: 0; border-radius: 12px; text-align: left;
  background: var(--panel-2); border: 1px solid var(--line); transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ig-field:focus-within { border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
.ig-field .at { color: var(--muted); font-size: 16px; font-weight: 500; margin-right: 2px; }
.auth-card .ig-field input, .dialog .ig-field input {
  flex: 1; min-width: 0; height: 100%; min-height: 0; margin: 0; padding: 0; border: 0; background: none; box-shadow: none;
  font-size: 16px; color: var(--ink); outline: none;
}
.auth-card .ig-field input:focus, .dialog .ig-field input:focus { box-shadow: none; border: 0; }
.ig-state { min-height: 20px; margin: 8px 0 14px; font-size: 13px; font-weight: 500; color: var(--muted); }
.ig-state.ok { color: var(--success); }
.ig-state.err { color: var(--danger); }
.ig-state.wait::before {
  content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 7px; vertical-align: -1px;
  border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: igSpin 0.7s linear infinite;
}
@keyframes igSpin { to { transform: rotate(360deg); } }
.auth-skip {
  display: block; margin: 12px auto 0; padding: 6px 12px; border: 0; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--muted); border-radius: 99px;
}
.auth-skip:hover { color: var(--ink); background: var(--panel-2); }
#profileDialog { width: min(400px, calc(100vw - 32px)); }
#profileDialog .dialog-foot { justify-content: center; }
#profileDialog .dialog-foot #unlinkProfile { margin-right: auto; }

/* Foto da conta no botão do topo */
.account > summary.has-photo { padding: 0; overflow: hidden; background: none; }
.account > summary.has-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }

/* =========================================================
   QUIZ DE CRIAÇÃO: uma pergunta por vez, respostas em cartões grandes.
   Clicar numa resposta já leva para a próxima pergunta.
   ========================================================= */
.composer.quiz { max-width: 640px; margin-inline: auto; padding: 18px 26px 26px; }
body.has-output .composer.quiz { max-width: 640px; }
.compose-wrap .quiz-again { display: none; justify-content: center; }
.compose-wrap.done .quiz-again { display: flex; }
.compose-wrap.done .composer.quiz { display: none; }
.quiz-again .btn { height: 42px; padding: 0 20px; border-radius: 99px; gap: 8px; }

.quiz-top { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.quiz-back {
  width: 32px; height: 32px; flex: none; display: grid; place-items: center; border: 0; border-radius: 50%; cursor: pointer;
  background: color-mix(in srgb, var(--ink) 7%, transparent); color: var(--ink-2); transition: opacity 0.2s ease, background-color 0.15s ease;
}
.quiz-back:hover { background: color-mix(in srgb, var(--ink) 12%, transparent); }
.quiz-back.off { opacity: 0; pointer-events: none; }
.quiz-back .ic { width: 17px; height: 17px; stroke-width: 2.4; }
.quiz-progress { flex: 1; height: 5px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 8%, transparent); overflow: hidden; }
.quiz-progress i { display: block; height: 100%; width: 20%; border-radius: inherit; background: var(--accent); transition: width 0.45s var(--ease-jelly); }
.quiz-count { flex: none; font-size: 12.5px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; }

.q { border: 0; margin: 0; padding: 0; min-width: 0; animation: qIn 0.38s var(--ease-out) both; }
.q.from-left { animation-name: qInBack; }
@keyframes qIn { from { opacity: 0; transform: translateX(18px); } }
@keyframes qInBack { from { opacity: 0; transform: translateX(-18px); } }
.q legend { padding: 0; margin: 0 0 6px; width: 100%; }
.q legend h1, .q legend h2 { margin: 0; font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -0.025em; text-align: left; text-wrap: balance; }
.q-sub { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.q legend + .q-options, .q legend + .q-formats { margin-top: 18px; }
.q .brief-input { font-size: 16px; min-height: 112px; }
.q-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.q-key { font-size: 12.5px; color: var(--muted); }
.q-next, .q .go { height: 46px; padding: 0 26px; border-radius: 99px; font-size: 15px; }

/* Cartões de resposta */
.q-options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.q-options.one { grid-template-columns: 1fr; }
.opt { position: relative; margin: 0; cursor: pointer; }
.opt input, .fmt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span {
  display: flex; flex-direction: column; justify-content: center; gap: 3px; height: 100%; min-height: 72px; padding: 14px 44px 14px 16px;
  border-radius: 14px; background: var(--panel-2); border: 1.5px solid var(--line);
  transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.35s var(--ease-jelly);
}
.opt b { font-size: 15.5px; font-weight: 600; color: var(--ink); }
.opt small { font-size: 13px; color: var(--muted); line-height: 1.35; }
.opt span::after {
  content: ""; position: absolute; right: 15px; top: 50%; width: 20px; height: 20px; margin-top: -10px; border-radius: 50%;
  border: 1.5px solid color-mix(in srgb, var(--ink) 22%, transparent); transition: all 0.2s ease;
}
.opt:hover span { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.opt:active span { transform: scale(0.97); }
.opt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.opt input:checked + span::after {
  border-color: var(--accent);
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center/12px no-repeat;
}
.opt input:focus-visible + span, .fmt input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.q-skip {
  display: block; margin: 16px auto 0; padding: 7px 14px; border: 0; border-radius: 99px; background: none; cursor: pointer;
  font: inherit; font-size: 14px; color: var(--muted);
}
.q-skip:hover { color: var(--ink); background: var(--panel-2); }

/* Formato: três cartões com o desenho da proporção */
.q-formats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.fmt { position: relative; margin: 0; cursor: pointer; }
.fmt span {
  display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 8px 14px; border-radius: 14px;
  background: var(--panel-2); border: 1.5px solid var(--line); transition: border-color 0.15s ease, background-color 0.15s ease, transform 0.35s var(--ease-jelly);
}
.fmt i { display: block; margin-bottom: 8px; border: 2px solid color-mix(in srgb, var(--ink) 35%, transparent); border-radius: 5px; transition: border-color 0.15s ease; }
.fmt .r45 { width: 32px; height: 40px; margin-top: 4px; }
.fmt .r11 { width: 36px; height: 36px; margin-top: 8px; }
.fmt .r916 { width: 25px; height: 44px; }
.fmt b { font-size: 15px; font-weight: 650; color: var(--ink); }
.fmt small { font-size: 12.5px; color: var(--muted); }
.fmt:hover span { border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.fmt:active span { transform: scale(0.96); }
.fmt input:checked + span { border-color: var(--accent); background: var(--accent-soft); }
.fmt input:checked + span i { border-color: var(--accent); }

.q-extra { display: block; margin: 20px 0 0; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.q-extra em { font-style: normal; font-weight: 400; color: var(--muted); }
.q-extra textarea {
  display: block; width: 100%; margin-top: 8px; padding: 12px 14px; border-radius: 12px; resize: vertical;
  background: var(--panel-2); border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 15px;
}
.q-extra textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--focus); }
.q .thumbs:not(:empty) { margin-top: 14px; }

@media (max-width: 600px) {
  .composer.quiz { padding: 16px 16px 20px; }
  .q legend h1, .q legend h2 { font-size: 22px; }
  .q-options { grid-template-columns: 1fr; }
  .q-key { display: none; }
}
@media (prefers-reduced-motion: reduce) { .q { animation: none; } }

/* Passo das fotos: área grande para escolher ou soltar as fotos */
.q-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 150px; margin: 0; padding: 22px; border-radius: 16px; cursor: pointer; text-align: center;
  background: var(--panel-2); border: 1.5px dashed color-mix(in srgb, var(--ink) 22%, transparent);
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.q-drop:hover, .composer.over .q-drop { border-color: var(--accent); background: var(--accent-soft); }
.q-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.q-drop:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.q-drop .ic { width: 28px; height: 28px; color: var(--accent-text); margin-bottom: 4px; }
.q-drop b { font-size: 16px; font-weight: 600; color: var(--ink); }
.q-drop small { font-size: 13px; color: var(--muted); }
.q-skip.inline { display: inline-block; margin: 0; }
.q-skip[hidden] { display: none; }
.q-foot .q-next, .q-foot .go { margin-left: auto; }

/* =========================================================
   BANCO DE FOTOS, SELETOR DE FOTO COM MINIATURAS E MODO "MOVER"
   ========================================================= */
.ios-count { font-size: 13px; color: var(--muted); margin-right: 4px; }
#drawer .bank-row { padding-top: 12px; padding-bottom: 12px; }
.bank-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 6px; width: 100%; }
#drawer .bank-grid { max-height: 214px; overflow-y: auto; }
.bank-tile { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: var(--panel-2); padding: 0; border: 0; }
.bank-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bank-rm {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; padding: 0; border: 0; border-radius: 50%; cursor: pointer;
  display: grid; place-items: center; background: rgba(0, 0, 0, 0.62); color: #fff; opacity: 0; transition: opacity 0.15s ease;
}
.bank-rm .ic { width: 12px; height: 12px; stroke-width: 2.6; }
.bank-tile:hover .bank-rm, .bank-rm:focus-visible { opacity: 1; }

/* No quiz: tocar marca/desmarca a foto do banco */
.quiz-bank { margin-top: 18px; }
.quiz-bank-label { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.quiz-bank .bank-grid { grid-template-columns: repeat(auto-fill, minmax(78px, 1fr)); max-height: 260px; overflow-y: auto; }
.bank-tile.pick { cursor: pointer; outline: 2px solid transparent; outline-offset: -2px; transition: outline-color 0.15s ease, transform 0.3s var(--ease-jelly); }
.bank-tile.pick:active { transform: scale(0.95); }
.bank-tile.pick .ic {
  position: absolute; top: 5px; right: 5px; width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: var(--accent); color: #fff; stroke-width: 3; opacity: 0; transform: scale(0.6); transition: opacity 0.15s ease, transform 0.25s var(--ease-jelly);
}
.bank-tile.pick[aria-pressed="true"] { outline-color: var(--accent); }
.bank-tile.pick[aria-pressed="true"] .ic { opacity: 1; transform: none; }
.bank-tile.pick:focus-visible { outline: 3px solid var(--focus); }

/* Seletor de foto do slide: grade de miniaturas */
.mini-select .mini-thumb { width: 22px; height: 22px; border-radius: 5px; object-fit: cover; flex: none; margin-right: 6px; vertical-align: middle; }
.fake-select.mini .fake-trigger { display: inline-flex; align-items: center; }
.fake-panel.photo-panel {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; width: 300px; max-height: 360px; overflow-y: auto; padding: 10px;
}
.fake-panel.photo-panel[hidden] { display: none; }
.photo-panel .ph-group { grid-column: 1 / -1; margin: 6px 2px 0; font-size: 12px; font-weight: 600; color: var(--muted); }
.photo-panel .ph-tile {
  display: flex; flex-direction: column; align-items: stretch; gap: 4px; padding: 4px; border-radius: 10px; height: auto; min-height: 0;
  font-size: 12px; text-align: center;
}
.photo-panel .ph-tile img, .photo-panel .ph-tile .ph-none, .photo-panel .ph-tile.add .ic {
  width: 100%; aspect-ratio: 4 / 5; height: auto; border-radius: 7px; object-fit: cover; display: block;
}
.photo-panel .ph-tile .ph-none { background: repeating-linear-gradient(135deg, var(--panel-2) 0 8px, color-mix(in srgb, var(--ink) 6%, transparent) 8px 9px); }
.photo-panel .ph-tile.add .ic { padding: 30%; box-sizing: border-box; border: 1.5px dashed color-mix(in srgb, var(--ink) 25%, transparent); color: var(--accent-text); }
.photo-panel .ph-tile span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--ink-2); }
.photo-panel .ph-tile[aria-selected="true"] img, .photo-panel .ph-tile[aria-selected="true"] .ph-none { outline: 2.5px solid var(--accent); outline-offset: 1px; }
.photo-panel .ph-tile.add .ic { opacity: 1; visibility: visible; transform: none; }

/* Botão "Mover" e o modo de arrastar */
.move-toggle { gap: 6px; }
.move-toggle .ic { width: 15px; height: 15px; }
.move-toggle[aria-pressed="true"] { background: var(--accent); color: #fff; border-color: var(--accent); }
.move-hint { margin: 10px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--ink-2); font-size: 13px; line-height: 1.45; }
.move-hint[hidden] { display: none; }
.move-hint button { border: 0; background: none; padding: 0; font: inherit; font-weight: 600; color: var(--accent-text); cursor: pointer; text-decoration: underline; }
.move-hint button[hidden] { display: none; }
.strip.moving .slide [data-mv] { cursor: grab; touch-action: none; user-select: none; }
.strip.moving .slide [data-mv]:hover, .strip.moving .slide [data-mv]:focus-visible { outline: 4px dashed rgba(80,140,255,.8); outline-offset: 8px; } /* taste-skill-ignore: guia de edição, não vai para o PNG */
.strip.moving .slide [data-mv].dragging { cursor: grabbing; outline: 4px solid rgba(80,140,255,.9); outline-offset: 8px; }
.strip.moving .slide .rm-x { display: none; }

/* =========================================================
   CRIANDO O CARROSSEL: post do Instagram montado quadrado por quadrado
   e as etapas aparecendo ao lado
   ========================================================= */
.load-grid { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 24px 48px; }
.load-post { flex: none; }
.load-media { position: relative; }
.mosaic { position: absolute; inset: 0; display: grid; gap: 3px; padding: 0; transition: gap 0.5s var(--ease-out); }
.mosaic i { display: block; border-radius: 3px; opacity: 0; transform: scale(0.55); background-color: var(--ig-line); transition: border-radius 0.5s var(--ease-out); }
.mosaic.go i { animation: tileIn 0.55s var(--ease-jelly) var(--d, 0ms) forwards; }
/* Montado: os quadrados se encostam e viram um slide inteiro */
.mosaic.whole { gap: 0; }
.mosaic.whole i { border-radius: 0; scale: 1.04; } /* encosta os quadrados sem fresta (a animação usa transform) */
@keyframes tileIn { to { opacity: 1; transform: none; } }
.load-caption { display: grid; gap: 7px; padding: 6px 16px 4px; }
.load-caption i { display: block; height: 10px; border-radius: 99px; background: var(--ig-line); }
.load-caption i:first-child { width: 82%; }
.load-caption i:last-child { width: 54%; }

.load-side { flex: 1 1 320px; min-width: 0; padding-top: 6px; }
.load-title { margin: 0 0 18px; font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.load-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.load-steps li {
  display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15.5px; color: var(--muted);
  animation: stepIn 0.5s var(--ease-out) both;
}
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.load-steps li.now { color: var(--ink); font-weight: 600; }
.st-ic {
  position: relative; width: 22px; height: 22px; flex: none; display: grid; place-items: center; border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--ink) 18%, transparent);
}
.st-ic .ic { width: 12px; height: 12px; stroke-width: 3; color: #fff; opacity: 0; transform: scale(0.5); transition: opacity 0.2s ease, transform 0.35s var(--ease-jelly); }
.load-steps li.now .st-ic { border-color: color-mix(in srgb, var(--accent) 25%, transparent); border-top-color: var(--accent); animation: igSpin 0.8s linear infinite; }
.load-steps li.done .st-ic { border-color: var(--success); background: var(--success); }
.load-steps li.done .st-ic .ic { opacity: 1; transform: none; }
.load-note { margin: 18px 0 0; font-size: 13px; color: var(--muted); }

@media (prefers-reduced-motion: reduce) {
  .mosaic.go i { animation: none; opacity: 1; transform: none; }
  .load-steps li { animation: none; }
}
