@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@600;700&family=Source+Sans+3:ital,wght@0,400;0,600;1,400&display=swap');

.wi-overlay {
  position: fixed;
  inset: 0;
  z-index: 10240;
  background: rgba(15, 23, 42, 0.48);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 16px;
  backdrop-filter: blur(2px);
}

.wi-sheet {
  width: min(1000px, 100%);
  background: #fff;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(15, 23, 42, 0.06),
    0 28px 80px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wi-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border-bottom: 1px solid #e8eef4;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
  flex-wrap: wrap;
}

.wi-toolbar-title {
  font-family: 'Source Sans 3', sans-serif;
  font-weight: 700;
  color: #0f172a;
  margin-right: auto;
  font-size: 14px;
  letter-spacing: -0.01em;
}

.wi-btn {
  border: 1px solid #d0d7e2;
  background: #fff;
  color: #334155;
  border-radius: 8px;
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, color 0.12s ease;
}
.wi-btn:hover {
  background: #f8fafc;
  border-color: #94a3b8;
}

.wi-btn-primary {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}
.wi-btn-primary:hover {
  background: #1e293b;
  border-color: #1e293b;
  color: #fff;
}

.wi-status-badge {
  font-size: 11px;
  font-weight: 700;
  border-radius: 999px;
  padding: 4px 10px;
  white-space: nowrap;
}
.wi-status-badge.is-draft {
  background: #fff7ed;
  color: #c2410c;
  border: 1px solid #fdba74;
}
.wi-status-badge.is-pub {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #6ee7b7;
}
.wi-save-hint {
  min-width: 88px;
  font-size: 11px;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}
.wi-publicar[hidden] { display: none !important; }

.wi-doc {
  overflow: auto;
  padding: 40px 56px 80px;
  background:
    radial-gradient(ellipse 80% 40% at 50% 0%, #eef7fc 0%, transparent 55%),
    #fff;
}

.wi-header {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 22px;
}

.wi-hero {
  width: 118px;
  height: 118px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 42% 38%, #e8f5fc 0%, #c5e4f4 100%);
  position: relative;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(14, 116, 144, 0.18);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.wi-hero:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(14, 116, 144, 0.28);
}
.wi-hero[data-foto-size="sm"] { width: 80px; height: 80px; }
.wi-hero[data-foto-size="md"] { width: 118px; height: 118px; }
.wi-hero[data-foto-size="lg"] { width: 160px; height: 160px; }
.wi-hero[data-foto-size="xl"] { width: 200px; height: 200px; }

.wi-bubble {
  position: absolute;
  border-radius: 18px 18px 18px 4px;
}

.wi-bubble-gray {
  width: 54px;
  height: 40px;
  background: #c5c9ce;
  left: 18px;
  top: 38px;
}

.wi-bubble-green {
  width: 58px;
  height: 42px;
  background: #5cb85c;
  right: 16px;
  top: 28px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.wi-head-text { min-width: 0; }

.wi-title {
  width: 100%;
  border: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: #2f3238;
  outline: none;
  background: transparent;
}

.wi-intro {
  width: 100%;
  min-height: 72px;
  margin-top: 10px;
  border: 0;
  resize: vertical;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 14.5px;
  line-height: 1.55;
  color: #6b7280;
  outline: none;
  background: transparent;
}

.wi-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, #cbd5e1 12%, #cbd5e1 88%, transparent);
  margin: 6px 0 14px;
}

.wi-flow {
  position: relative;
  padding: 8px 0 20px;
}

.wi-snake {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: visible;
}

.wi-snake path {
  fill: none;
  stroke: #c5d4e0;
  stroke-width: 14;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wi-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: 16px 28px;
  align-items: start;
  min-height: 200px;
  padding: 18px 0 32px;
}

.wi-step.is-even {
  grid-template-columns: minmax(0, 1fr) 168px;
}

.wi-step-body { min-width: 0; }

.wi-step.is-even .wi-step-visual { grid-column: 2; grid-row: 1; }
.wi-step.is-even .wi-step-body { grid-column: 1; grid-row: 1; }

.wi-step-visual {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  justify-self: center;
}

.wi-orb {
  width: 176px;
  height: 176px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #eaf6fb 0%, #cfe8f4 72%, #b9dceb 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 10px 28px rgba(14, 116, 144, 0.16);
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.wi-step-visual:hover .wi-orb {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 14px 32px rgba(14, 116, 144, 0.24);
}

.wi-orb-main {
  width: 78px;
  height: 92px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 18px rgba(47, 50, 56, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  font-size: 34px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
}

.wi-orb-main::before,
.wi-orb-main::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  height: 3px;
  background: #d5dbe3;
  border-radius: 2px;
}

.wi-orb-main::before { top: 28px; }
.wi-orb-main::after { top: 40px; }

.wi-orb-badge {
  position: absolute;
  right: 22px;
  bottom: 26px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  border: 3px solid #fff;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

.wi-orb-icon2 {
  position: absolute;
  left: 28px;
  bottom: 34px;
  font-size: 40px;
  color: #43a047;
  z-index: 2;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.12));
}

.wi-step-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  flex-wrap: wrap;
}

.wi-cols {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.wi-cols-label {
  font-size: 11px;
  font-weight: 600;
  color: #9aa1aa;
  margin-right: 2px;
}

.wi-cols-btn {
  width: 28px;
  height: 26px;
  border: 1px solid #d8dde6;
  background: #fff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 700;
  color: #4b5563;
  cursor: pointer;
  padding: 0;
}

.wi-cols-btn.is-on {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.wi-step-badge {
  display: inline-block;
  background: #0f172a;
  color: #fff;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 6px;
}

.wi-step-del {
  border: 0;
  background: transparent;
  color: #c0c4ca;
  cursor: pointer;
  opacity: 0;
}

.wi-step:hover .wi-step-del { opacity: 1; }

.wi-step-heading {
  width: 100%;
  border: 0;
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 24px;
  font-weight: 700;
  color: #0f172a;
  outline: none;
  background: transparent;
  margin-bottom: 14px;
}

.wi-items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.wi-items[data-cols="1"] { grid-template-columns: 1fr; }
.wi-items[data-cols="2"] { grid-template-columns: 1fr 1fr; }
.wi-items[data-cols="3"] { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.wi-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e8eef4;
  transition: border-color 0.12s ease, background 0.12s ease;
}
.wi-item:focus-within {
  border-color: #94a3b8;
  background: #fff;
}

.wi-item-icon {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border: 1px dashed transparent;
  background: #fff;
  color: #334155;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 17px;
  padding: 0;
  margin-top: 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background 0.12s ease;
}
.wi-item-icon:hover,
.wi-hero:hover,
.wi-step-visual:hover .wi-orb-main {
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22);
}
.wi-item-icon:hover {
  background: #f0f9ff;
}

.wi-item textarea {
  flex: 1;
  min-width: 0;
  border: 0;
  padding: 4px 0;
  font-family: 'Source Sans 3', sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  color: #334155;
  outline: none;
  background: transparent;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  word-break: break-word;
}

.wi-item textarea:focus {
  box-shadow: none;
}

.wi-item-del {
  border: 0;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
  opacity: 0;
  padding: 0;
}

.wi-item:hover .wi-item-del { opacity: 1; }

.wi-add {
  border: 0;
  background: transparent;
  color: #9aa1aa;
  font-size: 12px;
  font-family: 'Source Sans 3', sans-serif;
  cursor: pointer;
  padding: 10px 0 0;
  grid-column: 1 / -1;
  text-align: left;
}

.wi-tipo {
  border: 1px solid #d0d0d0;
  background: #fff;
  color: #333;
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.wi-tipo.is-on {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.wi-ai-row {
  display: flex;
  gap: 8px;
  padding: 8px 16px;
  border-bottom: 1px solid #ececec;
  background: #fafafa;
}
.wi-ai-row[hidden] { display: none; }
.wi-tela-lock {
  flex: 0 0 auto;
  max-width: 180px;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  background: #e8f4fb;
  border-radius: 6px;
  padding: 7px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wi-pedido {
  flex: 1;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  padding: 7px 10px;
  font-size: 13px;
}

.wi-pick-img, .wi-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}
.wi-item-icon .wi-pick-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}
.wi-orb-main .wi-pick-img {
  width: 78px;
  height: 92px;
  border-radius: 8px;
}
.wi-hero-img {
  width: 118px;
  height: 118px;
  border-radius: 50%;
}

/* Tamanho da foto (ações) */
.wi-item-icon[data-foto-size="sm"] { width: 28px; height: 28px; flex-basis: 28px; }
.wi-item-icon[data-foto-size="sm"] .wi-pick-img { width: 28px; height: 28px; }
.wi-item-icon[data-foto-size="md"] { width: 36px; height: 36px; flex-basis: 36px; }
.wi-item-icon[data-foto-size="md"] .wi-pick-img { width: 36px; height: 36px; }
.wi-item-icon[data-foto-size="lg"] { width: 72px; height: 72px; flex-basis: 72px; }
.wi-item-icon[data-foto-size="lg"] .wi-pick-img { width: 72px; height: 72px; }
.wi-item-icon[data-foto-size="xl"] { width: 120px; height: 120px; flex-basis: 120px; }
.wi-item-icon[data-foto-size="xl"] .wi-pick-img { width: 120px; height: 120px; }

/* Tamanho da foto (círculo do passo) */
.wi-orb-main[data-foto-size="sm"] { width: 52px; height: 62px; }
.wi-orb-main[data-foto-size="sm"] .wi-pick-img { width: 52px; height: 62px; }
.wi-orb-main[data-foto-size="md"] { width: 78px; height: 92px; }
.wi-orb-main[data-foto-size="md"] .wi-pick-img { width: 78px; height: 92px; }
.wi-orb-main[data-foto-size="lg"] { width: 110px; height: 128px; }
.wi-orb-main[data-foto-size="lg"] .wi-pick-img { width: 110px; height: 128px; }
.wi-orb-main[data-foto-size="xl"] { width: 140px; height: 160px; }
.wi-orb-main[data-foto-size="xl"] .wi-pick-img { width: 140px; height: 160px; }

/* Tamanho da foto (topo) */
.wi-hero[data-foto-size="sm"] .wi-hero-img { width: 80px; height: 80px; }
.wi-hero[data-foto-size="md"] .wi-hero-img { width: 118px; height: 118px; }
.wi-hero[data-foto-size="lg"] .wi-hero-img { width: 160px; height: 160px; }
.wi-hero[data-foto-size="xl"] .wi-hero-img { width: 200px; height: 200px; }

.wi-item-icon[data-foto-fit="contain"] .wi-pick-img,
.wi-orb-main[data-foto-fit="contain"] .wi-pick-img,
.wi-hero[data-foto-fit="contain"] .wi-hero-img,
img[data-fit="contain"] { object-fit: contain; }

.wi-item-icon[data-foto-fit="fill"] .wi-pick-img,
.wi-orb-main[data-foto-fit="fill"] .wi-pick-img,
.wi-hero[data-foto-fit="fill"] .wi-hero-img,
img[data-fit="fill"] { object-fit: fill; }

.wi-item-icon[data-foto-fit="cover"] .wi-pick-img,
.wi-orb-main[data-foto-fit="cover"] .wi-pick-img,
.wi-hero[data-foto-fit="cover"] .wi-hero-img,
img[data-fit="cover"] { object-fit: cover; }

.wi-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10300;
  background: rgba(15, 23, 42, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.wi-lightbox img {
  max-width: min(920px, 96vw);
  max-height: 88vh;
  border-radius: 8px;
  box-shadow: 0 16px 48px rgba(0,0,0,.35);
}
.wi-lightbox-fechar {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-weight: 700;
  cursor: pointer;
}

.wi-icon-pop {
  position: fixed;
  z-index: 10250;
  width: 300px;
  max-height: min(72vh, 520px);
  overflow: auto;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, 0.22);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wi-icon-pop-head {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 2px 2px 6px;
  border-bottom: 1px solid #f1f5f9;
}
.wi-icon-pop-head strong {
  font-size: 13px;
  color: #0f172a;
  font-family: 'Source Sans 3', sans-serif;
}
.wi-icon-pop-head span {
  font-size: 11px;
  color: #64748b;
  font-family: 'Source Sans 3', sans-serif;
}

.wi-icon-sec-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #94a3b8;
  padding: 2px 2px 0;
  font-family: 'Source Sans 3', sans-serif;
}

.wi-icon-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 4px;
  max-height: 168px;
  overflow: auto;
  padding: 2px;
}

.wi-icon-grid button {
  width: 36px;
  height: 36px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  transition: background 0.1s ease, border-color 0.1s ease;
}

.wi-icon-grid button:hover { background: #e0f2fe; border-color: #7dd3fc; }
.wi-icon-grid button.is-on {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.wi-icon-extra {
  display: flex;
  gap: 6px;
}
.wi-icon-extra button {
  flex: 1;
  border: 1px solid #e2e8f0;
  background: #fff;
  border-radius: 8px;
  padding: 7px 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #334155;
  font-family: 'Source Sans 3', sans-serif;
}
.wi-icon-extra button:hover:not(:disabled) {
  background: #f0f9ff;
  border-color: #7dd3fc;
}
.wi-icon-extra button:disabled {
  opacity: 0.4;
  cursor: default;
}
.wi-icon-extra .wi-icon-limpar {
  flex: 0 0 40px;
  color: #b91c1c;
}

.wi-icon-foto-opts[hidden] { display: none; }
.wi-icon-foto-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid #f1f5f9;
}
.wi-icon-opt-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.wi-icon-opt-row > span {
  flex: 0 0 58px;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}
.wi-icon-chips {
  display: flex;
  flex: 1;
  gap: 4px;
}
.wi-icon-chips button {
  flex: 1;
  border: 1px solid #e5e7eb;
  background: #f8fafc;
  border-radius: 6px;
  padding: 5px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #334155;
  cursor: pointer;
}
.wi-icon-chips button.is-on {
  background: #0f172a;
  border-color: #0f172a;
  color: #fff;
}

.wi-status-badge.is-obs {
  background: #fef2f2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.wi-inserir {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 4px;
}
.wi-inserir-label {
  font-size: 11px;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.wi-inserir-sel,
.wi-categoria-sel {
  border: 1px solid #d0d7e2;
  background: #fff;
  border-radius: 8px;
  padding: 5px 8px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  font-family: 'Source Sans 3', sans-serif;
  max-width: 180px;
}
.wi-categoria-wrap {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.wi-categoria-label {
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
}

.wi-picker-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.wi-picker {
  width: min(520px, 100%);
  max-height: min(78vh, 640px);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 24px 64px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.wi-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  border-bottom: 1px solid #e8eef4;
  background: #f8fafc;
}
.wi-picker-head strong {
  font-size: 14px;
  color: #0f172a;
}
.wi-picker-x {
  border: 0;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #64748b;
}
.wi-picker-body {
  padding: 12px 14px 16px;
  overflow: auto;
}
.wi-picker-hint {
  font-size: 12px;
  color: #64748b;
  margin: 0 0 8px;
}
.wi-picker-input {
  width: 100%;
  border: 1px solid #d0d7e2;
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  margin-bottom: 10px;
}
.wi-picker-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.wi-picker-group {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #94a3b8;
  margin: 8px 0 2px;
}
.wi-picker-row,
.wi-picker-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 1px solid #e8eef4;
  background: #fff;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  color: inherit;
  font: inherit;
}
.wi-picker-row:hover,
.wi-picker-check:hover {
  border-color: #7dd3fc;
  background: #f0f9ff;
}
.wi-picker-row img,
.wi-picker-check img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  flex: 0 0 40px;
}
.wi-picker-row > i,
.wi-picker-check > i {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  border-radius: 8px;
  color: #475569;
  flex: 0 0 40px;
}
.wi-picker-row span,
.wi-picker-check span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.wi-picker-row small,
.wi-picker-check small {
  color: #64748b;
  font-size: 12px;
}
.wi-picker-back { margin-bottom: 8px; }

.wi-lista-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wi-lista-tabs .ui-tabs__btn.is-on,
.wi-lista-tabs [data-guia].is-on {
  background: #0f172a;
  color: #fff;
  border-color: #0f172a;
}

@media (max-width: 820px) {
  .wi-doc { padding: 24px 20px 40px; }
  .wi-header, .wi-step, .wi-step.is-even {
    display: flex;
    flex-direction: column;
    text-align: left;
  }
  .wi-items,
  .wi-items[data-cols="1"],
  .wi-items[data-cols="2"],
  .wi-items[data-cols="3"] { grid-template-columns: 1fr; }
  .wi-snake { display: none; }
  .wi-title { font-size: 26px; }
  .wi-inserir { width: 100%; }
  .wi-inserir-sel { max-width: none; flex: 1; }
}
