/*
 * SQD Core — Interface pública de busca
 * v0.4.1.9 — App Workspace refinado
 * Organização:
 * 01. Reset e variáveis
 * 02. Shell e topo
 * 03. Sidebar de filtros
 * 04. Área principal e painéis rápidos
 * 05. Busca, chips e ordenação
 * 06. Taxonomia / matéria e assunto
 * 07. Cards de resultados
 * 08. Estados, responsivo e utilitários
 */

/* 01. Reset e variáveis -------------------------------------------------- */
.sqd-app,
.sqd-app * { box-sizing: border-box; }

.sqd-app {
  --sqd-blue-950: #071a3d;
  --sqd-blue-900: #092963;
  --sqd-blue-800: #07459c;
  --sqd-blue-700: #075bdc;
  --sqd-blue-600: #0b6af3;
  --sqd-blue-100: #eaf3ff;
  --sqd-blue-50: #f4f8ff;
  --sqd-cyan: #11c7e8;
  --sqd-purple: #6d3df5;
  --sqd-green: #0f8f57;
  --sqd-green-bg: #e9f9f1;
  --sqd-ink: #10182f;
  --sqd-muted: #65728b;
  --sqd-soft: #f6f8fc;
  --sqd-line: #dde5f1;
  --sqd-line-soft: #edf2f8;
  --sqd-card: #ffffff;
  --sqd-shadow-soft: 0 18px 55px rgba(13, 39, 86, .08);
  --sqd-shadow-card: 0 8px 28px rgba(15, 33, 66, .06);
  --sqd-radius-xl: 22px;
  --sqd-radius-lg: 16px;
  --sqd-radius-md: 12px;
  --sqd-radius-sm: 9px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--sqd-ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(15, 111, 255, .08), transparent 30%),
    linear-gradient(180deg, #f8fbff 0%, #f5f8fc 46%, #f4f7fb 100%);
  min-height: 100vh;
  isolation: isolate;
  text-transform: none !important;
}

.sqd-app a { color: inherit; text-decoration: none; }
.sqd-app button,
.sqd-app input,
.sqd-app select { font: inherit; text-transform: none !important; }
.sqd-app button { cursor: pointer; }
.sqd-app [hidden] { display: none !important; }
.sqd-app .screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* 02. Shell e topo ------------------------------------------------------- */
.sqd-workspace-shell {
  width: min(1840px, calc(100vw - 34px));
  margin: 0 auto;
  background: rgba(255, 255, 255, .70);
  border: 1px solid rgba(210, 221, 237, .92);
  border-top: 0;
  min-height: 100vh;
  box-shadow: 0 0 0 1px rgba(255,255,255,.5) inset;
}

.sqd-topline {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 0 28px;
  border-bottom: 1px solid var(--sqd-line-soft);
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(12px);
}

.sqd-back-link {
  color: #1e2c44;
  font-size: 14px;
  font-weight: 650;
}

.sqd-topline-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #26334d;
  font-size: 14px;
  font-weight: 650;
}

.sqd-topline-nav a:not(.sqd-account-link):hover { color: var(--sqd-blue-700); }

.sqd-account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 16px;
  border: 1px solid var(--sqd-line);
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 5px 16px rgba(15, 33, 66, .05);
}
.sqd-account-link::before { content: "♙"; color: var(--sqd-blue-700); }
.sqd-account-link::after { content: "⌄"; color: var(--sqd-muted); font-size: 12px; }

.sqd-workspace-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 28px 24px;
  background: rgba(255,255,255,.55);
}

.sqd-workspace-logo img {
  display: block;
  width: 405px;
  max-width: 42vw;
  height: auto;
}

.sqd-workspace-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  flex-wrap: wrap;
}

.sqd-work-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid var(--sqd-line);
  border-radius: 10px;
  background: #fff;
  color: #18243c;
  font-weight: 750;
  box-shadow: 0 7px 22px rgba(15,33,66,.05);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.sqd-work-action:hover { transform: translateY(-1px); border-color: #bfd0ea; box-shadow: 0 13px 28px rgba(15,33,66,.09); }
.sqd-work-action-ai {
  color: #4b2eea;
  background: linear-gradient(180deg, #fbfaff, #f6f2ff);
  border-color: #d8cef8;
}
.sqd-work-action-ai em {
  font-style: normal;
  padding: 4px 8px;
  border-radius: 999px;
  background: var(--sqd-purple);
  color: #fff;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* 03. Sidebar de filtros ------------------------------------------------ */
.sqd-workspace-form { margin: 0; }
.sqd-workspace-layout {
  display: grid;
  grid-template-columns: 396px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  padding: 0 28px 34px;
}

.sqd-filter-sidebar {
  position: sticky;
  top: 14px;
  align-self: start;
  padding: 20px 0 24px;
  color: #26334d;
}

.sqd-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0 18px;
}
.sqd-filter-title strong {
  color: #18243c;
  font-size: 20px;
  font-weight: 850;
}
.sqd-filter-collapse {
  width: 34px;
  height: 34px;
  border: 1px solid var(--sqd-line);
  border-radius: 10px;
  background: #fff;
  color: #63708a;
}

.sqd-side-filter {
  display: grid;
  grid-template-columns: 42px minmax(0,1fr) 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 74px;
  padding: 13px 14px;
  border: 0;
  border-bottom: 1px solid var(--sqd-line-soft);
  background: transparent;
  color: #18243c;
  text-align: left;
}
.sqd-side-filter:hover { background: rgba(255,255,255,.58); }
.sqd-side-filter-featured {
  border: 1px solid #bfddff;
  border-radius: 12px;
  background: #f7fbff;
  margin-bottom: 14px;
  box-shadow: 0 8px 22px rgba(11,106,243,.05);
}
.sqd-side-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef5ff;
  color: var(--sqd-blue-700);
  font-weight: 800;
}
.sqd-side-filter strong,
.sqd-side-filter small {
  display: block;
  line-height: 1.25;
}
.sqd-side-filter strong { font-size: 15px; font-weight: 800; }
.sqd-side-filter small { color: #64718c; margin-top: 4px; font-size: 13px; }
.sqd-side-filter em { color: #66738e; font-style: normal; }

.sqd-side-filter select,
.sqd-side-filter input[type="text"] {
  width: 100%;
  margin-top: 4px;
  border: 0;
  background: transparent;
  color: #68758f;
  outline: 0;
  padding: 0;
  appearance: none;
  font-size: 14px;
}
.sqd-side-filter input[type="text"]::placeholder { color: #68758f; }

.sqd-side-toggles {
  display: grid;
  gap: 13px;
  padding: 18px 0 20px;
}
.sqd-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #22304a;
  font-size: 15px;
  font-weight: 730;
}
.sqd-switch input { position: absolute; opacity: 0; pointer-events: none; }
.sqd-switch i {
  width: 42px;
  height: 24px;
  border-radius: 999px;
  background: #d7dee9;
  position: relative;
  box-shadow: inset 0 1px 3px rgba(0,0,0,.08);
  transition: background .18s ease;
}
.sqd-switch i::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.16);
  transition: transform .18s ease;
}
.sqd-switch input:checked + i { background: var(--sqd-blue-700); }
.sqd-switch input:checked + i::before { transform: translateX(18px); }

.sqd-sidebar-advanced {
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid var(--sqd-line);
  border-radius: 14px;
  background: rgba(255,255,255,.74);
  margin-bottom: 12px;
}
.sqd-sidebar-advanced label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  color: #33405c;
}

.sqd-sidebar-link,
.sqd-sidebar-clear,
.sqd-sidebar-save {
  width: 100%;
  min-height: 48px;
  border-radius: 10px;
  font-weight: 800;
  margin-top: 10px;
}
.sqd-sidebar-link,
.sqd-sidebar-clear {
  background: #fff;
  color: #21324f;
  border: 1px solid var(--sqd-line);
}
.sqd-sidebar-save {
  border: 0;
  background: linear-gradient(135deg, var(--sqd-blue-800), var(--sqd-blue-600));
  color: #fff;
  box-shadow: 0 12px 28px rgba(11,106,243,.22);
}

/* 04. Área principal e painéis rápidos --------------------------------- */
.sqd-workspace-main { min-width: 0; }
.sqd-quick-panels {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1fr);
  gap: 18px;
  margin-bottom: 18px;
}
.sqd-quick-card {
  min-height: 82px;
  border: 1px solid var(--sqd-line);
  border-radius: 16px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 10px 30px rgba(15,33,66,.045);
  padding: 16px 18px;
  overflow: hidden;
}
.sqd-quick-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.sqd-quick-head strong { font-size: 15px; font-weight: 850; color: #1c2a44; }
.sqd-quick-head a,
.sqd-quick-head button {
  border: 0;
  background: transparent;
  color: var(--sqd-blue-700);
  font-weight: 800;
  font-size: 13px;
  padding: 0;
}
.sqd-quick-list,
.sqd-recent-list {
  display: flex;
  align-items: center;
  gap: 12px;
  overflow-x: auto;
  scrollbar-width: thin;
}
.sqd-recent-list a,
.sqd-saved-item {
  flex: 0 0 auto;
  border: 1px solid var(--sqd-line);
  border-radius: 9px;
  background: #fff;
  color: #23314d;
  font-weight: 750;
  padding: 9px 18px;
}
.sqd-saved-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-width: 210px;
}
.sqd-saved-item strong { display: block; font-size: 13px; }
.sqd-saved-item small { display: block; color: #78849a; font-size: 11px; margin-top: 2px; }
.sqd-saved-actions { display: flex; gap: 6px; }
.sqd-saved-actions button {
  border: 1px solid var(--sqd-line);
  background: #fff;
  border-radius: 8px;
  padding: 6px 8px;
  font-size: 12px;
  font-weight: 750;
}

/* 05. Busca, chips e ordenação ----------------------------------------- */
.sqd-search-strip {
  border: 2px solid rgba(11,106,243,.72);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(11,106,243,.08);
  margin-bottom: 16px;
}
.sqd-work-search {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  min-height: 64px;
}
.sqd-work-search::before {
  content: "⌕";
  position: absolute;
  margin-left: 28px;
  color: #3f77c8;
  font-size: 28px;
  z-index: 1;
}
.sqd-work-search input {
  min-width: 0;
  height: 64px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #15213a;
  padding: 0 22px 0 68px;
  font-size: 17px;
  font-weight: 560;
}
.sqd-work-search input::placeholder { color: #7c879d; }
.sqd-search-clear {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  color: #8290a7;
  font-size: 28px;
  line-height: 1;
}
.sqd-work-search button[type="submit"] {
  align-self: stretch;
  min-width: 156px;
  border: 0;
  border-radius: 0 11px 11px 0;
  background: linear-gradient(135deg, var(--sqd-blue-800), var(--sqd-blue-600));
  color: #fff;
  font-weight: 850;
}
.sqd-work-search kbd {
  display: inline-block;
  margin-left: 8px;
  border-radius: 6px;
  padding: 3px 7px;
  background: rgba(255,255,255,.18);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.sqd-active-line {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  min-height: 32px;
}
.sqd-active-line > span {
  color: #5b6680;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.sqd-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 32px;
}
.sqd-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  border-radius: 8px;
  background: #eaf2ff;
  border: 1px solid #d5e4fb;
  color: #0d4aa7;
  padding: 0 10px;
  font-weight: 760;
  font-size: 13px;
}
.sqd-chip button {
  width: 18px;
  height: 18px;
  border: 0;
  border-radius: 50%;
  background: rgba(11,106,243,.10);
  color: #0d4aa7;
  padding: 0;
  line-height: 1;
}

.sqd-results-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 18px 0 16px;
}
.sqd-results-title strong {
  display: block;
  color: var(--sqd-blue-800);
  font-size: 19px;
  font-weight: 900;
}
.sqd-results-title span { color: var(--sqd-muted); font-size: 13px; }
.sqd-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #4f5d76;
  font-weight: 700;
}
.sqd-sort select {
  min-width: 190px;
  height: 46px;
  border: 1px solid var(--sqd-line);
  border-radius: 9px;
  background: #fff;
  color: #34415a;
  padding: 0 14px;
  outline: 0;
}

/* 06. Taxonomia / matéria e assunto ------------------------------------ */
.sqd-taxonomy-dock.sqd-modal {
  position: relative;
  inset: auto;
  z-index: 8;
  margin: 4px 0 18px;
}
.sqd-taxonomy-dock .sqd-modal-backdrop { display: none; }
.sqd-taxonomy-dock .sqd-modal-dialog {
  width: min(760px, 100%);
  margin: 0;
  border: 1px solid var(--sqd-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(17, 31, 58, .16);
  overflow: hidden;
}
.sqd-tax-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 15px 18px;
  border-bottom: 1px solid var(--sqd-line-soft);
}
.sqd-tax-head strong { display: block; font-size: 16px; color: #14213b; }
.sqd-tax-head span { display: block; color: #6a768e; font-size: 13px; margin-top: 2px; }
.sqd-tax-head button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--sqd-line);
  background: #fff;
  color: #293651;
  font-size: 22px;
  line-height: 1;
}
.sqd-tax-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 335px;
}
.sqd-tax-grid .sqd-term-roots,
.sqd-tax-grid .sqd-term-browser {
  padding: 18px;
  min-width: 0;
}
.sqd-tax-grid .sqd-term-roots { border-right: 1px solid var(--sqd-line-soft); }
.sqd-tax-grid strong { color: #172541; font-size: 13px; }
.sqd-term-search input,
.sqd-term-browser input {
  width: 100%;
  height: 42px;
  margin: 12px 0;
  border: 1px solid var(--sqd-line);
  border-radius: 8px;
  background: #fff;
  color: #1e2c44;
  padding: 0 12px;
  outline: 0;
}
.sqd-root-list,
.sqd-term-list {
  display: grid;
  gap: 8px;
  max-height: 250px;
  overflow: auto;
  padding-right: 4px;
}
.sqd-root-item,
.sqd-term-item {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 9px;
  background: transparent;
  color: #26354f;
  text-align: left;
}
.sqd-root-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  font-weight: 760;
}
.sqd-root-item small,
.sqd-term-count {
  border-radius: 999px;
  background: #eaf2ff;
  color: #0d56c2;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 850;
}
.sqd-root-item:hover,
.sqd-root-item.is-active { background: #edf5ff; border-color: #cbdfff; }
.sqd-term-current {
  min-height: 38px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #5c6882;
  font-size: 13px;
  margin-bottom: 8px;
}
.sqd-term-current button {
  border: 1px solid var(--sqd-line);
  border-radius: 8px;
  background: #fff;
  color: var(--sqd-blue-700);
  padding: 7px 9px;
  font-weight: 800;
}
.sqd-term-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 12px;
  padding: 11px;
  border-color: var(--sqd-line-soft);
  background: #fff;
}
.sqd-term-copy strong { display: block; color: #172541; font-size: 14px; }
.sqd-term-copy small { display: block; color: #748198; margin-top: 4px; font-size: 12px; }
.sqd-term-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}
.sqd-term-primary,
.sqd-term-secondary {
  min-height: 34px;
  border-radius: 8px;
  padding: 0 10px;
  font-weight: 800;
  font-size: 12px;
}
.sqd-term-primary { border: 0; background: var(--sqd-blue-700); color: #fff; }
.sqd-term-secondary { border: 1px solid var(--sqd-line); background: #fff; color: var(--sqd-blue-700); }
.sqd-term-loading,
.sqd-term-empty,
.sqd-root-empty,
.sqd-empty,
.sqd-error {
  padding: 18px;
  border: 1px dashed var(--sqd-line);
  border-radius: 12px;
  color: #64718c;
  background: #fbfdff;
  text-align: center;
}

/* 07. Cards de resultados ---------------------------------------------- */
.sqd-results {
  display: grid;
  gap: 14px;
}
.sqd-question-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 168px;
  gap: 22px;
  align-items: center;
  border: 1px solid var(--sqd-line);
  border-radius: 16px;
  background: rgba(255,255,255,.94);
  box-shadow: var(--sqd-shadow-card);
  padding: 21px 22px;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.sqd-question-card:hover {
  transform: translateY(-1px);
  border-color: #bfd2ee;
  box-shadow: 0 16px 38px rgba(15,33,66,.09);
}
.sqd-question-main { min-width: 0; }
.sqd-question-eyebrow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.sqd-id,
.sqd-term-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border-radius: 999px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 850;
}
.sqd-id { background: #edf5ff; color: #0d56c2; }
.sqd-term-pill { background: #edf9f4; color: #07643b; max-width: 580px; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.sqd-question-card h3 {
  margin: 0 0 8px !important;
  color: #14213b !important;
  font-size: 17px !important;
  line-height: 1.28 !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}
.sqd-question-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 13px;
  color: #3d4a63;
  font-size: 12px;
  margin-bottom: 10px;
}
.sqd-question-meta strong { color: #18243c; font-weight: 850; }
.sqd-question-card p {
  margin: 0 0 12px !important;
  color: #2c3750;
  font-size: 14px;
  line-height: 1.45;
}

.sqd-app .sqd-search-hit,
.sqd-app mark.sqd-search-hit {
  display: inline !important;
  border-radius: 5px !important;
  padding: 0 .2em !important;
  background: rgba(13, 86, 194, .13) !important;
  color: #063f8f !important;
  font-weight: 850 !important;
  box-shadow: inset 0 -1px 0 rgba(13, 86, 194, .22) !important;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.sqd-theme-dark .sqd-app .sqd-search-hit,
body.sqd-theme-dark .sqd-app .sqd-search-hit,
.sqd-theme-dark .sqd-app mark.sqd-search-hit,
body.sqd-theme-dark .sqd-app mark.sqd-search-hit {
  background: rgba(96, 165, 250, .22) !important;
  color: #dbeafe !important;
  box-shadow: inset 0 -1px 0 rgba(147, 197, 253, .32) !important;
}
.sqd-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sqd-badge {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  border-radius: 999px;
  padding: 0 10px;
  background: #f1f5fa;
  color: #33415d;
  font-size: 12px;
  font-weight: 850;
}
.sqd-badge-green { background: var(--sqd-green-bg); color: #087044; }
.sqd-badge-blue { background: #eaf3ff; color: #0b56c7; }
.sqd-badge-purple { background: #f2edff; color: #5a31d1; }
.sqd-badge-neutral { background: #f2f5f9; color: #4d5870; }
.sqd-question-actions {
  display: grid;
  gap: 10px;
  align-self: center;
}
.sqd-card-primary,
.sqd-card-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border-radius: 9px;
  font-weight: 850;
  font-size: 14px;
}
.sqd-card-primary {
  background: linear-gradient(135deg, var(--sqd-blue-800), var(--sqd-blue-600));
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(11,106,243,.19);
}
.sqd-card-secondary {
  background: #fff;
  color: var(--sqd-blue-700) !important;
  border: 1px solid var(--sqd-line);
}
.sqd-load-more-wrap { display: flex; justify-content: center; margin: 28px 0 8px; }
.sqd-load-more {
  min-height: 46px;
  border: 1px solid #bfd0ea;
  border-radius: 999px;
  background: #fff;
  color: var(--sqd-blue-700);
  padding: 0 28px;
  font-weight: 850;
}

/* 08. Estados, responsivo e utilitários -------------------------------- */
.sqd-skeleton {
  min-height: 126px;
  border-radius: 16px;
  background: linear-gradient(90deg, #eef3fa, #f8fbff, #eef3fa);
  background-size: 220% 100%;
  animation: sqdShimmer 1.15s infinite linear;
}
@keyframes sqdShimmer { to { background-position: -220% 0; } }
.sqd-loading .sqd-work-search button[type="submit"] { opacity: .78; }

html.sqd-modal-open { overflow: auto; }

@media (max-width: 1280px) {
  .sqd-workspace-layout { grid-template-columns: 330px minmax(0, 1fr); }
  .sqd-workspace-actions { gap: 10px; }
  .sqd-work-action { padding: 0 16px; }
  .sqd-workspace-logo img { width: 330px; }
}

@media (max-width: 980px) {
  .sqd-workspace-shell { width: 100%; border-left: 0; border-right: 0; }
  .sqd-topline,
  .sqd-workspace-header { flex-direction: column; align-items: flex-start; height: auto; }
  .sqd-topline-nav { gap: 14px; flex-wrap: wrap; }
  .sqd-workspace-layout { grid-template-columns: 1fr; padding: 0 18px 28px; }
  .sqd-filter-sidebar { position: static; border: 1px solid var(--sqd-line); border-radius: 18px; background: rgba(255,255,255,.75); padding: 18px; }
  .sqd-quick-panels { grid-template-columns: 1fr; }
  .sqd-question-card { grid-template-columns: 1fr; }
  .sqd-question-actions { grid-template-columns: 1fr 1fr; }
  .sqd-tax-grid { grid-template-columns: 1fr; }
  .sqd-tax-grid .sqd-term-roots { border-right: 0; border-bottom: 1px solid var(--sqd-line-soft); }
}

@media (max-width: 640px) {
  .sqd-workspace-logo img { max-width: 100%; width: 280px; }
  .sqd-workspace-actions { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
  .sqd-work-action { justify-content: center; min-height: 44px; padding: 0 12px; }
  .sqd-work-search { grid-template-columns: 1fr; }
  .sqd-work-search::before { margin-top: 20px; }
  .sqd-work-search input { padding-left: 56px; }
  .sqd-search-clear { display: none; }
  .sqd-work-search button[type="submit"] { min-height: 50px; border-radius: 0 0 11px 11px; }
  .sqd-active-line,
  .sqd-results-toolbar { align-items: flex-start; flex-direction: column; }
  .sqd-sort,
  .sqd-sort select { width: 100%; }
  .sqd-question-actions { grid-template-columns: 1fr; }
}

/* 09. Ajustes v0.4.1.2 -------------------------------------------------- */
.sqd-popular-panels {
  grid-template-columns: 1fr;
}
.sqd-popular-card {
  padding: 18px;
  overflow: hidden;
}
.sqd-popular-head {
  margin-bottom: 14px;
}
.sqd-popular-head > div {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sqd-popular-head strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #17243d;
}
.sqd-section-icon {
  display: inline-grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: #eaf3ff;
  color: var(--sqd-blue-700);
  font-size: 14px;
  line-height: 1;
}
.sqd-popular-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}
.sqd-popular-item {
  min-width: 0;
  min-height: 126px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid #e2e9f5;
  border-radius: 14px;
  background: linear-gradient(180deg, #fff, #f9fbff);
  color: #1c2a44 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(15, 33, 66, .045);
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
  overflow: hidden;
}
.sqd-popular-item:hover {
  transform: translateY(-1px);
  border-color: #bfd0ea;
  box-shadow: 0 14px 28px rgba(15, 33, 66, .075);
}
.sqd-popular-rank {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  background: #edf5ff;
  color: var(--sqd-blue-700);
  font-size: 15px;
  font-weight: 900;
}
.sqd-popular-copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}
.sqd-popular-copy strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #17243d;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 900;
}
.sqd-popular-copy small {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}
.sqd-popular-copy em {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  background: #eef4ff;
  color: #24446e;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sqd-popular-copy span {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #56647e;
  font-size: 12px;
  line-height: 1.35;
}
.sqd-popular-empty {
  min-height: 86px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #f7faff;
}

.sqd-work-search {
  position: relative;
}
.sqd-work-search::before {
  content: "⌕";
  position: absolute;
  left: 28px;
  top: 50%;
  transform: translateY(-50%);
  margin: 0;
  color: #3f77c8;
  font-size: 28px;
  z-index: 1;
  pointer-events: none;
}
.sqd-work-search input {
  padding-left: 76px !important;
}

.sqd-app.sqd-sidebar-collapsed .sqd-workspace-layout {
  grid-template-columns: 84px minmax(0, 1fr);
}
.sqd-app.sqd-sidebar-collapsed .sqd-filter-sidebar {
  padding-top: 12px;
}
.sqd-app.sqd-sidebar-collapsed .sqd-filter-title {
  justify-content: center;
  padding-bottom: 12px;
}
.sqd-app.sqd-sidebar-collapsed .sqd-filter-title strong,
.sqd-app.sqd-sidebar-collapsed .sqd-side-filter > span:not(.sqd-side-icon),
.sqd-app.sqd-sidebar-collapsed .sqd-side-filter > em,
.sqd-app.sqd-sidebar-collapsed .sqd-side-toggles,
.sqd-app.sqd-sidebar-collapsed .sqd-sidebar-advanced,
.sqd-app.sqd-sidebar-collapsed .sqd-sidebar-link,
.sqd-app.sqd-sidebar-collapsed .sqd-sidebar-clear,
.sqd-app.sqd-sidebar-collapsed .sqd-sidebar-save {
  display: none !important;
}
.sqd-app.sqd-sidebar-collapsed .sqd-side-filter {
  grid-template-columns: 42px;
  justify-content: center;
  min-height: 54px;
  width: 54px;
  margin: 0 auto 10px;
  padding: 6px;
  border: 1px solid transparent;
  border-radius: 14px;
}
.sqd-app.sqd-sidebar-collapsed .sqd-side-filter-featured {
  border-color: #bfddff;
  background: #f7fbff;
}
.sqd-app.sqd-sidebar-collapsed .sqd-side-icon {
  width: 40px;
  height: 40px;
}

.sqd-load-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}
.sqd-load-more.is-loading,
.sqd-load-more:disabled {
  cursor: wait;
  opacity: .78;
}
.sqd-button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(11, 106, 243, .22);
  border-top-color: var(--sqd-blue-700);
  border-radius: 999px;
  animation: sqdSpin .72s linear infinite;
}
@keyframes sqdSpin { to { transform: rotate(360deg); } }

@media (max-width: 1280px) {
  .sqd-popular-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .sqd-app.sqd-sidebar-collapsed .sqd-workspace-layout { grid-template-columns: 1fr; }
  .sqd-app.sqd-sidebar-collapsed .sqd-filter-sidebar { display: none; }
}
@media (max-width: 640px) {
  .sqd-popular-list { grid-template-columns: 1fr; }
  .sqd-work-search { grid-template-columns: 1fr auto; }
  .sqd-work-search button[type="submit"] { min-width: 110px; }
}

/* 10. Refinamentos v0.4.1.3 ------------------------------------------- */
.sqd-workspace-logo img {
  width: 300px;
  max-width: 32vw;
}
.sqd-workspace-header {
  padding-top: 22px;
  padding-bottom: 20px;
}
.sqd-mobile-menu-toggle,
.sqd-mobile-filter-toggle {
  display: none;
}
.sqd-side-icon {
  font-size: 17px;
  line-height: 1;
}
.sqd-side-icon-board,
.sqd-side-icon-agency,
.sqd-side-icon-role,
.sqd-side-icon-level {
  font-size: 15px;
}

/* Modal centralizado para Matéria e assunto */
.sqd-taxonomy-dock.sqd-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  margin: 0;
  padding: 28px;
}
.sqd-taxonomy-dock.sqd-modal[hidden] {
  display: none !important;
}
.sqd-taxonomy-dock .sqd-modal-backdrop {
  display: block;
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 39, .58);
  backdrop-filter: blur(8px);
}
.sqd-taxonomy-dock .sqd-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(940px, calc(100vw - 42px));
  max-height: min(78vh, 780px);
  margin: 0;
  border: 1px solid rgba(222, 231, 244, .96);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(3, 12, 30, .30);
  overflow: hidden;
}
.sqd-tax-grid {
  max-height: calc(min(78vh, 780px) - 76px);
}
html.sqd-modal-open {
  overflow: hidden;
}

.sqd-popular-item {
  min-height: 118px;
}
.sqd-popular-copy strong {
  font-size: 14px;
}
.sqd-popular-copy span {
  -webkit-line-clamp: 2;
}

@media (max-width: 980px) {
  .sqd-topline {
    position: relative;
    min-height: 60px;
    height: auto;
    flex-direction: row;
    align-items: center;
  }
  .sqd-mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 0 14px;
    margin-left: auto;
    border: 1px solid var(--sqd-line);
    border-radius: 999px;
    background: #fff;
    color: #15213a;
    font-weight: 850;
  }
  .sqd-topline-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 18px;
    right: 18px;
    z-index: 40;
    padding: 12px;
    border: 1px solid var(--sqd-line);
    border-radius: 16px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 20px 55px rgba(7, 18, 39, .16);
  }
  .sqd-app.sqd-mobile-menu-open .sqd-topline-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .sqd-topline-nav a {
    min-height: 42px;
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-radius: 10px;
  }
  .sqd-topline-nav a:hover {
    background: #f2f7ff;
  }
  .sqd-workspace-header {
    gap: 16px;
  }
  .sqd-workspace-logo img {
    width: 240px;
    max-width: 86vw;
  }
  .sqd-mobile-filter-toggle {
    display: none;
    width: 100%;
    min-height: 54px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 16px;
    border: 1px solid #bfddff;
    border-radius: 16px;
    background: linear-gradient(180deg, #fff, #f4f9ff);
    color: var(--sqd-blue-800);
    box-shadow: 0 12px 30px rgba(11,106,243,.10);
  }
  .sqd-mobile-filter-toggle span {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #eaf3ff;
  }
  .sqd-app.sqd-sidebar-collapsed .sqd-mobile-filter-toggle {
    display: inline-flex;
  }
  .sqd-app.sqd-sidebar-collapsed .sqd-filter-sidebar {
    display: none !important;
  }
  .sqd-app:not(.sqd-sidebar-collapsed) .sqd-mobile-filter-toggle {
    display: none;
  }
  .sqd-taxonomy-dock.sqd-modal {
    padding: 14px;
    align-items: start;
    padding-top: 74px;
  }
  .sqd-taxonomy-dock .sqd-modal-dialog {
    width: min(100%, 720px);
    max-height: calc(100vh - 94px);
    border-radius: 18px;
  }
  .sqd-tax-grid {
    max-height: calc(100vh - 170px);
    overflow: auto;
  }
}

@media (max-width: 640px) {
  .sqd-workspace-logo img {
    width: 210px;
  }
  .sqd-workspace-actions {
    grid-template-columns: 1fr;
  }
  .sqd-work-search::before {
    left: 22px;
    margin-left: 0;
    top: 32px;
  }
  .sqd-work-search input {
    padding-left: 58px !important;
  }
  .sqd-taxonomy-dock .sqd-modal-dialog {
    width: calc(100vw - 20px);
  }
  .sqd-tax-head {
    padding: 14px;
  }
  .sqd-tax-grid .sqd-term-roots,
  .sqd-tax-grid .sqd-term-browser {
    padding: 14px;
  }
}

/* 11. Refinamentos v0.4.1.4 ------------------------------------------- */
.sqd-workspace-logo img {
  width: 260px;
  max-width: 28vw;
}
.sqd-topline-nav[hidden] {
  display: none !important;
}
@media (max-width: 980px) {
  .sqd-workspace-logo img {
    width: 215px;
    max-width: 78vw;
  }
  .sqd-app.sqd-mobile-menu-open .sqd-topline-nav:not([hidden]) {
    display: grid !important;
  }
  .sqd-mobile-filter-toggle {
    position: sticky;
    top: 10px;
    z-index: 20;
    margin: 0 0 14px;
  }
  .sqd-app.sqd-sidebar-collapsed .sqd-mobile-filter-toggle {
    display: inline-flex !important;
  }
  .sqd-app.sqd-mobile-filters-open .sqd-filter-sidebar {
    display: block !important;
  }
}

@media (max-width: 640px) {
  .sqd-workspace-logo img {
    width: 185px;
  }
}


/* 12. Ajustes v0.4.1.5 — filtros refinados e mobile -------------------- */
.sqd-workspace-logo img {
  width: 235px;
  max-width: 25vw;
}
.sqd-side-filter-stack {
  align-items: start;
}
.sqd-side-filter-stack > span:not(.sqd-side-icon) {
  min-width: 0;
}
.sqd-check-picker {
  margin-top: 8px;
  display: grid;
  gap: 9px;
}
.sqd-list-search input[type="search"] {
  width: 100%;
  height: 34px;
  padding: 0 10px !important;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  background: #fff;
  color: #22304a;
  outline: 0;
  font-size: 13px;
}
.sqd-list-search input[type="search"]:focus {
  border-color: #9fc7ff;
  box-shadow: 0 0 0 3px rgba(11,106,243,.10);
}
.sqd-check-group {
  display: grid;
  gap: 5px;
}
.sqd-check-group > em {
  display: block;
  margin: 2px 0 1px;
  color: #73809a;
  font-style: normal;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
}
.sqd-banca-picker .sqd-check-group:last-child {
  max-height: 175px;
  overflow: auto;
  padding-right: 4px;
}
.sqd-check-option {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 30px;
  padding: 5px 7px;
  border-radius: 9px;
  color: #35425c;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}
.sqd-check-option:hover { background: #f2f7ff; }
.sqd-check-option.is-checked {
  background: #eaf3ff;
  color: #074f9f;
}
.sqd-check-option input {
  width: 14px;
  height: 14px;
  accent-color: var(--sqd-blue-700);
  flex: 0 0 auto;
}
.sqd-check-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sqd-year-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
}
.sqd-year-picker .sqd-check-option {
  justify-content: center;
  padding: 5px 4px;
}
.sqd-year-picker .sqd-check-option span {
  white-space: normal;
}
.sqd-lines-range {
  margin-top: 8px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.sqd-lines-range label {
  display: grid;
  gap: 4px;
}
.sqd-lines-range small {
  margin: 0;
  color: #73809a;
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sqd-lines-range input[type="number"] {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #dfe8f5;
  border-radius: 10px;
  background: #fff;
  color: #22304a;
  outline: 0;
  font-size: 13px;
}
.sqd-lines-range input[type="number"]:focus {
  border-color: #9fc7ff;
  box-shadow: 0 0 0 3px rgba(11,106,243,.10);
}
.sqd-term-hierarchy {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.sqd-matter-pill,
.sqd-term-pill {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}
.sqd-matter-pill {
  background: #eef6ff;
  color: #064b9a;
  border: 1px solid #cfe4ff;
}
.sqd-term-pill {
  background: #f1efff;
  color: #4c2ed6;
  border: 1px solid #dad3ff;
}
.sqd-hierarchy-sep {
  color: #8491a8;
  font-weight: 900;
}
.sqd-question-eyebrow {
  gap: 8px;
}
.sqd-side-filter select[name="area"] option {
  text-transform: none;
}

@media (max-width: 1280px) {
  .sqd-workspace-logo img { width: 220px; }
}
@media (max-width: 980px) {
  .sqd-workspace-logo img {
    width: 195px;
    max-width: 72vw;
  }
  .sqd-topline-nav {
    position: fixed !important;
    top: 70px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 1000002 !important;
    max-height: calc(100vh - 88px);
    overflow: auto;
  }
  .sqd-app.sqd-mobile-menu-open .sqd-topline-nav:not([hidden]) {
    display: grid !important;
  }
  .sqd-mobile-filter-toggle {
    min-height: 58px;
    font-size: 15px;
  }
}
@media (max-width: 640px) {
  .sqd-workspace-logo img { width: 165px; }
  .sqd-year-picker { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sqd-banca-picker .sqd-check-group:last-child { max-height: 160px; }
}


/* 13. Ajustes v0.4.1.6 — multiselects em formato dropdown ------------- */
.sqd-multi-select {
  position: relative;
  width: 100%;
  margin-top: 8px;
}
.sqd-multi-trigger {
  width: 100%;
  min-height: 38px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  padding: 0 10px 0 12px;
  border: 1px solid #dfe8f5;
  border-radius: 11px;
  background: #fff;
  color: #22304a;
  text-align: left;
  box-shadow: 0 4px 12px rgba(15,33,66,.035);
}
.sqd-multi-trigger span {
  min-width: 0;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  font-size: 13px;
  font-weight: 750;
  color: #62708c;
}
.sqd-multi-trigger em {
  color: #8390a8;
  font-style: normal;
  transition: transform .16s ease;
}
.sqd-multi-select.has-value .sqd-multi-trigger {
  border-color: #bbd7ff;
  background: #f7fbff;
}
.sqd-multi-select.has-value .sqd-multi-trigger span {
  color: #0b4ca2;
}
.sqd-multi-select.is-open .sqd-multi-trigger {
  border-color: #8fc0ff;
  box-shadow: 0 0 0 3px rgba(11,106,243,.10);
}
.sqd-multi-select.is-open .sqd-multi-trigger em {
  transform: rotate(180deg);
}
.sqd-multi-panel {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  z-index: 10020;
  display: grid;
  gap: 9px;
  max-height: 310px;
  padding: 10px;
  border: 1px solid #d7e2f2;
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 55px rgba(7,18,39,.16);
  overflow: auto;
}
.sqd-multi-panel[hidden] { display: none !important; }
.sqd-multi-panel .sqd-list-search {
  position: sticky;
  top: -10px;
  z-index: 1;
  display: block;
  padding: 0 0 8px;
  background: rgba(255,255,255,.98);
}
.sqd-multi-panel .sqd-check-group-rest {
  max-height: none;
  overflow: visible;
}
.sqd-banca-picker .sqd-check-group:last-child,
.sqd-year-picker,
.sqd-check-picker {
  max-height: none;
}
.sqd-year-picker {
  display: grid;
  gap: 6px;
}
.sqd-multi-select-ano .sqd-multi-panel {
  max-height: 260px;
}
.sqd-multi-select-ano .sqd-check-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}
.sqd-multi-select-ano .sqd-check-option {
  justify-content: center;
}
.sqd-multi-panel .sqd-check-option {
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid transparent;
}
.sqd-multi-panel .sqd-check-option.is-checked {
  border-color: #cfe2ff;
}
.sqd-side-filter-stack {
  overflow: visible;
}
.sqd-filter-sidebar {
  overflow: visible;
}

@media (max-width: 980px) {
  .sqd-multi-panel {
    position: relative;
    top: auto;
    margin-top: 8px;
    max-height: 260px;
    box-shadow: 0 14px 35px rgba(7,18,39,.12);
  }
}

/* 14. Ajustes v0.4.1.7 — SEO, populares recolhível, rodapé e modo escuro */
.sqd-theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--sqd-line);
  border-radius: 999px;
  background: rgba(255,255,255,.88);
  color: #1e2c44;
  font-size: 13px;
  font-weight: 850;
  box-shadow: 0 7px 18px rgba(15,33,66,.045);
}
.sqd-theme-toggle span {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #eef5ff;
  color: var(--sqd-blue-700);
}
.sqd-popular-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.sqd-popular-toggle {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid #d7e4f4;
  border-radius: 999px;
  background: #fff;
  color: #315075;
  font-size: 12px;
  font-weight: 850;
}
.sqd-popular-toggle:hover {
  border-color: #bcd4f3;
  background: #f7fbff;
}
.sqd-app.sqd-popular-collapsed .sqd-popular-card {
  padding-bottom: 16px;
}
.sqd-app.sqd-popular-collapsed .sqd-popular-head {
  margin-bottom: 0;
}
.sqd-question-card p {
  line-height: 1.55;
  color: #26334c;
}
.sqd-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  margin: 0 28px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--sqd-line-soft);
  color: #53617a;
}
.sqd-footer div {
  display: grid;
  gap: 4px;
}
.sqd-footer strong {
  color: #17243d;
  font-size: 14px;
  font-weight: 900;
}
.sqd-footer span,
.sqd-footer a {
  font-size: 13px;
  font-weight: 650;
}
.sqd-footer nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px;
}
.sqd-footer a {
  color: #315075;
}
.sqd-footer a:hover {
  color: var(--sqd-blue-700);
}

/* Modo escuro: primeira camada visual. Mantém contraste e não altera lógica. */
.sqd-app.sqd-theme-dark {
  --sqd-ink: #eef4ff;
  --sqd-muted: #a8b6cf;
  --sqd-soft: #111b2e;
  --sqd-line: #263958;
  --sqd-line-soft: #1e2f4d;
  --sqd-card: #111c31;
  --sqd-blue-50: #0f1b30;
  --sqd-blue-100: #112848;
  --sqd-green-bg: #102d24;
  --sqd-shadow-soft: 0 18px 55px rgba(0,0,0,.28);
  --sqd-shadow-card: 0 14px 38px rgba(0,0,0,.22);
  color: var(--sqd-ink);
  background:
    radial-gradient(circle at 78% 12%, rgba(33, 121, 255, .18), transparent 31%),
    linear-gradient(180deg, #071225 0%, #081629 48%, #0b1221 100%);
}
.sqd-theme-dark .sqd-workspace-shell,
.sqd-theme-dark .sqd-topline,
.sqd-theme-dark .sqd-workspace-header {
  background: rgba(10, 20, 36, .78);
  border-color: rgba(58, 78, 115, .75);
}
.sqd-theme-dark .sqd-back-link,
.sqd-theme-dark .sqd-topline-nav,
.sqd-theme-dark .sqd-topline-nav a,
.sqd-theme-dark .sqd-work-action,
.sqd-theme-dark .sqd-filter-title strong,
.sqd-theme-dark .sqd-results-title strong,
.sqd-theme-dark .sqd-question-card h3,
.sqd-theme-dark .sqd-popular-head strong,
.sqd-theme-dark .sqd-footer strong {
  color: #eef4ff !important;
}
.sqd-theme-dark .sqd-account-link,
.sqd-theme-dark .sqd-work-action,
.sqd-theme-dark .sqd-theme-toggle,
.sqd-theme-dark .sqd-filter-collapse,
.sqd-theme-dark .sqd-side-filter,
.sqd-theme-dark .sqd-quick-card,
.sqd-theme-dark .sqd-search-strip,
.sqd-theme-dark .sqd-results-shell,
.sqd-theme-dark .sqd-question-card,
.sqd-theme-dark .sqd-popular-item,
.sqd-theme-dark .sqd-multi-trigger,
.sqd-theme-dark .sqd-multi-panel,
.sqd-theme-dark .sqd-popular-toggle,
.sqd-theme-dark .sqd-taxonomy-dock .sqd-modal-dialog {
  background: rgba(15, 27, 47, .94);
  border-color: #2a3e5f;
  color: #eaf1ff;
}
.sqd-theme-dark .sqd-work-action-ai {
  background: linear-gradient(180deg, rgba(57,38,128,.82), rgba(31,24,74,.94));
  border-color: #51419a;
}
.sqd-theme-dark .sqd-side-filter small,
.sqd-theme-dark .sqd-question-meta,
.sqd-theme-dark .sqd-question-card p,
.sqd-theme-dark .sqd-popular-copy span,
.sqd-theme-dark .sqd-footer,
.sqd-theme-dark .sqd-footer span,
.sqd-theme-dark .sqd-results-title span,
.sqd-theme-dark .sqd-active-line > span {
  color: #aab8d1;
}
.sqd-theme-dark input,
.sqd-theme-dark select,
.sqd-theme-dark .sqd-lines-range input[type="number"],
.sqd-theme-dark .sqd-list-search input[type="search"],
.sqd-theme-dark .sqd-work-search input {
  background: #0d1729 !important;
  border-color: #2d4265 !important;
  color: #eef4ff !important;
}
.sqd-theme-dark input::placeholder {
  color: #8292ad !important;
}
.sqd-theme-dark .sqd-id,
.sqd-theme-dark .sqd-section-icon,
.sqd-theme-dark .sqd-popular-rank,
.sqd-theme-dark .sqd-badge-blue,
.sqd-theme-dark .sqd-matter-pill {
  background: #102d55;
  color: #98c6ff;
  border-color: #274a77;
}
.sqd-theme-dark .sqd-term-pill,
.sqd-theme-dark .sqd-badge-purple {
  background: #281f55;
  color: #c4b6ff;
  border-color: #4f3d97;
}
.sqd-theme-dark .sqd-badge,
.sqd-theme-dark .sqd-badge-neutral,
.sqd-theme-dark .sqd-popular-copy em,
.sqd-theme-dark .sqd-chip {
  background: #162642;
  color: #c3d0e6;
  border-color: #30486c;
}
.sqd-theme-dark .sqd-badge-green {
  background: #12352a;
  color: #7fe2b2;
}
.sqd-theme-dark .sqd-card-secondary,
.sqd-theme-dark .sqd-sidebar-link,
.sqd-theme-dark .sqd-sidebar-clear,
.sqd-theme-dark .sqd-sidebar-save {
  background: #101d33;
  border-color: #30486c;
  color: #d7e4ff;
}
.sqd-theme-dark .sqd-footer {
  border-color: #1f3150;
}
.sqd-theme-dark .sqd-footer a {
  color: #9fc7ff;
}

@media (max-width: 980px) {
  .sqd-theme-toggle {
    width: 100%;
    justify-content: center;
  }
  .sqd-footer {
    display: grid;
    margin: 0 18px;
    padding-bottom: 28px;
  }
  .sqd-footer nav {
    justify-content: flex-start;
  }
}


/* 15. Ajustes v0.4.1.9 — respiro lateral, logo dark e ícones SVG ------ */
.sqd-workspace-shell {
  width: min(1760px, calc(100vw - 76px));
}
.sqd-workspace-layout {
  padding-left: 36px;
  padding-right: 36px;
  gap: 34px;
}
.sqd-topline,
.sqd-workspace-header {
  padding-left: 36px;
  padding-right: 36px;
}
.sqd-footer {
  margin-left: 36px;
  margin-right: 36px;
}
.sqd-workspace-logo img {
  width: 218px;
  max-width: 23vw;
}
.sqd-workspace-logo .sqd-logo-dark {
  display: none;
}
.sqd-theme-dark .sqd-workspace-logo .sqd-logo-light {
  display: none;
}
.sqd-theme-dark .sqd-workspace-logo .sqd-logo-dark {
  display: block;
}
.sqd-side-icon {
  font-size: 0 !important;
  color: var(--sqd-blue-700);
}
.sqd-side-icon svg {
  width: 19px;
  height: 19px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sqd-side-filter-featured .sqd-side-icon {
  background: linear-gradient(180deg, #eaf4ff, #dfefff);
}
.sqd-side-filter:not(.sqd-side-filter-featured) .sqd-side-icon {
  background: #f0f5fb;
  color: #2866b8;
}
.sqd-theme-dark .sqd-side-icon {
  background: #102746 !important;
  color: #87bdff !important;
  border: 1px solid #23466f;
}
.sqd-theme-dark .sqd-side-filter-featured .sqd-side-icon {
  background: linear-gradient(180deg, #11345d, #0e294c) !important;
}

/* Modo escuro: refino de contraste e profundidade visual */
.sqd-app.sqd-theme-dark {
  background:
    radial-gradient(circle at 72% 9%, rgba(19, 112, 244, .22), transparent 34%),
    radial-gradient(circle at 6% 18%, rgba(17, 199, 232, .10), transparent 24%),
    linear-gradient(180deg, #07101f 0%, #08172b 46%, #091321 100%);
}
.sqd-theme-dark .sqd-workspace-shell {
  background: rgba(8, 18, 34, .88);
  border-color: rgba(49, 69, 102, .86);
  box-shadow: 0 0 0 1px rgba(108, 139, 190, .06) inset;
}
.sqd-theme-dark .sqd-topline {
  background: rgba(7, 16, 31, .92);
  border-color: #203452;
}
.sqd-theme-dark .sqd-workspace-header {
  background: rgba(9, 19, 35, .74);
}
.sqd-theme-dark .sqd-filter-sidebar {
  color: #dce8fb;
}
.sqd-theme-dark .sqd-side-filter:hover {
  background: rgba(31, 52, 83, .42);
}
.sqd-theme-dark .sqd-side-filter-featured {
  background: rgba(15, 38, 68, .84);
  border-color: #2f5f94;
}
.sqd-theme-dark .sqd-popular-card,
.sqd-theme-dark .sqd-search-strip,
.sqd-theme-dark .sqd-question-card {
  box-shadow: 0 18px 55px rgba(0,0,0,.20);
}
.sqd-theme-dark .sqd-popular-item {
  background: linear-gradient(180deg, rgba(17, 31, 52, .98), rgba(13, 25, 44, .98));
}
.sqd-theme-dark .sqd-work-search button[type="submit"],
.sqd-theme-dark .sqd-card-primary {
  background: linear-gradient(135deg, #0d66db, #2383ff);
}
.sqd-theme-dark .sqd-theme-toggle span {
  background: #142f55;
  color: #9fc7ff;
}
.sqd-theme-dark .sqd-multi-panel .sqd-list-search {
  background: rgba(15, 27, 47, .98);
}

@media (max-width: 1280px) {
  .sqd-workspace-shell { width: min(100%, calc(100vw - 48px)); }
  .sqd-workspace-layout { padding-left: 28px; padding-right: 28px; gap: 28px; }
  .sqd-topline,
  .sqd-workspace-header { padding-left: 28px; padding-right: 28px; }
  .sqd-footer { margin-left: 28px; margin-right: 28px; }
  .sqd-workspace-logo img { width: 205px; max-width: 25vw; }
}
@media (max-width: 980px) {
  .sqd-workspace-shell { width: 100%; }
  .sqd-workspace-layout { padding-left: 18px; padding-right: 18px; }
  .sqd-topline,
  .sqd-workspace-header { padding-left: 18px; padding-right: 18px; }
  .sqd-footer { margin-left: 18px; margin-right: 18px; }
  .sqd-workspace-logo img { width: 182px; max-width: 70vw; }
}
@media (max-width: 640px) {
  .sqd-workspace-logo img { width: 154px; }
  .sqd-side-icon svg { width: 18px; height: 18px; }
}

/* 16. Ajustes v0.4.1.9 — contraste do modo escuro e acabamento lateral ------ */
/* Remove as bordas claras percebidas no modo escuro e faz a área escura ocupar todo o shortcode. */
.sqd-app.sqd-theme-dark {
  background: #07101f !important;
}
.sqd-theme-dark .sqd-workspace-shell {
  width: 100% !important;
  max-width: none !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}
.sqd-theme-dark .sqd-footer {
  border-color: rgba(88, 116, 162, .28) !important;
  background: transparent !important;
}

/* Filtros laterais: contraste mais consistente e tamanhos menos discrepantes. */
.sqd-theme-dark .sqd-filter-title strong {
  color: #f2f7ff !important;
  font-size: 20px !important;
  letter-spacing: 0 !important;
}
.sqd-theme-dark .sqd-side-filter strong,
.sqd-theme-dark .sqd-side-filter-stack > span:not(.sqd-side-icon) strong {
  color: #dcecff !important;
  font-size: 15px !important;
  line-height: 1.2 !important;
  font-weight: 850 !important;
}
.sqd-theme-dark .sqd-side-filter small,
.sqd-theme-dark .sqd-side-filter em {
  color: #b7c6df !important;
  font-size: 13px !important;
  line-height: 1.25 !important;
}
.sqd-theme-dark .sqd-side-toggles label,
.sqd-theme-dark .sqd-lines-range label {
  color: #c9d6ec !important;
}
.sqd-theme-dark .sqd-side-filter select,
.sqd-theme-dark .sqd-side-filter input[type="text"],
.sqd-theme-dark .sqd-lines-range input[type="number"],
.sqd-theme-dark .sqd-multi-trigger {
  color: #eaf2ff !important;
  background: #0b192d !important;
  border-color: #2e456a !important;
}
.sqd-theme-dark .sqd-side-filter select option {
  color: #10182f !important;
  background: #ffffff !important;
}

/* Questões populares: assuntos e chips com leitura melhor no modo escuro. */
.sqd-theme-dark .sqd-popular-copy strong {
  color: #f1f7ff !important;
}
.sqd-theme-dark .sqd-popular-copy span {
  color: #c5d2e8 !important;
}
.sqd-theme-dark .sqd-popular-copy em {
  background: #173761 !important;
  border: 1px solid #315d91 !important;
  color: #d8eaff !important;
}
.sqd-theme-dark .sqd-popular-copy small em:first-child {
  background: #102d55 !important;
  color: #a9d1ff !important;
}

/* Cards de resultado: metadados e tags com mais contraste no modo escuro. */
.sqd-theme-dark .sqd-question-meta {
  color: #b8c7dd !important;
}
.sqd-theme-dark .sqd-question-meta strong {
  color: #f0f6ff !important;
}
.sqd-theme-dark .sqd-matter-pill {
  background: #173b66 !important;
  border: 1px solid #376da6 !important;
  color: #d8ecff !important;
}
.sqd-theme-dark .sqd-term-pill {
  background: #432878 !important;
  border: 1px solid #7257b9 !important;
  color: #eadfff !important;
}
.sqd-theme-dark .sqd-id {
  background: #123865 !important;
  border: 1px solid #315e95 !important;
  color: #bfe0ff !important;
}
.sqd-theme-dark .sqd-badge,
.sqd-theme-dark .sqd-badge-neutral {
  background: #1b2d4c !important;
  border: 1px solid #3d567d !important;
  color: #d7e4f7 !important;
}
.sqd-theme-dark .sqd-badge-blue {
  background: #123865 !important;
  border: 1px solid #315e95 !important;
  color: #bddfff !important;
}
.sqd-theme-dark .sqd-badge-purple {
  background: #40266f !important;
  border: 1px solid #6952a5 !important;
  color: #eadfff !important;
}
.sqd-theme-dark .sqd-badge-green {
  background: #113d30 !important;
  border: 1px solid #2c755d !important;
  color: #99efc8 !important;
}
.sqd-theme-dark .sqd-chip {
  background: #173761 !important;
  border: 1px solid #315d91 !important;
  color: #d8eaff !important;
}

/* 0.4.1.11 — Taxonomia multisseleção ---------------------------------- */
.sqd-taxonomy-dock .sqd-modal-dialog {
  width: min(1120px, calc(100vw - 42px));
}
.sqd-tax-grid {
  grid-template-columns: minmax(210px, .88fr) minmax(320px, 1.25fr) minmax(260px, .95fr);
}
.sqd-tax-grid .sqd-term-browser {
  border-right: 1px solid var(--sqd-line-soft);
}
.sqd-term-selected-panel {
  padding: 18px;
  min-width: 0;
  background: linear-gradient(180deg, #fbfdff, #f6f9fe);
}
.sqd-term-selected-panel > strong {
  display: block;
  color: #172541;
  font-size: 13px;
  margin-bottom: 12px;
}
.sqd-term-selected-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 246px;
  overflow: auto;
  padding-right: 3px;
}
.sqd-term-selected-empty {
  padding: 14px;
  border: 1px dashed var(--sqd-line);
  border-radius: 12px;
  color: #64718c;
  background: #fff;
  font-size: 13px;
  line-height: 1.4;
}
.sqd-selected-term-chip {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  border: 1px solid #cfddf3;
  border-radius: 12px;
  background: #eef6ff;
  color: #0a438f;
  padding: 9px 9px 9px 11px;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}
.sqd-selected-term-chip span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sqd-selected-term-chip button {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  border: 1px solid #bed1ee;
  background: #fff;
  color: #0a57c8;
  font-weight: 900;
  cursor: pointer;
}
.sqd-term-selected-actions {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 8px;
  margin-top: 14px;
}
.sqd-term-clear,
.sqd-term-apply {
  min-height: 38px;
  border-radius: 10px;
  font-weight: 850;
  cursor: pointer;
}
.sqd-term-clear {
  border: 1px solid var(--sqd-line);
  background: #fff;
  color: #54627a;
}
.sqd-term-apply {
  border: 0;
  background: var(--sqd-blue-700);
  color: #fff;
  box-shadow: 0 12px 26px rgba(10, 86, 194, .22);
}
.sqd-term-item.is-selected {
  border-color: #8fb8ff;
  background: #f0f6ff;
  box-shadow: inset 3px 0 0 var(--sqd-blue-700);
}
.sqd-term-primary.is-selected {
  background: #0c7a53;
  color: #fff;
}
@media (max-width: 980px) {
  .sqd-tax-grid {
    grid-template-columns: 1fr;
  }
  .sqd-tax-grid .sqd-term-browser,
  .sqd-tax-grid .sqd-term-roots {
    border-right: 0;
    border-bottom: 1px solid var(--sqd-line-soft);
  }
  .sqd-term-selected-panel {
    background: #fbfdff;
  }
  .sqd-term-selected-list {
    max-height: 180px;
  }
}
.sqd-theme-dark .sqd-term-selected-panel {
  background: linear-gradient(180deg, #101d33, #0d1729);
  border-color: #2a3e5f;
}
.sqd-theme-dark .sqd-term-selected-panel > strong {
  color: #eaf1ff;
}
.sqd-theme-dark .sqd-term-selected-empty,
.sqd-theme-dark .sqd-selected-term-chip,
.sqd-theme-dark .sqd-term-item.is-selected {
  background: #132744;
  border-color: #315077;
  color: #cde3ff;
}
.sqd-theme-dark .sqd-selected-term-chip button,
.sqd-theme-dark .sqd-term-clear {
  background: #0d1729;
  border-color: #2d4265;
  color: #cde3ff;
}
.sqd-theme-dark .sqd-term-primary.is-selected {
  background: #0f7a59;
  color: #eafff7;
}

/* 0.4.1.11 — Refinos do seletor de taxonomia e modo escuro -------------- */
.sqd-app {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  overflow-x: clip;
}
.sqd-app.sqd-theme-dark {
  box-shadow: 0 0 0 100vmax #071225;
  clip-path: inset(0 -100vmax);
}
.sqd-theme-dark .sqd-workspace-shell {
  background: #071225;
  border-color: transparent !important;
  box-shadow: none !important;
}
.sqd-theme-dark .sqd-topline,
.sqd-theme-dark .sqd-workspace-header,
.sqd-theme-dark .sqd-workspace-layout,
.sqd-theme-dark .sqd-footer {
  background-color: transparent !important;
}
.sqd-theme-dark .sqd-footer {
  border-top-color: #203553 !important;
  margin-bottom: 0 !important;
}

/* Modal de Matéria e assunto: leitura melhor e presença de produto. */
.sqd-taxonomy-dock .sqd-modal-dialog {
  width: min(1180px, calc(100vw - 44px));
  max-height: min(82vh, 820px);
}
.sqd-tax-grid {
  max-height: calc(min(82vh, 820px) - 78px);
}
.sqd-tax-head strong,
.sqd-tax-grid strong {
  letter-spacing: -0.01em;
}
.sqd-term-current {
  border-radius: 12px;
}
.sqd-term-copy strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}
.sqd-term-copy small {
  display: block;
  margin-top: 4px;
}
.sqd-term-included-note {
  display: inline-flex;
  margin-top: 7px;
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff7df;
  color: #7a5206;
  font-size: 11px;
  font-weight: 850;
  font-style: normal;
}
.sqd-term-item.is-included {
  opacity: .82;
  background: #fbfcff;
  border-style: dashed;
}
.sqd-term-item.is-included .sqd-term-primary {
  cursor: not-allowed;
  background: #eef2f8;
  color: #7a869d;
  border-color: #d5dfed;
}
.sqd-term-item-root-choice .sqd-term-copy strong::after {
  content: "matéria inteira";
  display: inline-flex;
  vertical-align: middle;
  margin-left: 8px;
  padding: 3px 7px;
  border-radius: 999px;
  background: #eaf3ff;
  color: #075bdc;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Dark mode específico do modal de taxonomia. */
.sqd-theme-dark .sqd-taxonomy-dock .sqd-modal-backdrop {
  background: rgba(2, 8, 20, .70) !important;
  backdrop-filter: blur(10px);
}
.sqd-theme-dark .sqd-taxonomy-dock .sqd-modal-dialog {
  background: #0d1a2f !important;
  border-color: #345174 !important;
  color: #eef6ff !important;
  box-shadow: 0 36px 110px rgba(0, 0, 0, .58), 0 0 0 1px rgba(115, 158, 218, .12) inset !important;
}
.sqd-theme-dark .sqd-tax-head {
  background: linear-gradient(180deg, #12223b, #0f1c32) !important;
  border-bottom-color: #2c4467 !important;
}
.sqd-theme-dark .sqd-tax-head strong,
.sqd-theme-dark .sqd-tax-grid strong,
.sqd-theme-dark .sqd-term-copy strong,
.sqd-theme-dark .sqd-root-item span,
.sqd-theme-dark .sqd-term-current span {
  color: #f4f8ff !important;
}
.sqd-theme-dark .sqd-tax-head span,
.sqd-theme-dark .sqd-term-copy small,
.sqd-theme-dark .sqd-term-selected-empty,
.sqd-theme-dark .sqd-root-empty,
.sqd-theme-dark .sqd-term-empty,
.sqd-theme-dark .sqd-term-current,
.sqd-theme-dark .sqd-root-item small {
  color: #bfd0e8 !important;
}
.sqd-theme-dark .sqd-tax-grid,
.sqd-theme-dark .sqd-term-roots,
.sqd-theme-dark .sqd-term-browser,
.sqd-theme-dark .sqd-term-selected-panel {
  background: #0d1a2f !important;
  border-color: #2c4467 !important;
}
.sqd-theme-dark .sqd-term-selected-panel {
  background: linear-gradient(180deg, #10213a, #0d1a2f) !important;
}
.sqd-theme-dark .sqd-term-search input,
.sqd-theme-dark .sqd-term-browser input[type="search"] {
  background: #081426 !important;
  border-color: #304b70 !important;
  color: #f2f7ff !important;
}
.sqd-theme-dark .sqd-term-search input::placeholder,
.sqd-theme-dark .sqd-term-browser input[type="search"]::placeholder {
  color: #8fa2bd !important;
}
.sqd-theme-dark .sqd-root-item,
.sqd-theme-dark .sqd-term-item {
  background: #10213a !important;
  border-color: #2d486d !important;
  color: #eaf2ff !important;
}
.sqd-theme-dark .sqd-root-item:hover,
.sqd-theme-dark .sqd-term-item:hover {
  background: #142846 !important;
  border-color: #41628d !important;
}
.sqd-theme-dark .sqd-root-item.is-active,
.sqd-theme-dark .sqd-term-item.is-selected {
  background: #16365f !important;
  border-color: #5b8fce !important;
  box-shadow: inset 3px 0 0 #44a3ff !important;
}
.sqd-theme-dark .sqd-term-count,
.sqd-theme-dark .sqd-root-item small {
  background: #17375f !important;
  border-color: #3b6695 !important;
  color: #d6eaff !important;
}
.sqd-theme-dark .sqd-term-secondary,
.sqd-theme-dark .sqd-term-clear {
  background: #0a1628 !important;
  border-color: #37557d !important;
  color: #dbeaff !important;
}
.sqd-theme-dark .sqd-term-primary {
  background: #1671e8 !important;
  border-color: #2f8cff !important;
  color: #ffffff !important;
}
.sqd-theme-dark .sqd-term-primary.is-selected {
  background: #0f8b63 !important;
  border-color: #19b17d !important;
  color: #effff9 !important;
}
.sqd-theme-dark .sqd-selected-term-chip {
  background: #17375f !important;
  border-color: #4b78ad !important;
  color: #e6f2ff !important;
}
.sqd-theme-dark .sqd-selected-term-chip button,
.sqd-theme-dark .sqd-tax-head button {
  background: #f4f8ff !important;
  color: #0b1629 !important;
  border-color: transparent !important;
}
.sqd-theme-dark .sqd-term-item.is-included {
  background: #0e1b31 !important;
  border-color: #37557d !important;
  opacity: .9;
}
.sqd-theme-dark .sqd-term-item.is-included .sqd-term-primary {
  background: #162842 !important;
  color: #90a5c1 !important;
  border-color: #2c4467 !important;
}
.sqd-theme-dark .sqd-term-included-note {
  background: #33250e !important;
  color: #ffd98a !important;
}
.sqd-theme-dark .sqd-term-item-root-choice .sqd-term-copy strong::after {
  background: #17375f !important;
  color: #bee0ff !important;
}

@media (max-width: 980px) {
  .sqd-taxonomy-dock .sqd-modal-dialog {
    max-height: calc(100vh - 96px);
  }
  .sqd-tax-grid {
    max-height: calc(100vh - 174px);
  }
}


/* 19. Ajustes v0.4.1.12 — contraste do modo escuro em filtros e modal ------ */
.sqd-theme-dark .sqd-switch span {
  color: #d8e6fa !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}
.sqd-theme-dark .sqd-switch i {
  background: #21314a !important;
  border: 1px solid #3a557d !important;
}
.sqd-theme-dark .sqd-switch i::before {
  background: #f5f8ff !important;
}
.sqd-theme-dark .sqd-check-option {
  color: #d6e4f8 !important;
  background: transparent !important;
}
.sqd-theme-dark .sqd-check-option span {
  color: inherit !important;
}
.sqd-theme-dark .sqd-check-option:hover {
  background: #10233d !important;
}
.sqd-theme-dark .sqd-check-option.is-checked {
  background: #17375f !important;
  border-color: #466f9e !important;
  color: #eef6ff !important;
}
.sqd-theme-dark .sqd-multi-panel {
  background: rgba(10, 22, 40, .985) !important;
  border-color: #355178 !important;
  box-shadow: 0 22px 55px rgba(0,0,0,.45) !important;
}
.sqd-theme-dark .sqd-multi-panel .sqd-list-search {
  background: rgba(10, 22, 40, .985) !important;
}
.sqd-theme-dark .sqd-banca-picker .sqd-check-group:last-child,
.sqd-theme-dark .sqd-check-group-rest {
  scrollbar-color: #3a5780 #0c1930;
}
.sqd-theme-dark .sqd-term-loading,
.sqd-theme-dark .sqd-term-empty,
.sqd-theme-dark .sqd-root-empty,
.sqd-theme-dark .sqd-empty,
.sqd-theme-dark .sqd-error {
  background: #10213a !important;
  border-color: #355178 !important;
  color: #c8d7ee !important;
}
.sqd-theme-dark .sqd-term-roots,
.sqd-theme-dark .sqd-term-browser,
.sqd-theme-dark .sqd-term-selected-panel {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}
.sqd-theme-dark .sqd-root-item,
.sqd-theme-dark .sqd-term-item {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}
.sqd-theme-dark .sqd-root-item.is-active,
.sqd-theme-dark .sqd-term-item.is-selected {
  box-shadow: inset 3px 0 0 #44a3ff, 0 0 0 1px rgba(91, 143, 206, .18) !important;
}
.sqd-theme-dark .sqd-term-current,
.sqd-theme-dark .sqd-root-item small,
.sqd-theme-dark .sqd-term-copy small,
.sqd-theme-dark .sqd-term-included-note {
  color: #c5d6ee !important;
}
.sqd-theme-dark .sqd-tax-grid .sqd-term-roots {
  border-right-color: #28415f !important;
}
@media (max-width: 980px) {
  .sqd-theme-dark .sqd-tax-grid .sqd-term-roots {
    border-bottom-color: #28415f !important;
  }
}


/* 20. Ajustes v0.4.1.12.1 — skeleton/loading no modo escuro ----------- */
.sqd-theme-dark .sqd-skeleton {
  background: linear-gradient(90deg, #0f1d33, #162741, #0f1d33) !important;
  background-size: 220% 100% !important;
  border: 1px solid #28415f !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.02) !important;
}


/* 21. Ajustes v0.4.1.12.2 — limpar filtros, ordenação e largura do dark mode */
.sqd-chip-clear-all {
  appearance: none;
  cursor: pointer;
  background: #fff1ec;
  border-color: #ffd2c2;
  color: #aa3515;
  box-shadow: none;
}
.sqd-chip-clear-all:hover {
  background: #ffe7de;
  border-color: #ffb99f;
}
.sqd-chip-clear-all span {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(170, 53, 21, .10);
  color: #9d2f12;
  font-weight: 900;
  line-height: 1;
}
.sqd-empty-results {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 24px 18px;
}
.sqd-empty-results strong {
  display: block;
  color: #23314b;
  font-size: 16px;
  font-weight: 900;
}
.sqd-empty-results .sqd-empty-text {
  color: #64718c;
  font-size: 14px;
}
.sqd-empty-colabore {
  display: grid;
  justify-items: center;
  gap: 7px;
  width: min(100%, 540px);
  margin-top: 6px;
  padding: 15px 16px;
  border: 1px solid #d9e5f3;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff, #f8fbff);
  color: #42516b;
  text-align: center;
}
.sqd-empty-colabore strong {
  color: #20304b;
  font-size: 14px;
  font-weight: 900;
}
.sqd-empty-colabore span {
  color: #63708a;
  font-size: 13px;
}
.sqd-empty-colabore a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #173c52;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  text-decoration: none;
}
.sqd-empty-colabore a:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}
.sqd-sort {
  flex: 0 0 auto;
  min-width: 330px;
  justify-content: flex-end;
}
.sqd-sort span {
  flex: 0 0 auto;
  white-space: nowrap;
}
.sqd-sort select {
  min-width: 210px;
}
.sqd-theme-dark .sqd-chip-clear-all {
  background: #3a1d18;
  border-color: #7a3a2c;
  color: #ffd2c4;
}
.sqd-theme-dark .sqd-chip-clear-all:hover {
  background: #4a251e;
  border-color: #a84f39;
}
.sqd-theme-dark .sqd-chip-clear-all span {
  background: rgba(255, 180, 156, .12);
  color: #ffd2c4;
}
.sqd-theme-dark .sqd-empty-results strong {
  color: #f0f6ff;
}
.sqd-theme-dark .sqd-empty-results .sqd-empty-text {
  color: #c1cfe5;
}
.sqd-theme-dark .sqd-empty-colabore {
  background: linear-gradient(180deg, #15233a, #101c30);
  border-color: #28405f;
  color: #c1cfe5;
}
.sqd-theme-dark .sqd-empty-colabore strong {
  color: #f0f6ff;
}
.sqd-theme-dark .sqd-empty-colabore span {
  color: #c1cfe5;
}
.sqd-theme-dark .sqd-empty-colabore a {
  background: #2c6f93;
  color: #fff;
}

/* Reverte a remoção de bordas/largura exclusiva do dark mode para que claro e escuro tenham a mesma dimensão estrutural. */
.sqd-theme-dark .sqd-workspace-shell {
  width: min(1760px, calc(100vw - 76px)) !important;
  max-width: calc(100vw - 76px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  border: 1px solid rgba(49, 69, 102, .86) !important;
  border-top: 0 !important;
  box-shadow: 0 0 0 1px rgba(108, 139, 190, .06) inset !important;
}
@media (max-width: 1280px) {
  .sqd-theme-dark .sqd-workspace-shell {
    width: min(100%, calc(100vw - 48px)) !important;
    max-width: calc(100vw - 48px) !important;
  }
}
@media (max-width: 980px) {
  .sqd-theme-dark .sqd-workspace-shell {
    width: 100% !important;
    max-width: 100% !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
}
@media (max-width: 640px) {
  .sqd-sort {
    min-width: 100%;
    justify-content: flex-start;
  }
  .sqd-sort select {
    min-width: 0;
  }
}


/* 22. Ajustes v0.4.1.12.3 — chip de matéria/assunto e rodapé do tema ---- */
.sqd-chip-clickable {
  cursor: pointer;
  transition: background .16s ease, border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.sqd-chip-clickable:hover,
.sqd-chip-clickable:focus-visible {
  background: #dfeeff;
  border-color: #bcd7ff;
  box-shadow: 0 8px 18px rgba(11, 106, 243, .12);
  outline: 0;
}
.sqd-chip-term::before {
  content: "✎";
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(11,106,243,.10);
  color: #0d4aa7;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.sqd-theme-dark .sqd-chip-clickable:hover,
.sqd-theme-dark .sqd-chip-clickable:focus-visible {
  background: #17345a;
  border-color: #3d669d;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .20);
}
.sqd-theme-dark .sqd-chip-term::before {
  background: rgba(143, 190, 255, .14);
  color: #cfe3ff;
}

/* O CSS do SQD só é carregado na página do shortcode; este ajuste remove a faixa inferior clara deixada pelo container do tema. */
.container .av-content-full.units {
  margin-bottom: -50px;
}

/* 23. Ajustes v0.4.1.12.8 — topo composto e seguro ---------- */
.sqd-topline {
  min-height: 62px;
  height: auto;
  flex-wrap: nowrap;
}
.sqd-composed-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  flex: 1 1 auto;
  min-width: 0;
}
.sqd-main-menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  min-width: 0;
}
.sqd-main-menu-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: #26334d;
  font-size: 14px;
  font-weight: 780;
  line-height: 1.2;
  letter-spacing: .01em;
  white-space: nowrap;
  text-decoration: none !important;
}
.sqd-main-menu-link:hover {
  color: var(--sqd-blue-700);
}
.sqd-student-bar {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  min-width: max-content;
}
.sqd-student-greeting {
  color: #25324b;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}
.sqd-student-menu-wrap {
  position: relative;
  display: inline-flex;
}
.sqd-student-menu-button,
.sqd-student-logout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
}
.sqd-student-menu-button {
  gap: 7px;
  border: 0;
  background: linear-gradient(135deg, #0b86db, #0998ef);
  color: #fff;
  box-shadow: 0 8px 18px rgba(9, 133, 219, .22);
  cursor: pointer;
}
.sqd-student-menu-button:hover,
.sqd-student-menu-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(9, 133, 219, .28);
  outline: none;
}
.sqd-student-menu-icon {
  display: inline-grid;
  place-items: center;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: rgba(255,255,255,.20);
  font-size: 7px;
  line-height: 1;
}
.sqd-student-menu-caret {
  font-size: 12px;
  opacity: .92;
}
.sqd-student-logout {
  border: 1px solid var(--sqd-line);
  background: rgba(255,255,255,.74);
  color: #33415f;
  box-shadow: 0 5px 14px rgba(15, 33, 66, .04);
}
.sqd-student-logout:hover {
  color: var(--sqd-blue-700);
  border-color: #bfd7fb;
  background: #fff;
}
.sqd-student-menu-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 90;
  display: none;
  min-width: 210px;
  padding: 7px;
  border: 1px solid var(--sqd-line);
  border-radius: 14px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 22px 60px rgba(7,18,39,.18);
}
.sqd-student-menu-wrap:hover .sqd-student-menu-panel,
.sqd-student-menu-wrap:focus-within .sqd-student-menu-panel {
  display: grid;
  gap: 2px;
}
.sqd-student-menu-panel a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 10px;
  color: #17304f;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  white-space: nowrap;
}
.sqd-student-menu-panel a:hover {
  background: #f1f6ff;
  color: var(--sqd-blue-700);
}
.sqd-theme-dark .sqd-main-menu-link,
.sqd-theme-dark .sqd-student-greeting {
  color: #edf5ff !important;
}
.sqd-theme-dark .sqd-main-menu-link:hover {
  color: #73b7ff !important;
}
.sqd-theme-dark .sqd-student-menu-button {
  background: linear-gradient(135deg, #0d66db, #2383ff);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.sqd-theme-dark .sqd-student-logout {
  background: rgba(16, 30, 51, .88);
  border-color: #28415f;
  color: #dfeaff !important;
}
.sqd-theme-dark .sqd-student-logout:hover {
  background: rgba(30, 48, 76, .95);
  color: #ffffff !important;
}
.sqd-theme-dark .sqd-student-menu-panel {
  background: rgba(12, 23, 41, .99);
  border-color: #2a3e5f;
  box-shadow: 0 22px 60px rgba(0,0,0,.35);
}
.sqd-theme-dark .sqd-student-menu-panel a {
  color: #dfeaff !important;
}
.sqd-theme-dark .sqd-student-menu-panel a:hover {
  background: rgba(31, 52, 83, .72);
  color: #ffffff !important;
}

@media (max-width: 1320px) {
  .sqd-composed-topbar { gap: 12px; }
  .sqd-main-menu { gap: 14px; }
  .sqd-student-greeting { display: none; }
}
@media (max-width: 1080px) {
  .sqd-composed-topbar {
    align-items: stretch;
  }
  .sqd-app.sqd-mobile-menu-open .sqd-composed-topbar:not([hidden]) {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .sqd-main-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    width: 100%;
  }
  .sqd-main-menu-link {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 10px;
  }
  .sqd-main-menu-link:hover {
    background: #f2f7ff;
  }
  .sqd-student-bar {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
    min-width: 0;
    padding-top: 8px;
    border-top: 1px solid var(--sqd-line-soft);
  }
  .sqd-student-greeting {
    display: block;
    grid-column: 1 / -1;
    padding: 0 4px;
  }
  .sqd-student-menu-wrap,
  .sqd-student-menu-button {
    width: 100%;
  }
  .sqd-student-menu-button {
    justify-content: flex-start;
  }
  .sqd-student-menu-panel {
    left: 0;
    right: auto;
    min-width: min(260px, calc(100vw - 60px));
  }
  .sqd-theme-dark .sqd-main-menu-link:hover {
    background: rgba(31, 52, 83, .72);
  }
}

/* 24. Ajustes v0.4.1.12.9 — hierarquia dos menus e mobile overlay ---------- */
.sqd-topline {
  position: relative;
  z-index: 100;
}
.sqd-composed-topbar {
  gap: 14px;
}
.sqd-main-menu {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(210, 221, 237, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .58);
  box-shadow: 0 7px 18px rgba(15, 33, 66, .035), inset 0 1px 0 rgba(255,255,255,.74);
}
.sqd-student-bar {
  min-height: 48px;
  padding: 5px 6px 5px 12px;
  border: 1px solid rgba(151, 196, 246, .72);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(241, 248, 255, .95), rgba(255,255,255,.86));
  box-shadow: 0 10px 26px rgba(12, 103, 201, .08), inset 0 1px 0 rgba(255,255,255,.82);
}
.sqd-student-greeting {
  padding-right: 2px;
}
.sqd-student-logout {
  min-height: 38px;
}
.sqd-theme-dark .sqd-main-menu {
  border-color: rgba(43, 64, 95, .9);
  background: rgba(15, 28, 49, .72);
  box-shadow: 0 8px 20px rgba(0,0,0,.14), inset 0 1px 0 rgba(255,255,255,.04);
}
.sqd-theme-dark .sqd-student-bar {
  border-color: rgba(49, 100, 166, .82);
  background: linear-gradient(135deg, rgba(12, 35, 67, .92), rgba(18, 32, 54, .92));
  box-shadow: 0 12px 28px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

@media (max-width: 1080px) {
  .sqd-topline {
    z-index: 2147483000;
  }
  .sqd-topline-nav.sqd-composed-topbar {
    display: none !important;
    position: fixed !important;
    top: 74px !important;
    left: 14px !important;
    right: 14px !important;
    z-index: 2147483001 !important;
    width: auto !important;
    max-height: calc(100dvh - 92px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 16px !important;
    border: 1px solid rgba(210, 221, 237, .98) !important;
    border-radius: 22px !important;
    background: #ffffff !important;
    box-shadow: 0 26px 70px rgba(7, 18, 39, .22) !important;
  }
  .sqd-app.sqd-mobile-menu-open .sqd-topline-nav.sqd-composed-topbar:not([hidden]) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .sqd-main-menu {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 7px !important;
    width: 100% !important;
    min-height: 0;
    padding: 0 0 14px !important;
    border: 0 !important;
    border-bottom: 1px solid var(--sqd-line-soft) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }
  .sqd-main-menu::before,
  .sqd-student-bar::before {
    display: block;
    color: #64748b;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    line-height: 1;
    text-transform: uppercase;
  }
  .sqd-main-menu::before {
    content: "Navegação";
    margin: 0 2px 3px;
  }
  .sqd-main-menu-link {
    justify-content: flex-start;
    width: 100%;
    min-height: 44px;
    padding: 0 13px !important;
    border: 1px solid rgba(210, 221, 237, .92);
    border-radius: 13px !important;
    background: #f7fbff;
  }
  .sqd-main-menu-link:hover {
    background: #eef6ff !important;
  }
  .sqd-student-bar {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100%;
    min-width: 0;
    min-height: 0;
    padding: 13px !important;
    border-radius: 18px;
    background: #eef7ff;
  }
  .sqd-student-bar::before {
    content: "Área do aluno";
    margin-bottom: 1px;
  }
  .sqd-student-greeting {
    display: block !important;
    padding: 0 2px 2px !important;
  }
  .sqd-student-menu-wrap,
  .sqd-student-menu-button,
  .sqd-student-logout {
    width: 100% !important;
  }
  .sqd-student-menu-button {
    justify-content: center !important;
    min-height: 44px;
  }
  .sqd-student-menu-caret {
    display: none;
  }
  .sqd-student-menu-panel {
    position: static !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    margin-top: 8px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 6px !important;
  }
  .sqd-student-menu-panel a {
    width: 100%;
    min-height: 42px;
    border: 1px solid rgba(196, 214, 239, .9);
    border-radius: 12px;
    background: rgba(255,255,255,.92);
  }
  .sqd-student-menu-panel a:hover {
    background: #ffffff;
  }
  .sqd-student-logout {
    min-height: 42px;
    margin-top: 0;
  }
  .sqd-workspace-header {
    position: relative;
    z-index: 1;
  }
  .sqd-theme-dark .sqd-topline-nav.sqd-composed-topbar {
    border-color: rgba(43, 64, 95, .96) !important;
    background: #0b1424 !important;
    box-shadow: 0 26px 70px rgba(0,0,0,.46) !important;
  }
  .sqd-theme-dark .sqd-main-menu::before,
  .sqd-theme-dark .sqd-student-bar::before {
    color: #8ea3bf;
  }
  .sqd-theme-dark .sqd-main-menu {
    border-bottom-color: rgba(43, 64, 95, .9) !important;
  }
  .sqd-theme-dark .sqd-main-menu-link {
    border-color: rgba(43, 64, 95, .9);
    background: rgba(16, 30, 51, .92);
  }
  .sqd-theme-dark .sqd-main-menu-link:hover {
    background: rgba(31, 52, 83, .92) !important;
  }
  .sqd-theme-dark .sqd-student-bar {
    border-color: rgba(49, 100, 166, .82);
    background: rgba(11, 31, 61, .96);
  }
  .sqd-theme-dark .sqd-student-menu-panel a {
    border-color: rgba(43, 64, 95, .9);
    background: rgba(16, 30, 51, .92);
  }
  .sqd-theme-dark .sqd-student-menu-panel a:hover {
    background: rgba(31, 52, 83, .92) !important;
  }
}


/* 25. Ajustes v0.4.1.12.10 — hover do submenu e área do aluno no mobile ---- */
@media (min-width: 1081px) {
  .sqd-student-menu-wrap::after {
    content: "";
    position: absolute;
    left: -8px;
    right: -8px;
    top: 100%;
    height: 12px;
    z-index: 89;
  }
}

@media (max-width: 1080px) {
  .sqd-student-bar {
    padding: 13px !important;
    background: #f7fbff !important;
    border-color: rgba(210, 221, 237, .95) !important;
    box-shadow: none !important;
  }
  .sqd-student-menu-wrap {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
    width: 100% !important;
  }
  .sqd-student-menu-button {
    display: none !important;
  }
  .sqd-student-menu-panel {
    margin-top: 0 !important;
  }
  .sqd-student-menu-panel a,
  .sqd-student-logout {
    box-shadow: 0 4px 12px rgba(15, 33, 66, .035);
  }
  .sqd-theme-dark .sqd-student-bar {
    background: rgba(12, 23, 41, .92) !important;
    border-color: rgba(43, 64, 95, .96) !important;
    box-shadow: none !important;
  }
}

/* 26. Ajustes v0.4.1.12.11 — layout masonry e logout mobile ---- */
.sqd-results-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  flex: 0 0 auto;
}

.sqd-view-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--sqd-line);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(15,33,66,.045);
}

.sqd-view-switch button {
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #4f5d76;
  padding: 0 11px;
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
  cursor: pointer;
}

.sqd-view-switch button.is-active {
  background: #eaf3ff;
  color: var(--sqd-blue-800);
  box-shadow: inset 0 0 0 1px #cfe0f8;
}

.sqd-sort {
  min-width: 254px;
}

.sqd-sort select {
  min-width: 156px;
  width: 156px;
}

.sqd-results.sqd-results-masonry {
  display: block;
  columns: 2 390px;
  column-gap: 16px;
}

.sqd-results.sqd-results-masonry .sqd-question-card {
  display: inline-grid;
  width: 100%;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: start;
  break-inside: avoid;
  page-break-inside: avoid;
  margin: 0 0 16px;
  padding: 20px;
}

.sqd-results.sqd-results-masonry .sqd-question-actions {
  grid-template-columns: 1fr;
  align-self: stretch;
}

.sqd-results.sqd-results-masonry .sqd-question-card p {
  line-height: 1.5;
}

.sqd-logout-mobile {
  display: none;
}

.sqd-theme-dark .sqd-view-switch {
  background: rgba(11, 21, 38, .86);
  border-color: rgba(49, 69, 102, .9);
  box-shadow: none;
}

.sqd-theme-dark .sqd-view-switch button {
  color: #b8c8df;
}

.sqd-theme-dark .sqd-view-switch button.is-active {
  background: rgba(28, 79, 155, .38);
  color: #f0f6ff;
  box-shadow: inset 0 0 0 1px rgba(101, 151, 226, .40);
}

@media (max-width: 1180px) {
  .sqd-results-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
  .sqd-results-controls {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 980px) {
  .sqd-results.sqd-results-masonry {
    display: grid;
    columns: auto;
  }
  .sqd-results.sqd-results-masonry .sqd-question-card {
    display: grid;
    grid-template-columns: 1fr;
    margin: 0;
  }
}

@media (max-width: 640px) {
  .sqd-results-controls {
    align-items: stretch;
    flex-direction: column;
    gap: 10px;
  }
  .sqd-view-switch {
    width: 100%;
    justify-content: stretch;
  }
  .sqd-view-switch button {
    flex: 1 1 0;
  }
  .sqd-sort {
    width: 100%;
    min-width: 0;
    justify-content: space-between;
  }
  .sqd-sort select {
    width: min(190px, 58vw);
    min-width: 0;
  }
}

@media (max-width: 1080px) {
  .sqd-logout-desktop {
    display: none;
  }
  .sqd-logout-mobile {
    display: inline;
  }
}

/* 27. Ajustes v0.4.1.12.12 — ordenar por no mesmo padrão do alternador ---- */
.sqd-results-controls .sqd-sort {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
  padding: 4px;
  border: 1px solid var(--sqd-line);
  border-radius: 12px;
  background: rgba(255,255,255,.86);
  box-shadow: 0 8px 22px rgba(15,33,66,.045);
  color: #4f5d76;
  font-weight: 850;
}

.sqd-results-controls .sqd-sort span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border-radius: 9px;
  padding: 0 10px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.sqd-results-controls .sqd-sort select {
  width: auto;
  min-width: 142px;
  height: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 9px;
  background-color: #eaf3ff;
  color: var(--sqd-blue-800);
  box-shadow: inset 0 0 0 1px #cfe0f8;
  padding: 0 28px 0 11px;
  font-size: 12px;
  font-weight: 850;
  line-height: 34px;
  outline: 0;
  cursor: pointer;
}

.sqd-results-controls .sqd-sort select:focus-visible {
  box-shadow: inset 0 0 0 1px #9ac1ff, 0 0 0 3px rgba(11,106,243,.14);
}

.sqd-theme-dark .sqd-results-controls .sqd-sort {
  background: rgba(11, 21, 38, .86);
  border-color: rgba(49, 69, 102, .9);
  box-shadow: none;
  color: #b8c8df;
}

.sqd-theme-dark .sqd-results-controls .sqd-sort select {
  background-color: rgba(28, 79, 155, .38);
  color: #f0f6ff;
  box-shadow: inset 0 0 0 1px rgba(101, 151, 226, .40);
}

@media (max-width: 640px) {
  .sqd-results-controls .sqd-sort {
    width: 100%;
    justify-content: stretch;
  }
  .sqd-results-controls .sqd-sort span,
  .sqd-results-controls .sqd-sort select {
    flex: 1 1 0;
  }
  .sqd-results-controls .sqd-sort select {
    min-width: 0;
    width: 100%;
  }
}

/* 28. Ajustes v0.4.1.12.13 — logo VC, busca limpa e modal ampliado ---- */
.sqd-topline-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
  flex: 0 0 auto;
}
.sqd-vc-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none !important;
}
.sqd-vc-logo-img {
  display: block;
  width: var(--sqd-vc-logo-width, 170px);
  max-width: min(var(--sqd-vc-logo-width, 170px), 28vw);
  max-height: var(--sqd-vc-logo-max-height, 34px);
  height: auto;
  object-fit: contain;
}
.sqd-theme-dark .sqd-vc-logo-img {
  filter: drop-shadow(0 1px 0 rgba(255,255,255,.06));
}
.sqd-search-strip button[type="submit"] kbd {
  display: none !important;
}
.sqd-taxonomy-dock .sqd-modal-dialog {
  width: min(1360px, calc(100vw - 32px));
  max-height: min(88vh, 900px);
}
.sqd-tax-grid {
  grid-template-columns: minmax(250px, .95fr) minmax(430px, 1.45fr) minmax(320px, 1fr);
  max-height: calc(min(88vh, 900px) - 78px);
}
.sqd-root-list,
.sqd-term-list {
  max-height: calc(min(88vh, 900px) - 222px);
}
.sqd-term-selected-list {
  max-height: calc(min(88vh, 900px) - 216px);
}
@media (max-width: 1080px) {
  .sqd-topline-brand {
    gap: 12px;
  }
  .sqd-vc-logo-img {
    width: min(var(--sqd-vc-logo-width, 150px), 132px);
    max-height: min(var(--sqd-vc-logo-max-height, 30px), 30px);
  }
  .sqd-taxonomy-dock .sqd-modal-dialog {
    width: calc(100vw - 22px);
    max-height: calc(100dvh - 44px);
  }
  .sqd-tax-grid {
    max-height: calc(100dvh - 122px);
  }
  .sqd-root-list,
  .sqd-term-list,
  .sqd-term-selected-list {
    max-height: none;
  }
}
@media (max-width: 640px) {
  .sqd-topline-brand {
    gap: 8px;
    max-width: calc(100% - 132px);
  }
  .sqd-back-link {
    white-space: nowrap;
  }
  .sqd-vc-logo-img {
    width: min(var(--sqd-vc-logo-width, 118px), 118px);
    max-height: min(var(--sqd-vc-logo-max-height, 26px), 26px);
  }
}
@media (max-width: 420px) {
  .sqd-vc-logo-link {
    display: none;
  }
}

/* 28. Ajustes v0.4.1.12.14 — submenus do menu principal e conta deslogada ---- */
.sqd-main-menu-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.sqd-main-menu-link.has-submenu::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 11px;
  font-weight: 900;
  opacity: .72;
}
.sqd-main-menu-item.has-submenu::after {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 12px;
  z-index: 88;
}
.sqd-main-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 91;
  display: none;
  min-width: 265px;
  max-width: min(360px, 90vw);
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid rgba(210, 221, 237, .96);
  border-radius: 16px;
  background: rgba(255,255,255,.99);
  box-shadow: 0 24px 64px rgba(7,18,39,.18);
}
.sqd-main-menu-item:hover > .sqd-main-submenu,
.sqd-main-menu-item:focus-within > .sqd-main-submenu {
  display: grid;
  gap: 3px;
}
.sqd-main-submenu-link {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 11px;
  color: #17304f;
  font-size: 13px;
  font-weight: 720;
  line-height: 1.25;
  text-decoration: none !important;
  white-space: normal;
}
.sqd-main-submenu-link:hover {
  background: #f1f6ff;
  color: var(--sqd-blue-700);
}
.sqd-main-submenu-link.has-children {
  font-weight: 850;
}
.sqd-main-submenu-depth-1 {
  padding-left: 24px;
  font-size: 12.5px;
  font-weight: 680;
}
.sqd-main-submenu-depth-2,
.sqd-main-submenu-depth-3 {
  padding-left: 34px;
  font-size: 12px;
  font-weight: 640;
  opacity: .92;
}
.sqd-theme-dark .sqd-main-submenu {
  border-color: #2a3e5f;
  background: rgba(12, 23, 41, .99);
  box-shadow: 0 24px 64px rgba(0,0,0,.35);
}
.sqd-theme-dark .sqd-main-submenu-link {
  color: #dfeaff !important;
}
.sqd-theme-dark .sqd-main-submenu-link:hover {
  background: rgba(31, 52, 83, .78);
  color: #ffffff !important;
}
@media (max-width: 1080px) {
  .sqd-main-menu-item {
    display: grid !important;
    width: 100% !important;
  }
  .sqd-main-menu-link.has-submenu::after {
    margin-left: auto;
  }
  .sqd-main-menu-item.has-submenu::after {
    display: none !important;
  }
  .sqd-main-submenu {
    position: static !important;
    display: grid !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    max-height: none !important;
    overflow: visible !important;
    margin: 6px 0 2px !important;
    padding: 0 0 0 10px !important;
    border: 0 !important;
    border-left: 2px solid rgba(196, 214, 239, .78) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    gap: 6px !important;
  }
  .sqd-main-submenu-link {
    width: 100%;
    min-height: 40px;
    padding: 0 12px !important;
    border: 1px solid rgba(210, 221, 237, .92);
    border-radius: 12px;
    background: #ffffff;
    font-size: 13px;
  }
  .sqd-main-submenu-depth-1,
  .sqd-main-submenu-depth-2,
  .sqd-main-submenu-depth-3 {
    padding-left: 18px !important;
    font-size: 12.5px;
  }
  .sqd-theme-dark .sqd-main-submenu {
    border-left-color: rgba(43, 64, 95, .9) !important;
  }
  .sqd-theme-dark .sqd-main-submenu-link {
    border-color: rgba(43, 64, 95, .9);
    background: rgba(16, 30, 51, .92);
  }
}

/* 29. Ajustes v0.4.1.12.16 — conta restaurada e submenus mobile recolhidos ---- */
.sqd-student-bar {
  display: inline-flex;
}

@media (max-width: 1080px) {
  .sqd-main-submenu {
    display: none !important;
  }
  .sqd-main-menu-item.is-submenu-open > .sqd-main-submenu {
    display: grid !important;
  }
  .sqd-main-menu-link.has-submenu {
    cursor: pointer;
  }
  .sqd-main-menu-link.has-submenu::after {
    content: "+" !important;
    margin-left: auto !important;
    font-size: 16px !important;
    line-height: 1 !important;
    opacity: .78 !important;
  }
  .sqd-main-menu-item.is-submenu-open > .sqd-main-menu-link.has-submenu::after {
    content: "–" !important;
  }
}

/* 09. Página individual da questão ------------------------------------- */
.sqd-single-app .sqd-workspace-shell { min-height: 100vh; }
.sqd-single-content {
  padding: 10px 28px 42px;
}
.sqd-single-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 18px;
  color: var(--sqd-muted);
  font-size: 13px;
  font-weight: 700;
}
.sqd-single-breadcrumb a { color: var(--sqd-blue-700); }
.sqd-single-breadcrumb strong { color: var(--sqd-ink); font-weight: 800; }
.sqd-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}
.sqd-single-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.sqd-single-hero,
.sqd-single-section,
.sqd-single-resources,
.sqd-single-card {
  background: var(--sqd-card);
  border: 1px solid var(--sqd-line);
  border-radius: var(--sqd-radius-xl);
  box-shadow: var(--sqd-shadow-card);
}
.sqd-single-hero {
  padding: 24px;
}
.sqd-single-hero h1 {
  margin: 16px 0 18px;
  color: var(--sqd-ink);
  font-size: clamp(27px, 3vw, 42px);
  line-height: 1.08;
  letter-spacing: -.035em;
}
.sqd-single-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(130px, 1fr));
  gap: 10px;
}
.sqd-single-meta-grid span {
  display: grid;
  gap: 4px;
  min-height: 68px;
  padding: 12px 14px;
  border: 1px solid var(--sqd-line-soft);
  border-radius: var(--sqd-radius-md);
  background: var(--sqd-soft);
}
.sqd-single-meta-grid small,
.sqd-single-details-list dt,
.sqd-single-resource summary small,
.sqd-single-muted {
  color: var(--sqd-muted);
}
.sqd-single-meta-grid small {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase !important;
  letter-spacing: .06em;
}
.sqd-single-meta-grid strong {
  color: var(--sqd-ink);
  font-size: 14px;
  line-height: 1.25;
}
.sqd-single-section,
.sqd-single-resources { padding: 22px; }
.sqd-single-section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.sqd-single-section-head span {
  color: var(--sqd-ink);
  font-size: 17px;
  font-weight: 900;
}
.sqd-single-section-head strong {
  max-width: 420px;
  color: var(--sqd-muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.35;
  text-align: right;
}
.sqd-single-richtext {
  color: #1d2a42;
  font-size: 17px;
  line-height: 1.78;
}
.sqd-single-richtext > :first-child { margin-top: 0; }
.sqd-single-richtext > :last-child { margin-bottom: 0; }
.sqd-single-richtext p { margin: 0 0 1em; }
.sqd-single-richtext ul,
.sqd-single-richtext ol { padding-left: 1.35em; margin: .7em 0 1em; }
.sqd-single-richtext iframe,
.sqd-single-richtext video,
.sqd-single-richtext embed {
  max-width: 100%;
  border-radius: var(--sqd-radius-lg);
}
.sqd-single-section-command {
  border-color: rgba(11, 106, 243, .22);
  background: linear-gradient(180deg, #ffffff, #f6f9ff);
}
.sqd-single-resources {
  display: grid;
  gap: 12px;
}
.sqd-single-resource {
  border: 1px solid var(--sqd-line);
  border-radius: var(--sqd-radius-lg);
  background: rgba(255,255,255,.72);
  overflow: hidden;
}
.sqd-single-resource summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 5px 16px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.sqd-single-resource summary::-webkit-details-marker { display: none; }
.sqd-single-resource summary span {
  color: var(--sqd-ink);
  font-weight: 900;
}
.sqd-single-resource summary small {
  grid-column: 1;
  font-size: 13px;
  line-height: 1.35;
}
.sqd-single-resource summary .sqd-badge {
  grid-row: 1 / span 2;
  grid-column: 2;
  align-self: center;
}
.sqd-single-resource[open] summary {
  border-bottom: 1px solid var(--sqd-line-soft);
}
.sqd-single-resource-body {
  padding: 18px;
  background: #fff;
}
.sqd-single-empty-resource {
  padding: 16px 18px;
  border: 1px dashed var(--sqd-line);
  border-radius: var(--sqd-radius-lg);
  color: var(--sqd-muted);
  background: var(--sqd-soft);
  font-weight: 650;
}
.sqd-single-aside {
  position: sticky;
  top: 16px;
  display: grid;
  gap: 14px;
}
.sqd-single-card {
  padding: 18px;
}
.sqd-single-card > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--sqd-ink);
  font-size: 15px;
  font-weight: 900;
}
.sqd-single-actions-card {
  display: grid;
  gap: 10px;
}
.sqd-single-actions-card .sqd-card-primary,
.sqd-single-actions-card .sqd-card-secondary {
  width: 100%;
  justify-content: center;
  min-height: 44px;
}
button.sqd-card-secondary {
  border: 1px solid var(--sqd-line);
  background: #fff;
}
.sqd-single-resource-badges { gap: 7px; }
.sqd-single-details-list {
  display: grid;
  gap: 11px;
  margin: 0;
}
.sqd-single-details-list div {
  display: grid;
  gap: 4px;
  padding-bottom: 11px;
  border-bottom: 1px solid var(--sqd-line-soft);
}
.sqd-single-details-list div:last-child { padding-bottom: 0; border-bottom: 0; }
.sqd-single-details-list dt {
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase !important;
  letter-spacing: .06em;
}
.sqd-single-details-list dd {
  margin: 0;
  color: var(--sqd-ink);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.35;
}
.sqd-single-related-list {
  display: grid;
  gap: 8px;
}
.sqd-single-related-list a {
  display: grid;
  gap: 3px;
  padding: 11px 12px;
  border: 1px solid var(--sqd-line-soft);
  border-radius: var(--sqd-radius-md);
  background: var(--sqd-soft);
}
.sqd-single-related-list a:hover { border-color: rgba(11,106,243,.36); transform: translateY(-1px); }
.sqd-single-related-list span {
  color: var(--sqd-blue-700);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase !important;
  letter-spacing: .05em;
}
.sqd-single-related-list em {
  color: var(--sqd-ink);
  font-size: 13px;
  font-style: normal;
  font-weight: 750;
  line-height: 1.3;
}

.sqd-theme-dark .sqd-single-hero,
.sqd-theme-dark .sqd-single-section,
.sqd-theme-dark .sqd-single-resources,
.sqd-theme-dark .sqd-single-card,
.sqd-theme-dark .sqd-single-resource,
.sqd-theme-dark .sqd-single-resource-body {
  background: rgba(15, 27, 47, .94);
  border-color: #2a3e5f;
  color: #eaf1ff;
}
.sqd-theme-dark .sqd-single-section-command {
  background: linear-gradient(180deg, rgba(15, 27, 47, .94), rgba(17, 39, 72, .74));
  border-color: #31527c;
}
.sqd-theme-dark .sqd-single-richtext,
.sqd-theme-dark .sqd-single-richtext p,
.sqd-theme-dark .sqd-single-details-list dd,
.sqd-theme-dark .sqd-single-hero h1,
.sqd-theme-dark .sqd-single-section-head span,
.sqd-theme-dark .sqd-single-card > strong,
.sqd-theme-dark .sqd-single-resource summary span,
.sqd-theme-dark .sqd-single-breadcrumb strong {
  color: #eef4ff;
}
.sqd-theme-dark .sqd-single-meta-grid span,
.sqd-theme-dark .sqd-single-empty-resource,
.sqd-theme-dark .sqd-single-related-list a {
  background: #0d1729;
  border-color: #2d4265;
}
.sqd-theme-dark button.sqd-card-secondary {
  background: #0d1729;
  border-color: #2d4265;
  color: #eaf1ff;
}
.sqd-theme-dark .sqd-single-meta-grid small,
.sqd-theme-dark .sqd-single-section-head strong,
.sqd-theme-dark .sqd-single-resource summary small,
.sqd-theme-dark .sqd-single-details-list dt,
.sqd-theme-dark .sqd-single-muted {
  color: #aab8d1;
}

@media (max-width: 1180px) {
  .sqd-single-layout { grid-template-columns: 1fr; }
  .sqd-single-aside { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sqd-single-related-card { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .sqd-single-content { padding: 4px 16px 30px; }
  .sqd-single-hero,
  .sqd-single-section,
  .sqd-single-resources,
  .sqd-single-card { border-radius: 18px; }
  .sqd-single-hero { padding: 20px; }
  .sqd-single-meta-grid { grid-template-columns: 1fr 1fr; }
  .sqd-single-section-head { display: grid; }
  .sqd-single-section-head strong { text-align: left; }
  .sqd-single-aside { grid-template-columns: 1fr; }
  .sqd-single-richtext { font-size: 16px; line-height: 1.68; }
}
@media print {
  .sqd-topline,
  .sqd-workspace-header,
  .sqd-single-aside,
  .sqd-single-breadcrumb { display: none !important; }
  .sqd-app,
  .sqd-workspace-shell,
  .sqd-single-content,
  .sqd-single-layout { background: #fff !important; box-shadow: none !important; border: 0 !important; width: auto !important; padding: 0 !important; }
  .sqd-single-layout { display: block !important; }
  .sqd-single-hero,
  .sqd-single-section,
  .sqd-single-resources { box-shadow: none !important; break-inside: avoid; }
}

/* 10. Preview v0.5 — Página individual como ambiente de estudo -------- */
.sqd-single-v05 .sqd-workspace-shell {
  background: rgba(248, 251, 255, .92);
}
.sqd-v05-header {
  display: grid;
  grid-template-columns: auto minmax(240px, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border-bottom: 1px solid var(--sqd-line);
  background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.88));
}
.sqd-v05-search {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--sqd-line);
  border-radius: 18px;
  background: #fff;
  color: var(--sqd-muted);
  box-shadow: 0 8px 22px rgba(15, 33, 66, .04);
}
.sqd-v05-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--sqd-ink);
  font-size: 14px;
}
.sqd-v05-content {
  padding: 22px 28px 46px;
}
.sqd-v05-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  color: var(--sqd-muted);
  font-size: 13px;
  font-weight: 750;
}
.sqd-v05-breadcrumb a { color: var(--sqd-blue-700); }
.sqd-v05-breadcrumb strong { color: var(--sqd-ink); font-weight: 900; }
.sqd-v05-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 24px;
  align-items: start;
}
.sqd-v05-main {
  display: grid;
  gap: 18px;
  min-width: 0;
}
.sqd-v05-question-card,
.sqd-v05-resource-dock,
.sqd-v05-training,
.sqd-v05-resources,
.sqd-v05-side-card,
.sqd-v05-related,
.sqd-v05-discussion {
  border: 1px solid var(--sqd-line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--sqd-shadow-card);
}
.sqd-v05-question-head {
  padding: 24px 26px 20px;
  border-bottom: 1px solid var(--sqd-line-soft);
}
.sqd-v05-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.sqd-v05-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  border: 1px solid var(--sqd-line);
  border-radius: 999px;
  background: #fff;
  color: #334155;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}
.sqd-v05-pill-strong {
  border-color: var(--sqd-blue-900);
  background: var(--sqd-blue-900);
  color: #fff;
}
.sqd-v05-question-head h1 {
  max-width: 920px;
  margin: 0;
  color: var(--sqd-ink);
  font-size: clamp(29px, 3vw, 44px);
  line-height: 1.08;
  letter-spacing: -.038em;
}
.sqd-v05-subject {
  max-width: 760px;
  margin: 12px 0 0;
  color: var(--sqd-muted);
  font-size: 14px;
  font-weight: 750;
  line-height: 1.5;
}

/* Single: chips de assuntos da questão */
.sqd-v05-subjects {
  max-width: 980px;
  margin: 14px 0 0;
}
.sqd-v05-subjects-label {
  display: block;
  margin: 0 0 8px;
  color: #4b5563;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  line-height: 1.2;
  text-transform: uppercase;
}
.sqd-v05-subject-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sqd-v05-subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  max-width: 100%;
  padding: 8px 11px;
  border: 1px solid rgba(75,85,99,.24);
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151 !important;
  font-size: 12px;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(15,23,42,.035);
  transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease, color .16s ease;
}
.sqd-v05-subject-chip:hover,
.sqd-v05-subject-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(55,65,81,.38);
  background: #e5e7eb;
  color: #111827 !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.07);
  outline: none;
}
.sqd-v05-subject-chip em {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(17,24,39,.08);
  color: #111827;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .03em;
  text-transform: uppercase;
}
.sqd-v05-subject-chip.is-primary {
  border-color: rgba(75,85,99,.24);
  background: #f3f4f6;
  color: #374151 !important;
}
.sqd-v05-subject-chip.is-primary span {
  font-weight: 850;
}
.sqd-theme-dark .sqd-v05-subjects-label,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subjects-label {
  color: #cbd5e1;
}
.sqd-theme-dark .sqd-v05-subject-chip,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subject-chip {
  border-color: rgba(148,163,184,.28);
  background: rgba(148,163,184,.12);
  color: #e5e7eb !important;
  box-shadow: none;
}
.sqd-theme-dark .sqd-v05-subject-chip:hover,
.sqd-theme-dark .sqd-v05-subject-chip:focus-visible,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subject-chip:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subject-chip:focus-visible {
  border-color: rgba(203,213,225,.42);
  background: rgba(148,163,184,.18);
  color: #f8fafc !important;
  box-shadow: 0 8px 18px rgba(15,23,42,.18);
}
.sqd-theme-dark .sqd-v05-subject-chip.is-primary,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subject-chip.is-primary {
  border-color: rgba(148,163,184,.28);
  background: rgba(148,163,184,.12);
  color: #e5e7eb !important;
}
.sqd-theme-dark .sqd-v05-subject-chip em,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subject-chip em {
  background: rgba(248,250,252,.12);
  color: #f8fafc;
}
@media (max-width: 760px) {
  .sqd-v05-subject-chip {
    width: 100%;
    justify-content: space-between;
    border-radius: 16px;
  }
}

.sqd-v05-question-body {
  padding: 26px;
}
.sqd-v05-question-body > * {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.sqd-v05-textbase {
  margin-bottom: 26px;
  padding: 24px;
  border-radius: 24px;
  background: #f8fafc;
  text-align: center;
}
.sqd-v05-textbase .sqd-single-richtext {
  color: #475569;
  font-size: 16px;
  line-height: 1.84;
  font-style: italic;
}
.sqd-v05-section-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--sqd-blue-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase !important;
}
.sqd-v05-statement {
  margin-top: 18px;
}
.sqd-v05-statement .sqd-single-richtext {
  color: #1e293b;
  font-size: 18px;
  line-height: 1.86;
}
.sqd-v05-command {
  padding-top: 18px;
  border-top: 1px solid var(--sqd-line-soft);
}
.sqd-v05-resource-dock {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
  padding: 10px;
}
.sqd-v05-resource-dock a {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 2px 10px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 20px;
  background: var(--sqd-soft);
  transition: .18s ease;
}
.sqd-v05-resource-dock a:hover {
  background: var(--sqd-blue-50);
  transform: translateY(-1px);
}
.sqd-v05-resource-dock span {
  grid-row: 1 / span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 14px;
  background: #fff;
  color: var(--sqd-blue-700);
  box-shadow: 0 5px 14px rgba(15, 33, 66, .05);
}
.sqd-v05-resource-dock strong {
  min-width: 0;
  overflow: hidden;
  color: var(--sqd-ink);
  font-size: 13px;
  font-weight: 950;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sqd-v05-resource-dock small {
  min-width: 0;
  overflow: hidden;
  color: var(--sqd-muted);
  font-size: 11px;
  line-height: 1.1;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sqd-v05-training,
.sqd-v05-resources,
.sqd-v05-related,
.sqd-v05-discussion {
  padding: 22px;
}
.sqd-v05-training-head,
.sqd-v05-resources-head,
.sqd-v05-related-head {
  margin-bottom: 16px;
}
.sqd-v05-training-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  justify-content: space-between;
}
.sqd-v05-training-head span,
.sqd-v05-resources-head span,
.sqd-v05-related-head span,
.sqd-v05-discussion span,
.sqd-v05-action-card > span {
  display: inline-flex;
  color: var(--sqd-blue-700);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase !important;
}
.sqd-v05-training-head h2,
.sqd-v05-resources-head h2,
.sqd-v05-related-head h2,
.sqd-v05-discussion h2 {
  margin: 5px 0 0;
  color: var(--sqd-ink);
  font-size: 24px;
  font-weight: 950;
  line-height: 1.18;
  letter-spacing: -.025em;
}
.sqd-v05-training-head em {
  flex: 0 0 auto;
  border-radius: 999px;
  background: var(--sqd-soft);
  color: var(--sqd-muted);
  padding: 7px 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}
.sqd-v05-training textarea,
.sqd-v05-discussion textarea {
  width: 100%;
  border: 1px solid var(--sqd-line);
  border-radius: 22px;
  background: #f8fafc;
  color: var(--sqd-ink);
  outline: 0;
  resize: vertical;
  min-height: 172px;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.65;
}
.sqd-v05-training textarea:focus,
.sqd-v05-discussion textarea:focus {
  border-color: rgba(11,106,243,.42);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(11,106,243,.08);
}
.sqd-v05-training-actions {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}
.sqd-v05-resources-head p,
.sqd-v05-discussion p {
  margin: 6px 0 0;
  color: var(--sqd-muted);
  font-size: 14px;
  line-height: 1.55;
}
.sqd-v05-resource-list {
  display: grid;
  gap: 10px;
}
.sqd-v05-resource {
  overflow: hidden;
  border: 1px solid var(--sqd-line);
  border-radius: 20px;
  background: #fff;
}
.sqd-v05-resource summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
}
.sqd-v05-resource summary::-webkit-details-marker { display: none; }
.sqd-v05-resource summary strong {
  display: block;
  color: var(--sqd-ink);
  font-size: 15px;
  font-weight: 950;
}
.sqd-v05-resource summary small {
  display: block;
  margin-top: 2px;
  color: var(--sqd-muted);
  font-size: 12px;
  font-weight: 700;
}
.sqd-v05-resource[open] summary {
  border-bottom: 1px solid var(--sqd-line-soft);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.sqd-v05-resource-body {
  padding: 18px;
  background: #fff;
}
.sqd-v05-aside {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 14px;
  min-width: 0;
}
.sqd-v05-action-card {
  border-radius: 28px;
  padding: 20px;
  box-shadow: var(--sqd-shadow-card);
}
.sqd-v05-action-primary {
  border: 1px solid rgba(9,41,99,.45);
  background: linear-gradient(135deg, var(--sqd-blue-900), var(--sqd-blue-700));
  color: #fff;
}
.sqd-v05-action-primary span { color: #bde7ff; }
.sqd-v05-action-card strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
  line-height: 1.08;
  letter-spacing: -.03em;
}
.sqd-v05-action-card p {
  margin: 9px 0 14px;
  color: rgba(255,255,255,.84);
  font-size: 14px;
  line-height: 1.5;
}
.sqd-v05-action-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  width: 100%;
  border-radius: 18px;
  background: #fff;
  color: var(--sqd-blue-900);
  font-size: 14px;
  font-weight: 950;
}
.sqd-v05-correction-card {
  gap: 10px;
}
.sqd-v05-correction-options {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.sqd-v05-correction-option {
  display: grid !important;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}
.sqd-v05-correction-option i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  font-style: normal;
  font-size: 20px;
}
.sqd-v05-correction-option span { display: block; min-width: 0; }
.sqd-v05-correction-option strong,
.sqd-v05-correction-option small { display: block; color: #fff; }
.sqd-v05-correction-option strong { font-size: 14px; font-weight: 950; }
.sqd-v05-correction-option small { opacity: .86; font-size: 12px; line-height: 1.35; margin-top: 2px; }
.sqd-v05-correction-option:hover { background: rgba(255,255,255,.18) !important; transform: translateY(-1px); }
.sqd-v05-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.sqd-v05-action-grid a,
.sqd-v05-action-grid button,
.sqd-v05-old-layout {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--sqd-line);
  border-radius: 22px;
  background: #fff;
  color: var(--sqd-ink);
  text-align: left;
  box-shadow: var(--sqd-shadow-card);
}
.sqd-v05-action-grid strong {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}
.sqd-v05-action-grid span {
  color: var(--sqd-muted);
  font-size: 12px;
  line-height: 1.25;
}
.sqd-v05-side-card {
  padding: 18px;
}
.sqd-v05-side-card > strong {
  display: block;
  margin-bottom: 14px;
  color: var(--sqd-ink);
  font-size: 15px;
  font-weight: 950;
}
.sqd-v05-flow {
  display: grid;
  gap: 12px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.sqd-v05-flow li {
  display: grid;
  grid-template-columns: 34px minmax(0,1fr);
  gap: 10px;
  align-items: start;
}
.sqd-v05-flow li > span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sqd-blue-50);
  color: var(--sqd-blue-700);
  font-size: 13px;
  font-weight: 950;
}
.sqd-v05-flow p { margin: 0; }
.sqd-v05-flow b {
  display: block;
  color: var(--sqd-ink);
  font-size: 14px;
  line-height: 1.2;
}
.sqd-v05-flow small {
  display: block;
  margin-top: 2px;
  color: var(--sqd-muted);
  font-size: 12px;
  line-height: 1.35;
}
.sqd-v05-old-layout {
  min-height: 42px;
  margin-top: 14px;
  place-items: center;
  text-align: center;
  color: var(--sqd-blue-700);
  font-size: 13px;
  font-weight: 900;
}
.sqd-v05-related,
.sqd-v05-discussion {
  margin-top: 22px;
}
.sqd-v05-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 14px;
}
.sqd-v05-related article {
  display: flex;
  flex-direction: column;
  min-height: 238px;
  padding: 16px;
  border: 1px solid var(--sqd-line);
  border-radius: 22px;
  background: #f8fafc;
}
.sqd-v05-related small {
  color: var(--sqd-blue-700);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase !important;
}
.sqd-v05-related h3 {
  margin: 8px 0 10px;
  color: var(--sqd-ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.25;
}
.sqd-v05-related p {
  margin: 0 0 14px;
  color: var(--sqd-muted);
  font-size: 13px;
  line-height: 1.55;
}
.sqd-v05-related article a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: auto;
  border-radius: 16px;
  background: var(--sqd-blue-900);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
}
.sqd-v05-discussion {
  display: grid;
  gap: 14px;
}
.sqd-v05-discussion textarea { min-height: 118px; }
.sqd-v05-discussion .sqd-card-primary {
  justify-self: end;
}
.sqd-card-preview {
  border-color: rgba(11,106,243,.24) !important;
  background: var(--sqd-blue-50) !important;
  color: var(--sqd-blue-800) !important;
}

.sqd-theme-dark .sqd-v05-header,
.sqd-theme-dark .sqd-v05-question-card,
.sqd-theme-dark .sqd-v05-resource-dock,
.sqd-theme-dark .sqd-v05-training,
.sqd-theme-dark .sqd-v05-resources,
.sqd-theme-dark .sqd-v05-side-card,
.sqd-theme-dark .sqd-v05-related,
.sqd-theme-dark .sqd-v05-discussion,
.sqd-theme-dark .sqd-v05-resource,
.sqd-theme-dark .sqd-v05-resource-body,
.sqd-theme-dark .sqd-v05-action-grid a,
.sqd-theme-dark .sqd-v05-action-grid button,
.sqd-theme-dark .sqd-v05-old-layout {
  background: rgba(15, 27, 47, .94);
  border-color: #2a3e5f;
  color: #eaf1ff;
}
.sqd-theme-dark .sqd-v05-search,
.sqd-theme-dark .sqd-v05-pill,
.sqd-theme-dark .sqd-v05-resource-dock a,
.sqd-theme-dark .sqd-v05-textbase,
.sqd-theme-dark .sqd-v05-related article,
.sqd-theme-dark .sqd-v05-training textarea,
.sqd-theme-dark .sqd-v05-discussion textarea {
  background: #0d1729;
  border-color: #2d4265;
  color: #eaf1ff;
}
.sqd-theme-dark .sqd-v05-question-head h1,
.sqd-theme-dark .sqd-v05-training-head h2,
.sqd-theme-dark .sqd-v05-resources-head h2,
.sqd-theme-dark .sqd-v05-related-head h2,
.sqd-theme-dark .sqd-v05-discussion h2,
.sqd-theme-dark .sqd-v05-side-card > strong,
.sqd-theme-dark .sqd-v05-resource summary strong,
.sqd-theme-dark .sqd-v05-statement .sqd-single-richtext,
.sqd-theme-dark .sqd-v05-related h3,
.sqd-theme-dark .sqd-v05-flow b,
.sqd-theme-dark .sqd-v05-breadcrumb strong {
  color: #eef4ff;
}
.sqd-theme-dark .sqd-v05-subject,
.sqd-theme-dark .sqd-v05-textbase .sqd-single-richtext,
.sqd-theme-dark .sqd-v05-resources-head p,
.sqd-theme-dark .sqd-v05-discussion p,
.sqd-theme-dark .sqd-v05-resource summary small,
.sqd-theme-dark .sqd-v05-action-grid span,
.sqd-theme-dark .sqd-v05-flow small,
.sqd-theme-dark .sqd-v05-related p {
  color: #aab8d1;
}

@media (max-width: 1260px) {
  .sqd-v05-layout { grid-template-columns: 1fr; }
  .sqd-v05-aside { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sqd-v05-action-card { grid-column: 1 / -1; }
}
@media (max-width: 1040px) {
  .sqd-v05-header { grid-template-columns: 1fr; }
  .sqd-v05-resource-dock { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sqd-v05-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .sqd-v05-content { padding: 16px 14px 32px; }
  .sqd-v05-question-head,
  .sqd-v05-question-body,
  .sqd-v05-training,
  .sqd-v05-resources,
  .sqd-v05-related,
  .sqd-v05-discussion { padding: 18px; }
  .sqd-v05-question-card,
  .sqd-v05-resource-dock,
  .sqd-v05-training,
  .sqd-v05-resources,
  .sqd-v05-side-card,
  .sqd-v05-related,
  .sqd-v05-discussion { border-radius: 20px; }
  .sqd-v05-question-head h1 { font-size: 28px; }
  .sqd-v05-statement .sqd-single-richtext { font-size: 16px; line-height: 1.72; }
  .sqd-v05-resource-dock { grid-template-columns: 1fr; }
  .sqd-v05-aside { grid-template-columns: 1fr; }
  .sqd-v05-action-grid { grid-template-columns: 1fr; }
  .sqd-v05-training-head { display: grid; }
}

/* 10.1. Ajustes v0.5.2 — auditoria UX/UI da página individual -------- */
.sqd-single-v05 .sqd-workspace-shell {
  background: #f5f8fc;
}
.sqd-v05-header {
  padding-top: 16px;
  padding-bottom: 16px;
}
.sqd-v05-content {
  max-width: 1240px;
  margin: 0 auto;
}
.sqd-v05-question-card,
.sqd-v05-resource-dock,
.sqd-v05-training,
.sqd-v05-resources,
.sqd-v05-side-card,
.sqd-v05-related,
.sqd-v05-discussion {
  box-shadow: 0 10px 30px rgba(15, 33, 66, .055);
}
.sqd-v05-question-head h1 {
  font-size: clamp(30px, 2.55vw, 40px);
  line-height: 1.12;
}
.sqd-v05-statement .sqd-single-richtext {
  font-size: 18.5px;
  line-height: 1.9;
}
.sqd-v05-textbase {
  background: #f9fbfd;
  border: 1px solid #eef3f8;
}
.sqd-v05-resource-dock {
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 7px;
}
.sqd-v05-resource-dock a {
  grid-template-columns: 32px minmax(0, 1fr);
  min-height: 66px;
  padding: 10px 9px;
}
.sqd-v05-resource-dock span {
  width: 32px;
  height: 32px;
}
.sqd-v05-resource-dock strong {
  white-space: normal;
  line-height: 1.12;
}
.sqd-v05-training-head p {
  max-width: 720px;
  margin: 7px 0 0;
  color: var(--sqd-muted);
  font-size: 14px;
  line-height: 1.55;
}
.sqd-v05-study-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.sqd-v05-study-flow li {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  border: 1px solid var(--sqd-line);
  border-radius: 18px;
  background: #f8fafc;
  padding: 8px 10px;
}
.sqd-v05-study-flow strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  background: var(--sqd-blue-900);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
}
.sqd-v05-study-flow span {
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}
.sqd-v05-answer-gate {
  display: flex;
  gap: 10px;
  align-items: center;
  margin: 0 0 14px;
  padding: 13px 14px;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  background: #eff6ff;
  color: #0f172a;
}
.sqd-v05-answer-gate strong {
  flex: 0 0 auto;
  color: #075985;
  font-size: 14px;
  font-weight: 950;
}
.sqd-v05-answer-gate span {
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
.sqd-v05-resource summary {
  min-height: 66px;
}
.sqd-v05-resource summary .sqd-badge {
  min-width: 88px;
  justify-content: center;
  text-align: center;
}
.sqd-badge-muted {
  background: #f1f5f9 !important;
  color: #64748b !important;
}
.sqd-v05-resource-body {
  padding: 22px;
}
.sqd-v05-resource-body.sqd-single-richtext,
.sqd-v05-resource-body .sqd-single-richtext {
  max-width: 820px;
}
.sqd-v05-resource-body p,
.sqd-v05-resource-body li {
  font-size: 16px;
  line-height: 1.82;
}
.sqd-v05-resource-body h1,
.sqd-v05-resource-body h2,
.sqd-v05-resource-body h3,
.sqd-v05-resource-body h4 {
  margin: 1.2em 0 .55em;
  color: var(--sqd-ink);
  line-height: 1.25;
}
.sqd-v05-resource-body strong {
  color: #0f172a;
  font-weight: 950;
}
.sqd-v05-side-group {
  padding: 16px;
}
.sqd-v05-side-group > strong {
  margin-bottom: 10px;
}
.sqd-v05-action-grid-single {
  grid-template-columns: 1fr;
}
.sqd-v05-action-grid a,
.sqd-v05-action-grid button {
  min-height: 74px;
  transition: .18s ease;
}
.sqd-v05-action-grid a:hover,
.sqd-v05-action-grid button:hover,
.sqd-v05-old-layout:hover {
  border-color: rgba(11,106,243,.24);
  background: var(--sqd-blue-50);
  transform: translateY(-1px);
}
.sqd-v05-related small {
  letter-spacing: .05em;
}
.sqd-v05-related article {
  min-height: 220px;
}
.sqd-v05-discussion {
  padding: 0;
  overflow: hidden;
}
.sqd-v05-discussion details {
  display: block;
}
.sqd-v05-discussion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px 12px;
  align-items: center;
  padding: 20px 22px;
  cursor: pointer;
  list-style: none;
}
.sqd-v05-discussion summary::-webkit-details-marker {
  display: none;
}
.sqd-v05-discussion summary span {
  grid-column: 1 / -1;
}
.sqd-v05-discussion summary strong {
  color: var(--sqd-ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.15;
}
.sqd-v05-discussion summary small {
  color: var(--sqd-muted);
  font-size: 12px;
  font-weight: 850;
}
.sqd-v05-discussion-body {
  display: grid;
  gap: 14px;
  padding: 0 22px 22px;
}
.sqd-theme-dark .sqd-v05-training-head p,
.sqd-theme-dark .sqd-v05-answer-gate span,
.sqd-theme-dark .sqd-v05-study-flow span,
.sqd-theme-dark .sqd-v05-discussion summary small {
  color: #aab8d1;
}
.sqd-theme-dark .sqd-v05-answer-gate,
.sqd-theme-dark .sqd-v05-study-flow li {
  background: #0d1729;
  border-color: #2d4265;
}
.sqd-theme-dark .sqd-v05-discussion summary strong,
.sqd-theme-dark .sqd-v05-resource-body strong,
.sqd-theme-dark .sqd-v05-resource-body h1,
.sqd-theme-dark .sqd-v05-resource-body h2,
.sqd-theme-dark .sqd-v05-resource-body h3,
.sqd-theme-dark .sqd-v05-resource-body h4 {
  color: #eef4ff;
}
@media (max-width: 1040px) {
  .sqd-v05-study-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .sqd-v05-study-flow { grid-template-columns: 1fr; }
  .sqd-v05-answer-gate { align-items: flex-start; flex-direction: column; }
  .sqd-v05-resource summary { grid-template-columns: 1fr; }
  .sqd-v05-resource summary .sqd-badge { justify-self: start; }
  .sqd-v05-resource-dock { grid-template-columns: 1fr; }
  .sqd-v05-resource-dock a { min-height: auto; }
}

/* 0.5.2.1 — base dos filtros completos na página individual ---------------------- */
.sqd-v05-filter-accordion {
  margin: 0 0 18px;
  border: 1px solid var(--sqd-line);
  border-radius: 24px;
  background: rgba(255,255,255,.96);
  box-shadow: var(--sqd-shadow-card);
  overflow: visible;
}
.sqd-v05-filter-accordion > summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  user-select: none;
}
.sqd-v05-filter-accordion > summary::-webkit-details-marker { display: none; }
.sqd-v05-filter-summary-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: var(--sqd-blue-50);
  color: var(--sqd-blue-800);
  font-size: 22px;
  font-weight: 900;
  flex: 0 0 auto;
}
.sqd-v05-filter-summary-text {
  display: grid;
  gap: 2px;
  min-width: 0;
  flex: 1 1 auto;
}
.sqd-v05-filter-summary-text strong {
  color: var(--sqd-ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.15;
}
.sqd-v05-filter-summary-text small {
  color: var(--sqd-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}
.sqd-v05-filter-summary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--sqd-blue-900);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(0, 83, 173, .18);
}
.sqd-v05-filter-accordion[open] > summary {
  border-bottom: 1px solid var(--sqd-line-soft);
}
.sqd-v05-filter-accordion[open] .sqd-v05-filter-summary-action {
  font-size: 0;
  background: #eef2f7;
  color: #334155;
  box-shadow: none;
}
.sqd-v05-filter-accordion[open] .sqd-v05-filter-summary-action::after {
  content: 'Fechar filtros';
  font-size: 12px;
}
.sqd-v05-filter-form {
  margin: 0;
}
.sqd-v05-filter-layout {
  padding: 18px;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 22px;
}
.sqd-v05-filter-accordion .sqd-filter-sidebar {
  top: 84px;
  padding: 0;
}
.sqd-v05-filter-accordion .sqd-workspace-main {
  min-width: 0;
}
.sqd-v05-filter-accordion .sqd-search-strip {
  margin-top: 0;
}
.sqd-v05-filter-accordion .sqd-results-shell {
  margin-bottom: 0;
}
.sqd-v05-filter-accordion .sqd-results {
  max-height: 680px;
  overflow: auto;
  padding-right: 4px;
}
.sqd-v05-filter-accordion .sqd-results::-webkit-scrollbar { width: 8px; }
.sqd-v05-filter-accordion .sqd-results::-webkit-scrollbar-thumb {
  background: rgba(15, 33, 66, .18);
  border-radius: 999px;
}
.sqd-v05-filter-accordion .sqd-card {
  box-shadow: 0 8px 22px rgba(15, 33, 66, .06);
}
.sqd-v05-filter-accordion .sqd-mobile-filter-toggle {
  display: none;
}
.sqd-single-v05.sqd-sidebar-collapsed .sqd-v05-filter-accordion .sqd-workspace-layout {
  grid-template-columns: 84px minmax(0, 1fr);
}
.sqd-single-v05.sqd-sidebar-collapsed .sqd-v05-filter-accordion .sqd-filter-sidebar {
  display: block;
}

.sqd-theme-dark .sqd-v05-filter-accordion {
  border-color: rgba(148,163,184,.18);
  background: #111827;
}
.sqd-theme-dark .sqd-v05-filter-summary-text strong { color: #f8fafc; }
.sqd-theme-dark .sqd-v05-filter-summary-text small { color: #94a3b8; }
.sqd-theme-dark .sqd-v05-filter-summary-icon {
  background: rgba(56,189,248,.12);
  color: #bae6fd;
}
.sqd-theme-dark .sqd-v05-filter-accordion[open] .sqd-v05-filter-summary-action {
  background: rgba(148,163,184,.14);
  color: #e2e8f0;
}

@media (max-width: 1180px) {
  .sqd-v05-filter-layout {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
  }
}
@media (max-width: 980px) {
  .sqd-v05-filter-layout {
    grid-template-columns: 1fr;
    padding: 14px;
  }
  .sqd-v05-filter-accordion .sqd-mobile-filter-toggle {
    display: flex;
  }
  .sqd-v05-filter-accordion .sqd-filter-sidebar {
    position: static;
    padding: 16px;
  }
  .sqd-v05-filter-accordion .sqd-results {
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .sqd-single-v05.sqd-sidebar-collapsed .sqd-v05-filter-accordion .sqd-workspace-layout {
    grid-template-columns: 1fr;
  }
  .sqd-single-v05.sqd-sidebar-collapsed .sqd-v05-filter-accordion .sqd-filter-sidebar {
    display: none;
  }
}
@media (max-width: 640px) {
  .sqd-v05-filter-accordion > summary {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .sqd-v05-filter-summary-action {
    width: 100%;
  }
}

/* 0.5.2.2 — busca/filtros integrados, índice lateral e relacionados por banca */
.sqd-v05-search {
  padding: 0 8px 0 14px;
}
.sqd-v05-search .sqd-v05-quick-submit,
.sqd-v05-search .sqd-v05-filter-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 14px;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}
.sqd-v05-search .sqd-v05-quick-submit {
  background: var(--sqd-blue-900);
  color: #fff;
}
.sqd-v05-search .sqd-v05-filter-open {
  background: #eef4ff;
  color: var(--sqd-blue-800);
  border: 1px solid #dbeafe;
}
.sqd-v05-search .sqd-v05-filter-open[aria-expanded="true"] {
  background: var(--sqd-blue-50);
  border-color: rgba(11,106,243,.28);
}
.sqd-v05-layout {
  grid-template-columns: 138px minmax(0, 1fr) 308px;
  align-items: start;
}
.sqd-v05-main { min-width: 0; }
.sqd-v05-index {
  position: sticky;
  top: 18px;
  min-width: 0;
  border: 1px solid var(--sqd-line);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: var(--sqd-shadow-card);
  padding: 12px;
}
.sqd-v05-index nav {
  display: grid;
  gap: 5px;
}
.sqd-v05-index a {
  display: grid;
  grid-template-columns: 24px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  min-height: 34px;
  border-radius: 14px;
  color: #475569;
  font-size: 11px;
  font-weight: 850;
  line-height: 1.15;
  padding: 6px 7px;
  transition: .16s ease;
}
.sqd-v05-index a:hover {
  background: var(--sqd-blue-50);
  color: var(--sqd-blue-800);
}
.sqd-v05-index a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 10px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 10px;
  font-weight: 950;
}
.sqd-v05-index a:hover span {
  background: #fff;
  color: var(--sqd-blue-800);
}
.sqd-v05-resource-dock {
  display: none !important;
}
.sqd-v05-filter-overlay {
  position: fixed;
  inset: 0;
  z-index: 42;
  background: rgba(15, 23, 42, .48);
  backdrop-filter: blur(2px);
}
.sqd-v05-filter-accordion {
  position: relative;
  z-index: 43;
  margin: 0 0 24px;
  border-radius: 28px;
  overflow: visible;
}
.sqd-v05-filter-accordion[hidden],
.sqd-v05-filter-overlay[hidden] {
  display: none !important;
}
.sqd-v05-filter-panel-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--sqd-line-soft);
}
.sqd-v05-filter-close {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  border: 0;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}
.sqd-v05-filter-accordion .sqd-filter-sidebar {
  position: sticky;
  top: 84px;
}
.sqd-v05-discussion details[open] summary {
  border-bottom: 1px solid var(--sqd-line-soft);
  background: linear-gradient(180deg, #fff, #f8fbff);
}
.sqd-v05-related small {
  display: block;
  min-height: 30px;
  line-height: 1.35;
}
.sqd-theme-dark .sqd-v05-search .sqd-v05-filter-open {
  background: rgba(56,189,248,.12);
  border-color: rgba(125,211,252,.22);
  color: #bae6fd;
}
.sqd-theme-dark .sqd-v05-index,
.sqd-theme-dark .sqd-v05-filter-accordion {
  border-color: rgba(148,163,184,.18);
  background: #111827;
}
.sqd-theme-dark .sqd-v05-index a { color: #aab8d1; }
.sqd-theme-dark .sqd-v05-index a span { background: #0d1729; color: #94a3b8; }
.sqd-theme-dark .sqd-v05-filter-panel-head { border-color: rgba(148,163,184,.16); }
.sqd-theme-dark .sqd-v05-filter-close { background: rgba(148,163,184,.14); color: #e2e8f0; }
@media (max-width: 1280px) {
  .sqd-v05-layout { grid-template-columns: 126px minmax(0,1fr) 292px; gap: 18px; }
  .sqd-v05-index a { font-size: 10.5px; }
}
@media (max-width: 1100px) {
  .sqd-v05-layout { grid-template-columns: minmax(0,1fr) 292px; }
  .sqd-v05-index {
    grid-column: 1 / -1;
    position: static;
    padding: 12px;
  }
  .sqd-v05-index nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
  }
  .sqd-v05-index a {
    min-height: 40px;
    white-space: normal;
    align-items: flex-start;
  }
}
@media (max-width: 980px) {
  .sqd-single-v05 { background: #fff; }
  .sqd-single-v05 .sqd-workspace-shell { width: 100%; border-left: 0; border-right: 0; box-shadow: none; background: #fff; }
  .sqd-v05-search { flex-wrap: wrap; }
  .sqd-v05-search input { flex: 1 1 100%; min-height: 34px; }
  .sqd-v05-filter-panel-head { align-items: flex-start; flex-wrap: wrap; }
  .sqd-v05-filter-close { margin-left: 0; }
}
@media (max-width: 720px) {
  .sqd-v05-layout { grid-template-columns: 1fr; }
  .sqd-v05-search .sqd-v05-quick-submit,
  .sqd-v05-search .sqd-v05-filter-open { flex: 1 1 auto; }
  .sqd-v05-index nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sqd-v05-index a { font-size: 10px; }
  .sqd-v05-content { padding: 16px 12px 28px; }
}
@media (max-width: 520px) {
  .sqd-v05-index nav { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sqd-v05-index a { grid-template-columns: 22px minmax(0,1fr); gap: 6px; padding: 6px; }
}

/* 0.5.2.3 — refinamentos de espaço, índice, correção e responsividade */
.sqd-v05-content {
  max-width: 1420px;
}
.sqd-v05-layout {
  grid-template-columns: 138px minmax(0, 1fr) 308px;
  align-items: start;
}
.sqd-v05-main { min-width: 0; }
.sqd-v05-index {
  padding: 12px;
}
.sqd-v05-index > strong {
  display: none;
}
.sqd-v05-index a {
  font-size: 11px;
  padding: 6px 7px;
}
.sqd-v05-correction-card {
  gap: 10px;
}
.sqd-v05-correction-options {
  display: grid;
  gap: 10px;
  margin-top: 6px;
}
.sqd-v05-correction-option {
  display: grid !important;
  grid-template-columns: 40px minmax(0,1fr);
  gap: 10px;
  align-items: center;
  min-height: 74px !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.12) !important;
  color: #fff !important;
  padding: 12px 14px !important;
  box-shadow: none !important;
}
.sqd-v05-correction-option i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: rgba(255,255,255,.14);
  font-style: normal;
  font-size: 20px;
}
.sqd-v05-correction-option span { display: block; min-width: 0; }
.sqd-v05-correction-option strong,
.sqd-v05-correction-option small { display: block; color: #fff; }
.sqd-v05-correction-option strong { font-size: 14px; font-weight: 950; }
.sqd-v05-correction-option small { opacity: .86; font-size: 12px; line-height: 1.35; margin-top: 2px; }
.sqd-v05-correction-option:hover { background: rgba(255,255,255,.18) !important; transform: translateY(-1px); }

@media (max-width: 1280px) {
  .sqd-v05-content { max-width: 100%; }
  .sqd-v05-layout { grid-template-columns: 126px minmax(0,1fr) 292px; gap: 18px; }
  .sqd-v05-index a { font-size: 10.5px; }
}
@media (max-width: 1260px) {
  .sqd-v05-layout { grid-template-columns: 1fr; }
  .sqd-v05-aside { position: static; grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sqd-v05-action-card { grid-column: 1 / -1; }
}
@media (max-width: 1100px) {
  .sqd-v05-index {
    grid-column: 1 / -1;
    position: static;
  }
  .sqd-v05-index nav {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr));
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .sqd-v05-index a {
    min-height: 40px;
    white-space: normal;
    align-items: flex-start;
  }
}
@media (max-width: 980px) {
  .sqd-single-v05,
  .sqd-single-v05 .sqd-workspace-shell {
    background: #fff;
  }
  .sqd-single-v05 .sqd-workspace-shell {
    width: 100%;
    border-left: 0;
    border-right: 0;
    box-shadow: none;
  }
}
@media (max-width: 720px) {
  .sqd-v05-content { padding: 16px 12px 28px; }
  .sqd-v05-index nav { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
  .sqd-v05-index a { font-size: 10px; }
  .sqd-v05-correction-option { min-height: 70px !important; }
  .sqd-v05-aside { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .sqd-v05-index a {
    grid-template-columns: 22px minmax(0,1fr);
    gap: 6px;
    padding: 6px;
  }
}


/* 0.5.3 — responsividade limpa da página individual -------------------
   Esta seção substitui os overrides incrementais da série 0.5.2.x.
   Regra-base: no template próprio da questão, o shell controla a largura;
   abaixo de 1100px, tudo vira coluna e nenhum item pode exceder a viewport. */
body.sqd-single-preview-template {
  margin: 0;
  overflow-x: hidden;
  background: #f5f8fc;
}
body.sqd-single-preview-template *,
body.sqd-single-preview-template *::before,
body.sqd-single-preview-template *::after {
  box-sizing: border-box;
}
body.sqd-single-preview-template .sqd-app {
  overflow-x: clip !important;
}
body.sqd-single-preview-template .sqd-workspace-shell,
body.sqd-single-preview-template .sqd-admin-preview-switch.is-new {
  width: min(1840px, calc(100vw - 34px)) !important;
  max-width: calc(100vw - 34px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.sqd-single-preview-template .sqd-workspace-shell {
  overflow: hidden;
}
body.sqd-single-preview-template .sqd-v05-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 22px 28px 46px !important;
}
body.sqd-single-preview-template .sqd-v05-layout {
  display: grid !important;
  grid-template-columns: minmax(170px, 190px) minmax(0, 1fr) 308px !important;
  gap: 22px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
body.sqd-single-preview-template .sqd-v05-main,
body.sqd-single-preview-template .sqd-v05-index,
body.sqd-single-preview-template .sqd-v05-aside,
body.sqd-single-preview-template .sqd-v05-question-card,
body.sqd-single-preview-template .sqd-v05-training,
body.sqd-single-preview-template .sqd-v05-resources,
body.sqd-single-preview-template .sqd-v05-related,
body.sqd-single-preview-template .sqd-v05-discussion,
body.sqd-single-preview-template .sqd-v05-side-card,
body.sqd-single-preview-template .sqd-v05-action-card {
  min-width: 0 !important;
  max-width: 100% !important;
}
body.sqd-single-preview-template .sqd-v05-index > strong {
  display: none !important;
}
body.sqd-single-preview-template .sqd-v05-index {
  padding: 14px !important;
}
body.sqd-single-preview-template .sqd-v05-index a {
  font-size: 11.5px !important;
  min-height: 36px !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
}
body.sqd-single-preview-template .sqd-v05-breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1.45 !important;
}
body.sqd-single-preview-template .sqd-v05-breadcrumb a,
body.sqd-single-preview-template .sqd-v05-breadcrumb strong,
body.sqd-single-preview-template .sqd-v05-breadcrumb span {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
body.sqd-single-preview-template .sqd-v05-subject,
body.sqd-single-preview-template .sqd-v05-question-head h1,
body.sqd-single-preview-template .sqd-single-richtext,
body.sqd-single-preview-template .sqd-v05-resource-body,
body.sqd-single-preview-template .sqd-v05-related h3,
body.sqd-single-preview-template .sqd-v05-related p,
body.sqd-single-preview-template .sqd-v05-pill {
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
body.sqd-single-preview-template .sqd-v05-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
}
body.sqd-single-preview-template .sqd-v05-pill {
  max-width: 100% !important;
  white-space: normal !important;
}
body.sqd-single-preview-template .sqd-v05-correction-option i svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.sqd-single-preview-template img,
body.sqd-single-preview-template iframe,
body.sqd-single-preview-template video,
body.sqd-single-preview-template table {
  max-width: 100% !important;
}

@media (max-width: 1280px) {
  body.sqd-single-preview-template .sqd-workspace-shell,
  body.sqd-single-preview-template .sqd-admin-preview-switch.is-new {
    width: min(100%, calc(100vw - 48px)) !important;
    max-width: min(100%, calc(100vw - 48px)) !important;
  }
  body.sqd-single-preview-template .sqd-v05-layout {
    grid-template-columns: 160px minmax(0, 1fr) 292px !important;
    gap: 18px !important;
  }
}

@media (max-width: 1100px) {
  body.sqd-single-preview-template .sqd-workspace-shell,
  body.sqd-single-preview-template .sqd-admin-preview-switch.is-new {
    width: 100% !important;
    max-width: 100% !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  body.sqd-single-preview-template .sqd-v05-content {
    padding: 16px 14px 32px !important;
    overflow-x: hidden !important;
  }
  body.sqd-single-preview-template .sqd-v05-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 16px !important;
  }
  body.sqd-single-preview-template .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-aside {
    position: static !important;
    width: 100% !important;
  }
  body.sqd-single-preview-template .sqd-v05-index nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  body.sqd-single-preview-template .sqd-v05-aside {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 14px !important;
  }
  body.sqd-single-preview-template .sqd-v05-header {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 12px !important;
    padding: 16px 14px !important;
  }
  body.sqd-single-preview-template .sqd-v05-search {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 10px !important;
  }
  body.sqd-single-preview-template .sqd-v05-search input {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  body.sqd-single-preview-template .sqd-v05-search .sqd-v05-quick-submit,
  body.sqd-single-preview-template .sqd-v05-search .sqd-v05-filter-open {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  body.sqd-single-preview-template .sqd-workspace-actions {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 10px !important;
  }
  body.sqd-single-preview-template .sqd-workspace-actions > *,
  body.sqd-single-preview-template .sqd-work-action,
  body.sqd-single-preview-template .sqd-theme-toggle {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }
  body.sqd-single-preview-template .sqd-v05-question-head,
  body.sqd-single-preview-template .sqd-v05-question-body,
  body.sqd-single-preview-template .sqd-v05-training,
  body.sqd-single-preview-template .sqd-v05-resources,
  body.sqd-single-preview-template .sqd-v05-related,
  body.sqd-single-preview-template .sqd-v05-discussion {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.sqd-single-preview-template .sqd-v05-question-head h1 {
    font-size: clamp(24px, 6.4vw, 34px) !important;
    line-height: 1.12 !important;
  }
  body.sqd-single-preview-template .sqd-v05-statement .sqd-single-richtext,
  body.sqd-single-preview-template .sqd-v05-resource-body p,
  body.sqd-single-preview-template .sqd-v05-resource-body li {
    font-size: 16px !important;
    line-height: 1.72 !important;
  }
  body.sqd-single-preview-template .sqd-v05-study-flow,
  body.sqd-single-preview-template .sqd-v05-action-grid,
  body.sqd-single-preview-template .sqd-v05-related-grid,
  body.sqd-single-preview-template .sqd-v05-filter-layout,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-workspace-layout {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-filter-sidebar,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-workspace-main,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-results-shell,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-results {
    position: static !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 540px) {
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  body.sqd-single-preview-template .sqd-v05-index nav {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.sqd-single-preview-template .sqd-v05-question-head,
  body.sqd-single-preview-template .sqd-v05-question-body,
  body.sqd-single-preview-template .sqd-v05-training,
  body.sqd-single-preview-template .sqd-v05-resources,
  body.sqd-single-preview-template .sqd-v05-related,
  body.sqd-single-preview-template .sqd-v05-discussion {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
  body.sqd-single-preview-template .sqd-v05-resource summary {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.sqd-single-preview-template .sqd-v05-resource summary .sqd-badge {
    justify-self: start !important;
  }
}


/* 0.5.4 — isolamento real da responsividade da questão individual
   Aplica também quando a classe do body não é carregada pelo tema/template. */
.sqd-app.sqd-single-v05,
.sqd-app.sqd-single-v05 * ,
.sqd-app.sqd-single-v05 *::before,
.sqd-app.sqd-single-v05 *::after {
  box-sizing: border-box;
}
.sqd-app.sqd-single-v05 {
  overflow-x: clip !important;
}
.sqd-app.sqd-single-v05 .sqd-workspace-shell,
.sqd-app.sqd-single-v05 .sqd-admin-preview-switch.is-new {
  width: min(1840px, calc(100vw - 34px)) !important;
  max-width: calc(100vw - 34px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
.sqd-app.sqd-single-v05 .sqd-workspace-shell {
  overflow: hidden !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-content {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 22px 28px 46px !important;
  overflow-x: hidden !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-layout {
  display: grid !important;
  grid-template-columns: minmax(170px,190px) minmax(0,1fr) 308px !important;
  gap: 22px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-main,
.sqd-app.sqd-single-v05 .sqd-v05-index,
.sqd-app.sqd-single-v05 .sqd-v05-aside,
.sqd-app.sqd-single-v05 .sqd-v05-question-card,
.sqd-app.sqd-single-v05 .sqd-v05-training,
.sqd-app.sqd-single-v05 .sqd-v05-resources,
.sqd-app.sqd-single-v05 .sqd-v05-related,
.sqd-app.sqd-single-v05 .sqd-v05-discussion,
.sqd-app.sqd-single-v05 .sqd-v05-side-card,
.sqd-app.sqd-single-v05 .sqd-v05-action-card,
.sqd-app.sqd-single-v05 .sqd-v05-header,
.sqd-app.sqd-single-v05 .sqd-v05-search,
.sqd-app.sqd-single-v05 .sqd-workspace-actions,
.sqd-app.sqd-single-v05 .sqd-topline,
.sqd-app.sqd-single-v05 .sqd-composed-topbar {
  min-width: 0 !important;
  max-width: 100% !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-breadcrumb {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 7px 8px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow: visible !important;
  white-space: normal !important;
  line-height: 1.45 !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-breadcrumb a,
.sqd-app.sqd-single-v05 .sqd-v05-breadcrumb strong,
.sqd-app.sqd-single-v05 .sqd-v05-breadcrumb span,
.sqd-app.sqd-single-v05 .sqd-v05-subject,
.sqd-app.sqd-single-v05 .sqd-v05-question-head h1,
.sqd-app.sqd-single-v05 .sqd-single-richtext,
.sqd-app.sqd-single-v05 .sqd-v05-resource-body,
.sqd-app.sqd-single-v05 .sqd-v05-related h3,
.sqd-app.sqd-single-v05 .sqd-v05-related p,
.sqd-app.sqd-single-v05 .sqd-v05-pill {
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  min-width: 0 !important;
}
.sqd-app.sqd-single-v05 img,
.sqd-app.sqd-single-v05 iframe,
.sqd-app.sqd-single-v05 video,
.sqd-app.sqd-single-v05 table {
  max-width: 100% !important;
}
@media (max-width: 1280px) {
  .sqd-app.sqd-single-v05 .sqd-workspace-shell,
  .sqd-app.sqd-single-v05 .sqd-admin-preview-switch.is-new {
    width: min(100%, calc(100vw - 48px)) !important;
    max-width: min(100%, calc(100vw - 48px)) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-layout {
    grid-template-columns: 160px minmax(0,1fr) 292px !important;
    gap: 18px !important;
  }
}
@media (max-width: 1100px) {
  .sqd-app.sqd-single-v05 .sqd-workspace-shell,
  .sqd-app.sqd-single-v05 .sqd-admin-preview-switch.is-new {
    width: 100% !important;
    max-width: 100% !important;
    border-left: 0 !important;
    border-right: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-content {
    padding: 16px 14px 32px !important;
    overflow-x: hidden !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-layout {
    grid-template-columns: minmax(0,1fr) !important;
    gap: 16px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-aside {
    position: static !important;
    width: 100% !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index nav {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 8px !important;
    overflow: visible !important;
    padding: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-aside,
  .sqd-app.sqd-single-v05 .sqd-workspace-actions,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-layout,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-workspace-layout,
  .sqd-app.sqd-single-v05 .sqd-v05-study-flow,
  .sqd-app.sqd-single-v05 .sqd-v05-action-grid,
  .sqd-app.sqd-single-v05 .sqd-v05-related-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 14px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-header {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: 12px !important;
    padding: 16px 14px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search {
    width: 100% !important;
    display: flex !important;
    flex-wrap: wrap !important;
    padding: 10px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search input {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-width: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search .sqd-v05-quick-submit,
  .sqd-app.sqd-single-v05 .sqd-v05-search .sqd-v05-filter-open {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-workspace-actions > *,
  .sqd-app.sqd-single-v05 .sqd-work-action,
  .sqd-app.sqd-single-v05 .sqd-theme-toggle {
    width: 100% !important;
    justify-content: center !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-question-head,
  .sqd-app.sqd-single-v05 .sqd-v05-question-body,
  .sqd-app.sqd-single-v05 .sqd-v05-training,
  .sqd-app.sqd-single-v05 .sqd-v05-resources,
  .sqd-app.sqd-single-v05 .sqd-v05-related,
  .sqd-app.sqd-single-v05 .sqd-v05-discussion {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-question-head h1 {
    font-size: clamp(24px,6.4vw,34px) !important;
    line-height: 1.12 !important;
  }
}
@media (max-width: 540px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index nav {
    grid-template-columns: minmax(0,1fr) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-question-head,
  .sqd-app.sqd-single-v05 .sqd-v05-question-body,
  .sqd-app.sqd-single-v05 .sqd-v05-training,
  .sqd-app.sqd-single-v05 .sqd-v05-resources,
  .sqd-app.sqd-single-v05 .sqd-v05-related,
  .sqd-app.sqd-single-v05 .sqd-v05-discussion {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}


/* 0.5.5 — mantém o comportamento base da página principal no app individual.
   Não definir width/margins aqui: o .sqd-app base usa 100vw + margin-left calculado para escapar do container do tema. */
body.sqd-single-preview-template .sqd-app.sqd-single-v05 {
  overflow-x: clip !important;
}


/* 0.5.6 — app individual: viewport real sem margens full-bleed.
   Mantém a largura baseada em viewport, mas remove o margin-left calc(50% - 50vw)
   que falha quando o tema/body tem largura mínima maior que a viewport. */
.sqd-app.sqd-single-v05 {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: clip !important;
}
body.sqd-single-preview-template .sqd-app.sqd-single-v05 {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow-x: clip !important;
}

/* 0.5.8 — ajustes finos da single: recursos reais, índice condicional e remoção do treino */
.sqd-app.sqd-single-v05,
body.sqd-single-preview-template .sqd-app.sqd-single-v05 {
  padding-right: 10px !important;
}

/* O menu composto passa a usar o mesmo breakpoint no CSS e no JS. */
@media (max-width: 1080px) {
  .sqd-mobile-menu-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-height: 40px !important;
    padding: 0 14px !important;
    margin-left: auto !important;
    border: 1px solid var(--sqd-line) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #15213a !important;
    font-weight: 850 !important;
    cursor: pointer !important;
  }
  .sqd-theme-dark .sqd-mobile-menu-toggle {
    border-color: rgba(43, 64, 95, .96) !important;
    background: rgba(16, 30, 51, .94) !important;
    color: #e2e8f0 !important;
  }
}
@media (min-width: 1081px) {
  .sqd-mobile-menu-toggle {
    display: none !important;
  }
}

/* Busca rápida da single: mantém lupa e campo na mesma linha em tablets. */
@media (max-width: 1100px) {
  .sqd-app.sqd-single-v05 .sqd-v05-search,
  body.sqd-single-preview-template .sqd-v05-search {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr) minmax(88px, auto) minmax(88px, auto) !important;
    align-items: center !important;
    column-gap: 10px !important;
    row-gap: 8px !important;
    flex-wrap: nowrap !important;
    padding: 8px 10px 8px 14px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search > span,
  body.sqd-single-preview-template .sqd-v05-search > span {
    grid-column: 1 !important;
    grid-row: 1 !important;
    align-self: center !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search input,
  body.sqd-single-preview-template .sqd-v05-search input {
    grid-column: 2 !important;
    grid-row: 1 !important;
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 34px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search .sqd-v05-quick-submit,
  body.sqd-single-preview-template .sqd-v05-search .sqd-v05-quick-submit {
    grid-column: 3 !important;
    grid-row: 1 !important;
    min-width: 88px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search .sqd-v05-filter-open,
  body.sqd-single-preview-template .sqd-v05-search .sqd-v05-filter-open {
    grid-column: 4 !important;
    grid-row: 1 !important;
    min-width: 88px !important;
  }
}
@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-search,
  body.sqd-single-preview-template .sqd-v05-search {
    grid-template-columns: 20px minmax(0, 1fr) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search .sqd-v05-quick-submit,
  body.sqd-single-preview-template .sqd-v05-search .sqd-v05-quick-submit {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    width: 100% !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-search .sqd-v05-filter-open,
  body.sqd-single-preview-template .sqd-v05-search .sqd-v05-filter-open {
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    width: 100% !important;
  }
}

/* Filtros completos abertos dentro da single: painel mais baixo e menos espaçado. */
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion {
  max-height: min(74dvh, 700px) !important;
  overflow-y: auto !important;
  overscroll-behavior: contain !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-layout {
  grid-template-columns: 270px minmax(0, 1fr) !important;
  gap: 16px !important;
  padding: 14px 16px 16px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-panel-head {
  padding: 12px 16px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-filter-sidebar {
  top: 74px !important;
  padding: 8px 0 12px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-filter-title {
  padding-bottom: 10px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter {
  min-height: 58px !important;
  padding: 9px 10px !important;
  gap: 9px !important;
  grid-template-columns: 34px minmax(0, 1fr) 12px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter-featured {
  margin-bottom: 9px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-icon {
  width: 30px !important;
  height: 30px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter strong {
  font-size: 13.5px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter small {
  margin-top: 2px !important;
  font-size: 12px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-toggles {
  gap: 8px !important;
  padding: 10px 0 12px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-switch {
  font-size: 13px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-sidebar-link,
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-sidebar-clear {
  min-height: 40px !important;
  margin-top: 8px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-sidebar-save {
  display: none !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-search-strip,
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-results-toolbar {
  margin-top: 0 !important;
  margin-bottom: 10px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-results {
  max-height: min(36dvh, 330px) !important;
  overflow-y: auto !important;
  padding-right: 6px !important;
}

/* Modal de Matéria e assunto: um pouco menor, com listas menos altas. */
.sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
  width: min(900px, calc(100vw - 42px)) !important;
  max-height: min(72dvh, 680px) !important;
}
.sqd-taxonomy-dock.sqd-modal .sqd-tax-head {
  padding: 12px 16px !important;
}
.sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
  min-height: 290px !important;
  max-height: calc(min(72dvh, 680px) - 62px) !important;
}
.sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-roots,
.sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-browser {
  padding: 14px !important;
}
.sqd-taxonomy-dock.sqd-modal .sqd-term-search input,
.sqd-taxonomy-dock.sqd-modal .sqd-term-browser input {
  height: 38px !important;
  margin: 8px 0 !important;
}
.sqd-taxonomy-dock.sqd-modal .sqd-root-list,
.sqd-taxonomy-dock.sqd-modal .sqd-term-list {
  gap: 6px !important;
  max-height: min(36dvh, 300px) !important;
}
.sqd-taxonomy-dock.sqd-modal .sqd-root-item,
.sqd-taxonomy-dock.sqd-modal .sqd-term-item {
  padding: 8px 10px !important;
}

@media (max-width: 980px) {
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion {
    max-height: calc(100dvh - 84px) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-layout {
    grid-template-columns: minmax(0,1fr) !important;
    padding: 12px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-results {
    max-height: none !important;
    overflow: visible !important;
  }
  .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
    max-height: calc(100dvh - 94px) !important;
  }
  .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
    max-height: calc(100dvh - 154px) !important;
  }
}

/* Índice da single em tablet/mobile: trilho fixo à esquerda, recolhido por padrão. */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 56px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    position: fixed !important;
    left: 8px !important;
    top: 226px !important;
    z-index: 80 !important;
    width: 42px !important;
    max-width: calc(100vw - 16px) !important;
    max-height: calc(100dvh - 246px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 6px !important;
    border-radius: 18px !important;
    transition: width .18s ease, box-shadow .18s ease !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus-within {
    width: min(250px, calc(100vw - 16px)) !important;
    box-shadow: 0 24px 62px rgba(7, 18, 39, .22) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    min-width: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a {
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 32px !important;
    padding: 4px !important;
    font-size: 0 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover a,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a,
  body.sqd-single-preview-template .sqd-v05-index:hover a,
  body.sqd-single-preview-template .sqd-v05-index:focus-within a {
    padding: 5px 7px !important;
    font-size: 11px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index a span,
  body.sqd-single-preview-template .sqd-v05-index a span {
    width: 26px !important;
    height: 26px !important;
    font-size: 10px !important;
  }
}
@media (max-width: 540px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 48px !important;
    padding-right: 10px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    left: 6px !important;
    top: 196px !important;
    width: 38px !important;
    max-height: calc(100dvh - 212px) !important;
  }
}

/* 0.5.9 — single: docks inferiores no mobile e filtros completos mais úteis */

/* Filtros completos da single: recupera área útil e compacta os controles internamente. */
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion,
body.sqd-single-preview-template .sqd-v05-filter-accordion {
  max-height: min(86dvh, 820px) !important;
  overflow-y: auto !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-layout,
body.sqd-single-preview-template .sqd-v05-filter-layout {
  grid-template-columns: 360px minmax(0, 1fr) !important;
  gap: 18px !important;
  padding: 14px 18px 18px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-filter-sidebar,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-filter-sidebar {
  top: 72px !important;
  padding: 6px 0 10px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter {
  min-height: 46px !important;
  padding: 7px 9px !important;
  gap: 8px !important;
  grid-template-columns: 30px minmax(0, 1fr) 10px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon),
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) {
  display: grid !important;
  grid-template-columns: 94px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 10px !important;
  min-width: 0 !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > strong,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > strong {
  grid-column: 1 !important;
  margin: 0 !important;
  font-size: 12.5px !important;
  line-height: 1.15 !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > small,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > small,
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > select,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > select,
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > input,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > input,
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-multi-select,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-multi-select,
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-lines-range,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-lines-range {
  grid-column: 2 !important;
  min-width: 0 !important;
  width: 100% !important;
  margin-top: 0 !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-multi-trigger,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-multi-trigger {
  min-height: 34px !important;
  padding: 7px 9px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-lines-range,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-lines-range {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 6px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-toggles,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-toggles {
  gap: 6px !important;
  padding: 8px 0 9px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-switch,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-switch {
  min-height: 36px !important;
  padding: 7px 8px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-results,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-results {
  max-height: min(52dvh, 520px) !important;
  overflow-y: auto !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-sidebar-save,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-sidebar-save {
  display: none !important;
}

/* Abaixo de 1000px, índice e organização viram docks inferiores à esquerda. */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 12px !important;
    padding-bottom: 156px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    position: fixed !important;
    left: 12px !important;
    top: auto !important;
    bottom: 78px !important;
    z-index: 88 !important;
    width: auto !important;
    max-width: calc(100vw - 24px) !important;
    max-height: none !important;
    overflow: visible !important;
    padding: 6px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 42px rgba(7, 18, 39, .18) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 5px !important;
    overflow-x: auto !important;
    max-width: calc(100vw - 40px) !important;
    padding: 0 !important;
    scrollbar-width: none !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index nav::-webkit-scrollbar,
  body.sqd-single-preview-template .sqd-v05-index nav::-webkit-scrollbar {
    display: none !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 30px !important;
    width: 30px !important;
    height: 30px !important;
    min-height: 30px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index a span,
  body.sqd-single-preview-template .sqd-v05-index a span {
    width: 24px !important;
    height: 24px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus-within {
    width: auto !important;
    box-shadow: 0 18px 42px rgba(7, 18, 39, .18) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover a,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a,
  body.sqd-single-preview-template .sqd-v05-index:hover a,
  body.sqd-single-preview-template .sqd-v05-index:focus-within a {
    width: 30px !important;
    padding: 0 !important;
    font-size: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    position: fixed !important;
    left: 12px !important;
    bottom: 16px !important;
    z-index: 89 !important;
    width: min(360px, calc(100vw - 24px)) !important;
    max-width: calc(100vw - 24px) !important;
    padding: 6px !important;
    border-radius: 999px !important;
    box-shadow: 0 18px 42px rgba(7, 18, 39, .20) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group > strong,
  body.sqd-single-preview-template .sqd-v05-side-group > strong {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a {
    min-height: 36px !important;
    border-radius: 999px !important;
    padding: 7px 10px !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a strong {
    font-size: 11px !important;
    line-height: 1.1 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a span,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a span {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .sqd-app.sqd-single-v05 .sqd-v05-filter-layout,
  body.sqd-single-preview-template .sqd-v05-filter-layout {
    grid-template-columns: minmax(0,1fr) !important;
    padding: 12px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon),
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) {
    grid-template-columns: 90px minmax(0, 1fr) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-results,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-results {
    max-height: min(48dvh, 460px) !important;
    overflow-y: auto !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
    padding-bottom: 152px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    left: 10px !important;
    bottom: 74px !important;
    width: auto !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    left: 10px !important;
    bottom: 14px !important;
    width: min(330px, calc(100vw - 20px)) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter {
    grid-template-columns: 28px minmax(0, 1fr) 10px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon),
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 3px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > strong,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > strong,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > small,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > small,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > select,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > select,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > input,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > input,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-multi-select,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-multi-select,
  .sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-lines-range,
  body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter > span:not(.sqd-side-icon) > .sqd-lines-range {
    grid-column: 1 !important;
  }
}


/* 0.5.10 — refinamentos da single: docks inferiores verticais, filtros mais compactos e cabeçalho simples de recursos */
.sqd-app.sqd-single-v05 .sqd-v05-resources-head,
body.sqd-single-preview-template .sqd-v05-resources-head {
  padding-bottom: 0 !important;
  margin-bottom: 14px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-resources-head span,
.sqd-app.sqd-single-v05 .sqd-v05-resources-head p,
body.sqd-single-preview-template .sqd-v05-resources-head span,
body.sqd-single-preview-template .sqd-v05-resources-head p,
.sqd-app.sqd-single-v05 .sqd-v05-answer-gate,
body.sqd-single-preview-template .sqd-v05-answer-gate {
  display: none !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-resources-head h2,
body.sqd-single-preview-template .sqd-v05-resources-head h2 {
  margin: 0 !important;
}

/* Filtros completos: compactação sem reduzir demais a área útil. */
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-filter-title,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-filter-title {
  display: none !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-filter-sidebar,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-filter-sidebar {
  padding-top: 0 !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-toggles,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-toggles {
  gap: 0 !important;
  padding: 5px 0 6px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-lines-range label small,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-lines-range label small {
  display: none !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter {
  min-height: 42px !important;
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-side-filter-featured,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-side-filter-featured {
  margin-bottom: 6px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-switch,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-switch {
  min-height: 32px !important;
  padding-top: 5px !important;
  padding-bottom: 5px !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-results,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-results {
  max-height: min(56dvh, 560px) !important;
}

/* Mobile/tablet: índice e Organização como trilhos verticais no canto inferior esquerdo. */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 58px !important;
    padding-bottom: 36px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    position: fixed !important;
    left: 10px !important;
    top: auto !important;
    bottom: 104px !important;
    z-index: 92 !important;
    width: 42px !important;
    max-width: calc(100vw - 20px) !important;
    max-height: min(42dvh, 320px) !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 6px !important;
    border-radius: 18px !important;
    box-shadow: 0 18px 42px rgba(7, 18, 39, .20) !important;
    transition: width .18s ease, box-shadow .18s ease !important;
    cursor: pointer !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index.is-open {
    width: min(250px, calc(100vw - 20px)) !important;
    box-shadow: 0 24px 62px rgba(7, 18, 39, .24) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    overflow: visible !important;
    max-width: none !important;
    padding: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a {
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    width: auto !important;
    min-width: 0 !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 4px !important;
    border-radius: 999px !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover a,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  body.sqd-single-preview-template .sqd-v05-index:hover a,
  body.sqd-single-preview-template .sqd-v05-index:focus-within a,
  body.sqd-single-preview-template .sqd-v05-index.is-open a {
    padding: 5px 7px !important;
    font-size: 11px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index a span,
  body.sqd-single-preview-template .sqd-v05-index a span {
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 999px !important;
    font-size: 10px !important;
    line-height: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    position: fixed !important;
    left: 10px !important;
    bottom: 16px !important;
    z-index: 93 !important;
    width: 42px !important;
    max-width: calc(100vw - 20px) !important;
    padding: 6px !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 18px 42px rgba(7, 18, 39, .22) !important;
    transition: width .18s ease, box-shadow .18s ease !important;
    cursor: pointer !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open,
  body.sqd-single-preview-template .sqd-v05-side-group:hover,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open {
    width: min(245px, calc(100vw - 20px)) !important;
    box-shadow: 0 24px 62px rgba(7, 18, 39, .24) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group > strong,
  body.sqd-single-preview-template .sqd-v05-side-group > strong {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a {
    display: grid !important;
    grid-template-columns: 26px minmax(0, 1fr) !important;
    gap: 8px !important;
    align-items: center !important;
    min-height: 32px !important;
    border-radius: 999px !important;
    padding: 4px !important;
    font-size: 0 !important;
    text-align: left !important;
    justify-content: stretch !important;
    overflow: hidden !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a::before,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a::before {
    content: "☆";
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    height: 26px !important;
    min-width: 26px !important;
    border-radius: 999px !important;
    background: rgba(11, 106, 243, .10) !important;
    color: var(--sqd-blue-700) !important;
    font-size: 12px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a:nth-child(2)::before,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a:nth-child(2)::before {
    content: "▣";
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover .sqd-v05-action-grid a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within .sqd-v05-action-grid a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group:hover .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open .sqd-v05-action-grid a {
    padding: 5px 7px !important;
    font-size: 11px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a strong {
    font-size: inherit !important;
    line-height: 1.1 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a span,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a span {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 54px !important;
    padding-right: 10px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    left: 8px !important;
    bottom: 104px !important;
    width: 40px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    left: 8px !important;
    bottom: 14px !important;
    width: 40px !important;
  }
}


/* 0.5.11 — correção dos docks mobile */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 62px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    left: 12px !important;
    top: auto !important;
    right: auto !important;
    z-index: 120 !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 7px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(202,213,226,.82) !important;
    box-shadow: 0 18px 42px rgba(7,18,39,.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: width .18s ease, box-shadow .18s ease, background .18s ease !important;
    cursor: pointer !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    bottom: 118px !important;
    max-height: min(42dvh, 300px) !important;
    overflow-y: auto !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    bottom: 18px !important;
    z-index: 121 !important;
    max-height: 92px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open,
  body.sqd-single-preview-template .sqd-v05-side-group:hover,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open {
    width: min(268px, calc(100vw - 24px)) !important;
    box-shadow: 0 24px 62px rgba(7,18,39,.24) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 1px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-align: left !important;
    justify-content: stretch !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    color: transparent !important;
    opacity: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index:hover a,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  body.sqd-single-preview-template .sqd-v05-index:hover a,
  body.sqd-single-preview-template .sqd-v05-index:focus-within a,
  body.sqd-single-preview-template .sqd-v05-index.is-open a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover .sqd-v05-action-grid a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within .sqd-v05-action-grid a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group:hover .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open .sqd-v05-action-grid a {
    padding: 3px 8px 3px 3px !important;
    font-size: 12px !important;
    color: #152033 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a span,
  body.sqd-single-preview-template .sqd-v05-index a span,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a::before,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #0a3c8c !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: inset 0 0 0 1px rgba(11,106,243,.06) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group > strong,
  body.sqd-single-preview-template .sqd-v05-side-group > strong,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a span,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: inherit !important;
    line-height: 1.1 !important;
    color: inherit !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group {
    background: rgba(15,23,42,.96) !important;
    border-color: rgba(51,65,85,.92) !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index:hover a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover .sqd-v05-action-grid a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within .sqd-v05-action-grid a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index:hover a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index:focus-within a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index.is-open a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group:hover .sqd-v05-action-grid a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group:focus-within .sqd-v05-action-grid a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group.is-open .sqd-v05-action-grid a {
    color: #e5edf8 !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    left: 9px !important;
    width: 44px !important;
    min-width: 44px !important;
    padding: 6px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    bottom: 114px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    bottom: 16px !important;
  }
}

/* 0.5.12 — reexibição dos recursos e correção do texto no índice recolhido/expandido */
.sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-number,
body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-number {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-label,
body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-label {
  display: block !important;
  width: auto !important;
  height: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit !important;
  font-size: inherit !important;
  font-weight: inherit !important;
  line-height: 1.15 !important;
  text-align: left !important;
  justify-content: start !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-resource.is-unavailable,
body.sqd-single-preview-template .sqd-v05-resource.is-unavailable {
  background: #f8fbff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-resource.is-unavailable summary,
body.sqd-single-preview-template .sqd-v05-resource.is-unavailable summary {
  opacity: .9 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-resource.is-unavailable .sqd-badge,
body.sqd-single-preview-template .sqd-v05-resource.is-unavailable .sqd-badge {
  background: #f1f5f9 !important;
  color: #64748b !important;
  border-color: #e2e8f0 !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-resource.is-unavailable,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resource.is-unavailable {
  background: rgba(15,23,42,.72) !important;
}

@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-label {
    width: 0 !important;
    max-width: 0 !important;
    opacity: 0 !important;
    color: transparent !important;
    font-size: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index:hover a .sqd-v05-index-label,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a .sqd-v05-index-label,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index:hover a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index:focus-within a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index.is-open a .sqd-v05-index-label {
    width: auto !important;
    max-width: 100% !important;
    opacity: 1 !important;
    color: #152033 !important;
    font-size: 12px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index.is-open {
    width: min(278px, calc(100vw - 24px)) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  body.sqd-single-preview-template .sqd-v05-index.is-open a {
    color: #152033 !important;
    font-size: 12px !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index:hover a .sqd-v05-index-label,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a .sqd-v05-index-label,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a .sqd-v05-index-label,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index:hover a .sqd-v05-index-label,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index:focus-within a .sqd-v05-index-label,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index.is-open a .sqd-v05-index-label {
    color: #e5edf8 !important;
  }
}

/* 0.5.13 — estabilização dos docks mobile/tablet da single
   O dock agora abre de forma estável por clique (.is-open), evitando flicker em hover/foco. */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 64px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    position: fixed !important;
    left: 12px !important;
    top: auto !important;
    right: auto !important;
    z-index: 140 !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: calc(100vw - 24px) !important;
    height: auto !important;
    max-height: none !important;
    padding: 7px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.97) !important;
    border: 1px solid rgba(202,213,226,.86) !important;
    box-shadow: 0 18px 42px rgba(7,18,39,.18) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    transition: width .18s ease, box-shadow .18s ease, background .18s ease !important;
    cursor: pointer !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    bottom: 118px !important;
    z-index: 140 !important;
    overflow-y: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    bottom: 18px !important;
    z-index: 141 !important;
    overflow-y: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group:hover,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within {
    width: 46px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open {
    width: min(286px, calc(100vw - 24px)) !important;
    box-shadow: 0 24px 62px rgba(7,18,39,.24) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) !important;
    align-items: center !important;
    justify-content: stretch !important;
    gap: 9px !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 1px !important;
    border-radius: 999px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    color: transparent !important;
    opacity: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  body.sqd-single-preview-template .sqd-v05-index.is-open a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open .sqd-v05-action-grid a {
    padding: 3px 8px 3px 3px !important;
    font-size: 12px !important;
    color: #152033 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-number,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-number,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a::before,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column: 1 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #0a3c8c !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: inset 0 0 0 1px rgba(11,106,243,.06) !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-label {
    display: block !important;
    grid-column: 2 !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    color: #152033 !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index.is-open a .sqd-v05-index-label {
    width: auto !important;
    max-width: 210px !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 12px !important;
    color: #152033 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group > strong,
  body.sqd-single-preview-template .sqd-v05-side-group > strong,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a span,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    color: transparent !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong {
    font-size: 12px !important;
    color: #152033 !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group {
    background: rgba(15,23,42,.96) !important;
    border-color: rgba(51,65,85,.92) !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a .sqd-v05-index-label,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index.is-open a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index.is-open a .sqd-v05-index-label,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong {
    color: #e5edf8 !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    left: 9px !important;
    width: 44px !important;
    min-width: 44px !important;
    padding: 6px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group:hover,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within {
    width: 44px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open {
    width: min(286px, calc(100vw - 18px)) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    bottom: 112px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    bottom: 16px !important;
  }
}


/* 0.5.14 — docks mobile/tablet refeito: abertura somente por clique; hover/focus não controla mais texto nem largura. */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    top: auto !important;
    width: 46px !important;
    min-width: 46px !important;
    max-width: calc(100vw - 24px) !important;
    padding: 7px !important;
    overflow: hidden !important;
    border-radius: 20px !important;
    z-index: 160 !important;
    cursor: pointer !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    bottom: 118px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    bottom: 18px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus,
  body.sqd-single-preview-template .sqd-v05-index:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group:hover,
  body.sqd-single-preview-template .sqd-v05-side-group:focus,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within {
    width: 46px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:focus-within,
  body.sqd-single-preview-template .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index.is-open:hover,
  body.sqd-single-preview-template .sqd-v05-index.is-open:focus,
  body.sqd-single-preview-template .sqd-v05-index.is-open:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:hover,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:focus,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:focus-within {
    width: min(286px, calc(100vw - 24px)) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 6px !important;
    width: 100% !important;
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a {
    display: grid !important;
    grid-template-columns: 30px minmax(0, 1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 32px !important;
    height: 32px !important;
    padding: 1px !important;
    overflow: hidden !important;
    white-space: nowrap !important;
    text-align: left !important;
    font-size: 0 !important;
    line-height: 1.1 !important;
    color: transparent !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:hover a,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:focus-within a,
  body.sqd-single-preview-template .sqd-v05-index.is-open a,
  body.sqd-single-preview-template .sqd-v05-index.is-open:hover a,
  body.sqd-single-preview-template .sqd-v05-index.is-open:focus-within a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:hover .sqd-v05-action-grid a,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:focus-within .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:hover .sqd-v05-action-grid a,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:focus-within .sqd-v05-action-grid a {
    padding: 3px 8px 3px 3px !important;
    font-size: 12px !important;
    color: #152033 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-number,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-number,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a::before,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a::before {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    grid-column: 1 !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    max-width: 30px !important;
    padding: 0 !important;
    margin: 0 !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #0a3c8c !important;
    font-size: 11px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: visible !important;
    clip: auto !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-label,
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover a .sqd-v05-index-label,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index:hover a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index:focus-within a .sqd-v05-index-label {
    display: block !important;
    grid-column: 2 !important;
    width: 0 !important;
    max-width: 0 !important;
    min-width: 0 !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: transparent !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 1.15 !important;
    clip: auto !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a .sqd-v05-index-label,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:hover a .sqd-v05-index-label,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:focus-within a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index.is-open a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index.is-open:hover a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index.is-open:focus-within a .sqd-v05-index-label {
    width: auto !important;
    max-width: 210px !important;
    opacity: 1 !important;
    visibility: visible !important;
    overflow: hidden !important;
    color: #152033 !important;
    font-size: 12px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid a strong,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover .sqd-v05-action-grid a strong,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group:hover .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within .sqd-v05-action-grid a strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    font-size: 0 !important;
    color: transparent !important;
    line-height: 1.1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:hover .sqd-v05-action-grid a strong,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:focus-within .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:hover .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:focus-within .sqd-v05-action-grid a strong {
    font-size: 12px !important;
    color: #152033 !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-index.is-open a .sqd-v05-index-label,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index.is-open a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index.is-open a .sqd-v05-index-label,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group.is-open .sqd-v05-action-grid a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-side-group.is-open .sqd-v05-action-grid a strong {
    color: #e5edf8 !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group,
  .sqd-app.sqd-single-v05 .sqd-v05-index:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-index:focus-within,
  body.sqd-single-preview-template .sqd-v05-index:hover,
  body.sqd-single-preview-template .sqd-v05-index:focus,
  body.sqd-single-preview-template .sqd-v05-index:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group:hover,
  body.sqd-single-preview-template .sqd-v05-side-group:focus,
  body.sqd-single-preview-template .sqd-v05-side-group:focus-within {
    left: 9px !important;
    width: 44px !important;
    min-width: 44px !important;
    padding: 6px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-index.is-open:focus-within,
  body.sqd-single-preview-template .sqd-v05-index.is-open,
  body.sqd-single-preview-template .sqd-v05-index.is-open:hover,
  body.sqd-single-preview-template .sqd-v05-index.is-open:focus,
  body.sqd-single-preview-template .sqd-v05-index.is-open:focus-within,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:hover,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:focus,
  .sqd-app.sqd-single-v05 .sqd-v05-side-group.is-open:focus-within,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:hover,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:focus,
  body.sqd-single-preview-template .sqd-v05-side-group.is-open:focus-within {
    width: min(286px, calc(100vw - 18px)) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    bottom: 112px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    bottom: 16px !important;
  }
}

/* 0.5.15 — docks mobile/tablet refeitos do zero.
   Evita conflitos com o Índice e Organização originais escondendo-os no mobile
   e usando uma marcação independente, sem hover/focus para controlar textos. */
.sqd-app.sqd-single-v05 .sqd-v05-mobile-docks,
body.sqd-single-preview-template .sqd-v05-mobile-docks {
  display: none !important;
}

@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout > .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout > .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-aside > .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-aside > .sqd-v05-side-group {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 14px !important;
    padding-bottom: 48px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mobile-docks,
  body.sqd-single-preview-template .sqd-v05-mobile-docks {
    display: block !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock,
  body.sqd-single-preview-template .sqd-v05-mdock {
    position: fixed !important;
    left: 12px !important;
    right: auto !important;
    top: auto !important;
    z-index: 260 !important;
    display: grid !important;
    grid-template-columns: 44px !important;
    align-items: end !important;
    gap: 8px !important;
    max-width: calc(100vw - 24px) !important;
    pointer-events: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-index,
  body.sqd-single-preview-template .sqd-v05-mdock-index {
    bottom: 112px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-org,
  body.sqd-single-preview-template .sqd-v05-mdock-org {
    bottom: 18px !important;
    z-index: 261 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock.is-open,
  body.sqd-single-preview-template .sqd-v05-mdock.is-open {
    grid-template-columns: 44px minmax(0, min(286px, calc(100vw - 76px))) !important;
    z-index: 270 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail,
  body.sqd-single-preview-template .sqd-v05-mdock-rail {
    pointer-events: auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: 44px !important;
    max-height: min(54dvh, 360px) !important;
    overflow-y: auto !important;
    padding: 7px !important;
    margin: 0 !important;
    border: 1px solid rgba(202,213,226,.88) !important;
    border-radius: 20px !important;
    background: rgba(255,255,255,.97) !important;
    box-shadow: 0 18px 42px rgba(7,18,39,.20) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: #0a3c8c !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    scrollbar-width: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail::-webkit-scrollbar,
  body.sqd-single-preview-template .sqd-v05-mdock-rail::-webkit-scrollbar {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-dot,
  body.sqd-single-preview-template .sqd-v05-mdock-dot {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #0a3c8c !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-shadow: inset 0 0 0 1px rgba(11,106,243,.08) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel,
  body.sqd-single-preview-template .sqd-v05-mdock-panel {
    pointer-events: auto !important;
    display: none !important;
    width: min(286px, calc(100vw - 76px)) !important;
    max-height: min(58dvh, 430px) !important;
    overflow-y: auto !important;
    padding: 10px !important;
    border: 1px solid rgba(202,213,226,.9) !important;
    border-radius: 22px !important;
    background: rgba(255,255,255,.98) !important;
    box-shadow: 0 24px 62px rgba(7,18,39,.25) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock.is-open .sqd-v05-mdock-panel,
  body.sqd-single-preview-template .sqd-v05-mdock.is-open .sqd-v05-mdock-panel {
    display: block !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-head,
  body.sqd-single-preview-template .sqd-v05-mdock-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 2px 2px 8px !important;
    margin: 0 0 6px !important;
    border-bottom: 1px solid rgba(226,232,240,.92) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-head strong,
  body.sqd-single-preview-template .sqd-v05-mdock-head strong {
    color: #0f172a !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-head button,
  body.sqd-single-preview-template .sqd-v05-mdock-head button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: #eef2f7 !important;
    color: #334155 !important;
    font-size: 18px !important;
    font-weight: 850 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel nav,
  body.sqd-single-preview-template .sqd-v05-mdock-panel nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel a,
  body.sqd-single-preview-template .sqd-v05-mdock-panel a {
    display: grid !important;
    grid-template-columns: 30px minmax(0,1fr) !important;
    align-items: center !important;
    gap: 9px !important;
    min-height: 34px !important;
    padding: 3px 8px 3px 3px !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #152033 !important;
    text-decoration: none !important;
    line-height: 1.1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel a:hover,
  body.sqd-single-preview-template .sqd-v05-mdock-panel a:hover {
    background: #eef5ff !important;
    color: #063d8c !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel a span,
  body.sqd-single-preview-template .sqd-v05-mdock-panel a span {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    border-radius: 999px !important;
    background: #eef5ff !important;
    color: #0a3c8c !important;
    font-size: 11px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel a strong,
  body.sqd-single-preview-template .sqd-v05-mdock-panel a strong {
    display: block !important;
    min-width: 0 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    white-space: nowrap !important;
    color: inherit !important;
    font-size: 12px !important;
    font-weight: 850 !important;
    line-height: 1.15 !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-rail,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-panel {
    background: rgba(15,23,42,.96) !important;
    border-color: rgba(51,65,85,.92) !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-head,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-head {
    border-bottom-color: rgba(51,65,85,.92) !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-head strong,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel a,
  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel a strong,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-head strong,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-panel a,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-panel a strong {
    color: #e5edf8 !important;
  }

  .sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-mdock-head button,
  body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-head button {
    background: rgba(148,163,184,.14) !important;
    color: #e2e8f0 !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock,
  body.sqd-single-preview-template .sqd-v05-mdock {
    left: 9px !important;
    grid-template-columns: 42px !important;
    max-width: calc(100vw - 18px) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock.is-open,
  body.sqd-single-preview-template .sqd-v05-mdock.is-open {
    grid-template-columns: 42px minmax(0, min(276px, calc(100vw - 68px))) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-index,
  body.sqd-single-preview-template .sqd-v05-mdock-index {
    bottom: 108px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-org,
  body.sqd-single-preview-template .sqd-v05-mdock-org {
    bottom: 16px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail,
  body.sqd-single-preview-template .sqd-v05-mdock-rail {
    width: 42px !important;
    padding: 6px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-panel,
  body.sqd-single-preview-template .sqd-v05-mdock-panel {
    width: min(276px, calc(100vw - 68px)) !important;
  }
}


/* 0.5.16 — refinamentos dos docks móveis da single.
   O conteúdo ganha margem para não ficar sob os atalhos; o índice fechado passa a
   mostrar apenas um ícone; o painel expandido fica alto o bastante para dispensar
   barra interna nos 9 atalhos atuais. */
@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 50px !important;
    padding-bottom: 50px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail-index,
  body.sqd-single-preview-template .sqd-v05-mdock-rail-index {
    min-height: 44px !important;
    max-height: 44px !important;
    justify-content: center !important;
    overflow: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail-index .sqd-v05-mdock-icon,
  body.sqd-single-preview-template .sqd-v05-mdock-rail-index .sqd-v05-mdock-icon {
    font-size: 16px !important;
    letter-spacing: -1px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-index .sqd-v05-mdock-panel,
  body.sqd-single-preview-template .sqd-v05-mdock-index .sqd-v05-mdock-panel {
    max-height: min(78dvh, 620px) !important;
    overflow-y: visible !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-index .sqd-v05-mdock-panel nav,
  body.sqd-single-preview-template .sqd-v05-mdock-index .sqd-v05-mdock-panel nav {
    gap: 6px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-index .sqd-v05-mdock-panel a,
  body.sqd-single-preview-template .sqd-v05-mdock-index .sqd-v05-mdock-panel a {
    min-height: 32px !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content {
    padding-left: 50px !important;
    padding-right: 10px !important;
    padding-bottom: 50px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-mdock-rail-index,
  body.sqd-single-preview-template .sqd-v05-mdock-rail-index {
    min-height: 42px !important;
    max-height: 42px !important;
  }
}

/* 0.5.17 — Discussão nativa via comentários WordPress/wpDiscuz. */
.sqd-app.sqd-single-v05 .sqd-v05-discussion-native,
body.sqd-single-preview-template .sqd-v05-discussion-native {
  display: block;
}

.sqd-app.sqd-single-v05 .sqd-v05-discussion-head,
body.sqd-single-preview-template .sqd-v05-discussion-head {
  margin-bottom: 14px;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box,
body.sqd-single-preview-template .sqd-v05-comments-box {
  width: 100%;
  min-width: 0;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .comments-area,
body.sqd-single-preview-template .sqd-v05-comments-box .comments-area,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box #comments,
body.sqd-single-preview-template .sqd-v05-comments-box #comments,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box #wpdcom,
body.sqd-single-preview-template .sqd-v05-comments-box #wpdcom {
  margin-top: 0;
  max-width: 100%;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box #wpdcom,
body.sqd-single-preview-template .sqd-v05-comments-box #wpdcom {
  padding-top: 0;
}

.sqd-app.sqd-single-v05 .sqd-v05-empty,
body.sqd-single-preview-template .sqd-v05-empty {
  margin: 0;
  border: 1px dashed var(--sqd-line);
  border-radius: 18px;
  background: var(--sqd-soft);
  color: var(--sqd-muted);
  padding: 14px 16px;
  font-size: 14px;
  line-height: 1.55;
}


/* 0.5.18 — Harmonização visual da seção Discussão/wpDiscuz. */
.sqd-app.sqd-single-v05 .sqd-v05-discussion-native,
body.sqd-single-preview-template .sqd-v05-discussion-native {
  overflow: hidden;
  padding: 24px !important;
  background: var(--sqd-card) !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 24px !important;
  box-shadow: var(--sqd-shadow-card) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-discussion-head,
body.sqd-single-preview-template .sqd-v05-discussion-head {
  display: block !important;
  margin: 0 0 18px !important;
  padding: 0 0 16px !important;
  border-bottom: 1px solid var(--sqd-line-soft) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-discussion-head span,
body.sqd-single-preview-template .sqd-v05-discussion-head span {
  display: block !important;
  margin: 0 0 4px !important;
  color: var(--sqd-blue-700) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-discussion-head h2,
body.sqd-single-preview-template .sqd-v05-discussion-head h2 {
  margin: 0 !important;
  color: var(--sqd-ink) !important;
  font-size: clamp(20px, 2vw, 28px) !important;
  line-height: 1.15 !important;
  font-weight: 900 !important;
  letter-spacing: -.02em !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box,
body.sqd-single-preview-template .sqd-v05-comments-box {
  color: var(--sqd-ink) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box #comments,
body.sqd-single-preview-template .sqd-v05-comments-box #comments,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box #wpdcom,
body.sqd-single-preview-template .sqd-v05-comments-box #wpdcom {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: var(--sqd-ink) !important;
  border: 0 !important;
  font-family: inherit !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box #wpdcom *,
body.sqd-single-preview-template .sqd-v05-comments-box #wpdcom * {
  box-sizing: border-box;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box #wpdcom a,
body.sqd-single-preview-template .sqd-v05-comments-box #wpdcom a {
  color: var(--sqd-blue-700) !important;
  text-decoration: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box #wpdcom a:hover,
body.sqd-single-preview-template .sqd-v05-comments-box #wpdcom a:hover {
  color: var(--sqd-blue-800) !important;
  text-decoration: underline !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-form-wrap,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-form-wrap {
  margin: 0 0 22px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-form-head,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-form-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  margin: 0 0 14px !important;
  padding: 10px 12px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 16px !important;
  background: var(--sqd-soft) !important;
  color: var(--sqd-muted) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-sbs-toggle,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-sbs-toggle {
  display: inline-flex !important;
  align-items: center !important;
  gap: 7px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 7px 11px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 999px !important;
  background: var(--sqd-card) !important;
  color: var(--sqd-blue-800) !important;
  font-size: 12px !important;
  line-height: 1 !important;
  font-weight: 850 !important;
  text-transform: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-auth,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-auth,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-login,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-login {
  color: var(--sqd-muted) !important;
  font-size: 13px !important;
  line-height: 1.35 !important;
  text-align: right !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-subscribe-bar,
body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-subscribe-bar {
  margin: 0 0 12px !important;
  padding: 12px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 16px !important;
  background: var(--sqd-soft) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-main-form-wrapper,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-main-form-wrapper {
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 20px !important;
  background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(246,248,252,.88)) !important;
  box-shadow: var(--sqd-shadow-card) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-textarea-wrap,
body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-textarea-wrap {
  align-items: flex-start !important;
  gap: 12px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-avatar,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-avatar {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-avatar img,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-avatar img {
  width: 46px !important;
  height: 46px !important;
  border-radius: 50% !important;
  border: 2px solid #fff !important;
  box-shadow: 0 8px 18px rgba(13, 39, 86, .12) !important;
  object-fit: cover !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box [id^="wpd-editor-wraper"],
body.sqd-single-preview-template .sqd-v05-comments-box [id^="wpd-editor-wraper"] {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-editor-char-counter,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-editor-char-counter {
  top: 9px !important;
  right: 12px !important;
  color: var(--sqd-muted) !important;
  font-size: 11px !important;
  opacity: .7 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-container.ql-snow,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-container.ql-snow {
  min-height: 94px !important;
  border: 1px solid var(--sqd-line) !important;
  border-bottom: 0 !important;
  border-radius: 16px 16px 0 0 !important;
  background: #fff !important;
  color: var(--sqd-ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-editor,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-editor {
  min-height: 94px !important;
  padding: 18px 18px 14px !important;
  color: var(--sqd-ink) !important;
  font-family: inherit !important;
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-editor.ql-blank::before,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-editor.ql-blank::before {
  left: 18px !important;
  right: 18px !important;
  color: var(--sqd-muted) !important;
  font-style: normal !important;
  opacity: .8 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-toolbar.ql-snow,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-toolbar.ql-snow {
  min-height: 42px !important;
  padding: 6px 10px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 0 0 16px 16px !important;
  background: var(--sqd-soft) !important;
  font-family: inherit !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-toolbar.ql-snow button,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-toolbar.ql-snow button {
  width: 28px !important;
  height: 28px !important;
  margin: 0 2px !important;
  border-radius: 8px !important;
  color: var(--sqd-muted) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-toolbar.ql-snow button:hover,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-toolbar.ql-snow button:hover,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-toolbar.ql-snow button.ql-active,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-toolbar.ql-snow button.ql-active {
  background: var(--sqd-blue-100) !important;
  color: var(--sqd-blue-800) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-toolbar.ql-snow .ql-stroke,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-toolbar.ql-snow .ql-stroke {
  stroke: currentColor !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-toolbar.ql-snow .ql-fill,
body.sqd-single-preview-template .sqd-v05-comments-box .ql-toolbar.ql-snow .ql-fill {
  fill: currentColor !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-form-foot,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-form-foot {
  margin-top: 12px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wc_comm_submit,
body.sqd-single-preview-template .sqd-v05-comments-box .wc_comm_submit,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-prim-button,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-prim-button {
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--sqd-blue-900) !important;
  color: #fff !important;
  min-height: 42px !important;
  padding: 0 20px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: .01em !important;
  box-shadow: 0 10px 22px rgba(9, 41, 99, .18) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wc_comm_submit:hover,
body.sqd-single-preview-template .sqd-v05-comments-box .wc_comm_submit:hover,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-prim-button:hover,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-prim-button:hover {
  background: var(--sqd-blue-800) !important;
  transform: translateY(-1px);
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-thread-head,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-thread-head {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 18px 0 12px !important;
  padding: 0 0 10px !important;
  border-bottom: 1px solid var(--sqd-line-soft) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-thread-info,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-thread-info {
  color: var(--sqd-blue-800) !important;
  font-size: 13px !important;
  line-height: 1 !important;
  font-weight: 900 !important;
  letter-spacing: .03em !important;
  text-transform: uppercase !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-thread-info .wpdtc,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-thread-info .wpdtc {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  margin-right: 6px !important;
  border-radius: 999px !important;
  background: var(--sqd-blue-100) !important;
  color: var(--sqd-blue-800) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-thread-filter,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-thread-filter {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-filter,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-filter,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-sort-button,
body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-sort-button {
  border: 1px solid var(--sqd-line) !important;
  border-radius: 999px !important;
  background: var(--sqd-card) !important;
  color: var(--sqd-blue-800) !important;
  min-height: 30px !important;
  padding: 7px 10px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-sort-button-active,
body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-sort-button-active {
  background: var(--sqd-blue-100) !important;
  border-color: rgba(7, 91, 220, .22) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-info-bar,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-info-bar {
  display: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-thread-list,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-thread-list {
  display: grid !important;
  gap: 14px !important;
  margin: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-wrap,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-wrap {
  display: flex !important;
  gap: 12px !important;
  margin: 0 !important;
  padding: 16px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 20px !important;
  background: var(--sqd-soft) !important;
  box-shadow: 0 10px 24px rgba(15, 33, 66, .045) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-left,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-left {
  flex: 0 0 auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-right,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-right {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-header,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-header {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 4px !important;
  padding: 0 !important;
  border: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-author,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-author {
  color: var(--sqd-blue-800) !important;
  font-size: 14px !important;
  line-height: 1.2 !important;
  font-weight: 900 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-subheader,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-subheader {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: var(--sqd-muted) !important;
  font-size: 12px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-label,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-label {
  margin: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-label span,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-label span {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 5px 9px !important;
  border-radius: 999px !important;
  background: var(--sqd-blue-100) !important;
  color: var(--sqd-blue-800) !important;
  font-size: 11px !important;
  font-weight: 900 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-date,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-date {
  color: var(--sqd-muted) !important;
  font-size: 12px !important;
  line-height: 1.2 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-text,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-text {
  margin: 0 !important;
  padding: 0 !important;
  color: var(--sqd-ink) !important;
  font-size: 15px !important;
  line-height: 1.75 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-text p,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-text p {
  margin: 0 0 10px !important;
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-text p:last-child,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-text p:last-child {
  margin-bottom: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-footer,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-footer {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
  margin-top: 12px !important;
  padding-top: 10px !important;
  border-top: 1px solid var(--sqd-line-soft) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-vote,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-vote,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-reply-button,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-reply-button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-height: 30px !important;
  margin: 0 !important;
  padding: 5px 9px !important;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 999px !important;
  background: var(--sqd-card) !important;
  color: var(--sqd-blue-800) !important;
  font-size: 12px !important;
  font-weight: 850 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-vote-up,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-vote-up,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-vote-down,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-vote-down {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--sqd-blue-800) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-vote svg,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-vote svg,
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-reply-button svg,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-reply-button svg {
  width: 13px !important;
  height: 13px !important;
  fill: currentColor !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-reply-button span,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-reply-button span {
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  text-transform: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-comment-pagination,
body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-comment-pagination {
  margin: 14px 0 0 !important;
}

.sqd-theme-dark .sqd-v05-comments-box .wpd-main-form-wrapper {
  background: linear-gradient(180deg, rgba(17,28,49,.96), rgba(17,27,46,.88)) !important;
}

.sqd-theme-dark .sqd-v05-comments-box .ql-container.ql-snow {
  background: #0f1b30 !important;
}

.sqd-theme-dark .sqd-v05-comments-box .wpd-avatar img {
  border-color: #17243c !important;
}

@media (max-width: 720px) {
  .sqd-app.sqd-single-v05 .sqd-v05-discussion-native,
  body.sqd-single-preview-template .sqd-v05-discussion-native {
    padding: 18px !important;
    border-radius: 20px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-form-head,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-form-head,
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-thread-head,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-thread-head {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-auth,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-auth,
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-login,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-login {
    text-align: left !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-main-form-wrapper,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-main-form-wrapper,
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-wrap,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-wrap {
    padding: 14px !important;
    border-radius: 18px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-textarea-wrap,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-textarea-wrap,
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-wrap,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-wrap {
    gap: 10px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-avatar img,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-avatar img {
    width: 38px !important;
    height: 38px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .ql-editor,
  body.sqd-single-preview-template .sqd-v05-comments-box .ql-editor {
    min-height: 86px !important;
    padding: 15px !important;
  }
}

@media (max-width: 520px) {
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpdiscuz-textarea-wrap,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpdiscuz-textarea-wrap,
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-wrap,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-wrap {
    align-items: stretch !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-left,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-left {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-form-col-left,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-form-col-left,
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-form-col-right,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-form-col-right {
    width: 100% !important;
  }
}

/* 0.5.20 — Relacionadas e Discussão alinhadas à largura da coluna de Recursos. */
.sqd-app.sqd-single-v05 .sqd-v05-main > .sqd-v05-related,
.sqd-app.sqd-single-v05 .sqd-v05-main > .sqd-v05-discussion,
body.sqd-single-preview-template .sqd-v05-main > .sqd-v05-related,
body.sqd-single-preview-template .sqd-v05-main > .sqd-v05-discussion {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-main > .sqd-v05-related .sqd-v05-related-grid,
  body.sqd-single-preview-template .sqd-v05-main > .sqd-v05-related .sqd-v05-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

/* 0.5.22 — índice desktop mais legível, sem item agrupador, e recolhível. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout,
  body.sqd-single-preview-template .sqd-v05-layout {
    grid-template-columns: minmax(230px, 250px) minmax(0, 1fr) 292px !important;
    gap: 20px !important;
    align-items: start !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed {
    grid-template-columns: 58px minmax(0, 1fr) 292px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    width: 100% !important;
    padding: 12px !important;
    overflow: visible !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index-head,
  body.sqd-single-preview-template .sqd-v05-index-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 8px !important;
    margin: 0 0 8px !important;
    padding: 0 2px 8px !important;
    border-bottom: 1px solid var(--sqd-line-soft) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index-head strong,
  body.sqd-single-preview-template .sqd-v05-index-head strong {
    color: var(--sqd-ink) !important;
    font-size: 12px !important;
    font-weight: 950 !important;
    line-height: 1.2 !important;
    letter-spacing: .02em !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index-toggle,
  body.sqd-single-preview-template .sqd-v05-index-toggle {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 1px solid var(--sqd-line) !important;
    border-radius: 999px !important;
    background: #f8fbff !important;
    color: var(--sqd-blue-800) !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    cursor: pointer !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index-toggle:hover,
  body.sqd-single-preview-template .sqd-v05-index-toggle:hover {
    background: var(--sqd-blue-50) !important;
    border-color: rgba(11,106,243,.28) !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index nav,
  body.sqd-single-preview-template .sqd-v05-index nav {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 7px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-index a {
    grid-template-columns: 28px minmax(0, 1fr) !important;
    gap: 9px !important;
    min-height: 38px !important;
    padding: 7px 8px !important;
    font-size: 11.5px !important;
    line-height: 1.2 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-number,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-number {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    border-radius: 999px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-index a .sqd-v05-index-label {
    display: block !important;
    overflow: visible !important;
    text-overflow: clip !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index {
    padding: 9px 7px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index-head,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index-head {
    justify-content: center !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index-head strong,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index-head strong {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 3px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index a .sqd-v05-index-label {
    display: none !important;
  }
}

@media (min-width: 1001px) and (max-width: 1280px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout,
  body.sqd-single-preview-template .sqd-v05-layout {
    grid-template-columns: minmax(216px, 230px) minmax(0, 1fr) 276px !important;
    gap: 16px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed {
    grid-template-columns: 58px minmax(0, 1fr) 276px !important;
  }
}

@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index-head,
  body.sqd-single-preview-template .sqd-v05-index-head {
    display: none !important;
  }
}


/* 0.5.23 — recolhimento do índice sem depender exclusivamente de JS. */
.sqd-app.sqd-single-v05 .sqd-v05-index-state,
body.sqd-single-preview-template .sqd-v05-index-state {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-index-toggle-closed,
body.sqd-single-preview-template .sqd-v05-index-toggle-closed {
  display: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-index-toggle,
body.sqd-single-preview-template .sqd-v05-index-toggle {
  user-select: none !important;
  text-decoration: none !important;
}

@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked),
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) {
    grid-template-columns: 58px minmax(0, 1fr) 292px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index {
    padding: 9px 7px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-head,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-head {
    justify-content: center !important;
    margin-bottom: 8px !important;
    padding-bottom: 8px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-head strong,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-head strong {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index a,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 34px !important;
    padding: 3px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index a .sqd-v05-index-label,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index a .sqd-v05-index-label {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-toggle-open,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-toggle-open,
  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index-toggle-open,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index-toggle-open {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-toggle-closed,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index-toggle-closed,
  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index-toggle-closed,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index-toggle-closed {
    display: inline !important;
  }
}

@media (min-width: 1001px) and (max-width: 1280px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked),
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) {
    grid-template-columns: 58px minmax(0, 1fr) 276px !important;
  }
}

/* 0.5.24 — índice desktop com comportamento sticky seguro.
   O índice rola naturalmente até o topo da viewport; depois permanece visível
   enquanto o usuário avança pela questão, sem JS e sem afetar os docks mobile. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-content,
  body.sqd-single-preview-template .sqd-v05-content,
  .sqd-app.sqd-single-v05 .sqd-v05-layout,
  body.sqd-single-preview-template .sqd-v05-layout {
    overflow: visible !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    position: sticky !important;
    top: 12px !important;
    align-self: start !important;
    z-index: 30 !important;
    max-height: calc(100dvh - 24px) !important;
    overscroll-behavior: contain !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout:not(.is-index-collapsed) .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout:not(.is-index-collapsed) .sqd-v05-index {
    overflow-y: auto !important;
    scrollbar-width: thin !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-collapsed .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-collapsed .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout:has(.sqd-v05-index-state:checked) .sqd-v05-index {
    overflow-y: visible !important;
  }
}

/* 0.5.25 — sticky desktop do índice com fallback JS.
   O position: sticky puro foi afetado por ancestrais/containers do layout; por isso,
   no desktop, o JS mede a posição natural do índice e aplica fixed apenas quando
   o topo do índice alcança o topo útil da viewport. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout,
  body.sqd-single-preview-template .sqd-v05-layout {
    position: relative !important;
    overflow: visible !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-index {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-height: none !important;
    transform: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-js-sticky .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-js-sticky .sqd-v05-index {
    position: fixed !important;
    top: var(--sqd-v05-index-sticky-top, 12px) !important;
    left: var(--sqd-v05-index-sticky-left, 0px) !important;
    width: var(--sqd-v05-index-sticky-width, 240px) !important;
    max-height: calc(100dvh - 24px) !important;
    z-index: 80 !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-js-sticky.is-index-collapsed .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-js-sticky.is-index-collapsed .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-js-sticky:has(.sqd-v05-index-state:checked) .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-js-sticky:has(.sqd-v05-index-state:checked) .sqd-v05-index {
    overflow-y: visible !important;
  }
}


/* 0.5.26 — preserva a coluna do índice quando ele vira fixed via JS.
   O índice fixed sai do fluxo normal do grid; este spacer ocupa a primeira
   coluna para impedir que a coluna central e a lateral direita se desloquem. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index-spacer,
  body.sqd-single-preview-template .sqd-v05-index-spacer {
    display: none !important;
    grid-column: 1 !important;
    min-width: 0 !important;
    width: 100% !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-index-js-sticky > .sqd-v05-index-spacer,
  body.sqd-single-preview-template .sqd-v05-layout.is-index-js-sticky > .sqd-v05-index-spacer {
    display: block !important;
  }
}

@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-index-spacer,
  body.sqd-single-preview-template .sqd-v05-index-spacer {
    display: none !important;
  }
}

/* 0.5.27 — card horizontal de envio para correção na single */
.sqd-v05-correction-panel {
  margin: 22px 0;
  padding: 22px;
  border: 1px solid rgba(226, 232, 240, .92);
  border-radius: 28px;
  background: linear-gradient(135deg, #ffffff 0%, #f8fbff 54%, #edf6ff 100%);
  box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
  position: relative;
  overflow: hidden;
}
.sqd-v05-correction-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #e85935, #ef9621 48%, #007cdf);
  border-radius: 999px;
}
.sqd-v05-correction-intro {
  padding-left: 4px;
  max-width: 780px;
}
.sqd-v05-correction-intro > span {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(0, 124, 223, .10);
  color: #00508e;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sqd-v05-correction-intro h2 {
  margin: 10px 0 6px;
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.05;
  letter-spacing: -.035em;
  color: var(--sqd-ink);
}
.sqd-v05-correction-intro p {
  margin: 0;
  color: var(--sqd-muted);
  font-size: 15px;
  line-height: 1.55;
}
.sqd-v05-correction-panel .sqd-v05-correction-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.sqd-v05-correction-panel .sqd-v05-correction-option {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 86px !important;
  width: 100%;
  padding: 15px 16px !important;
  border: 0 !important;
  border-radius: 22px !important;
  color: #fff !important;
  text-align: left;
  text-decoration: none !important;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(15, 23, 42, .13) !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.sqd-v05-correction-panel .sqd-v05-correction-option.is-specialist {
  background: linear-gradient(135deg, #e85935 0%, #ef9621 100%) !important;
}
.sqd-v05-correction-panel .sqd-v05-correction-option.is-ai {
  background: linear-gradient(135deg, #009bff 0%, #00508e 100%) !important;
}
.sqd-v05-correction-panel .sqd-v05-correction-option:hover,
.sqd-v05-correction-panel .sqd-v05-correction-option:focus-visible {
  transform: translateY(-2px);
  filter: saturate(1.04);
  box-shadow: 0 18px 36px rgba(15, 23, 42, .18) !important;
  outline: none;
}
.sqd-v05-correction-panel .sqd-v05-correction-option i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: rgba(255,255,255,.17);
  font-style: normal;
}
.sqd-v05-correction-panel .sqd-v05-correction-option svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
  stroke-width: 1.9;
}
.sqd-v05-correction-panel .sqd-v05-correction-option span,
.sqd-v05-correction-panel .sqd-v05-correction-option strong,
.sqd-v05-correction-panel .sqd-v05-correction-option small {
  display: block;
  color: #fff !important;
}
.sqd-v05-correction-panel .sqd-v05-correction-option strong {
  font-size: 15px;
  font-weight: 950;
  line-height: 1.15;
}
.sqd-v05-correction-panel .sqd-v05-correction-option small {
  margin-top: 4px;
  opacity: .9;
  font-size: 12.5px;
  line-height: 1.35;
}
.sqd-v05-ai-correction-area[hidden] {
  display: none !important;
}
.sqd-v05-ai-correction-area {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid rgba(0, 124, 223, .24);
  border-radius: 24px;
  background: rgba(237, 246, 255, .9);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.55);
}
.sqd-v05-ai-head span {
  display: block;
  color: #007cdf;
  font-size: 24px;
  font-weight: 950;
  letter-spacing: -.025em;
}
.sqd-v05-ai-head sup {
  font-size: .5em;
  vertical-align: super;
}
.sqd-v05-ai-head p {
  margin: 5px 0 14px;
  color: #3f5d74;
  font-size: 14px;
}
.sqd-v05-ai-form-shell {
  min-height: 72px;
}
.sqd-v05-ai-placeholder,
.sqd-v05-ai-loading,
.sqd-v05-ai-error {
  margin: 0;
  padding: 18px;
  border: 1px dashed rgba(0, 124, 223, .38);
  border-radius: 18px;
  background: rgba(255,255,255,.66);
  color: #507089;
  text-align: center;
  font-size: 14px;
}
.sqd-v05-ai-loading span {
  display: inline-block;
  animation: sqdV05Spin .9s linear infinite;
}
.sqd-v05-ai-error {
  border-color: rgba(220, 38, 38, .42);
  color: #b91c1c;
}
.sqd-v05-ai-correction-area .gform_wrapper {
  margin-top: 10px;
}
.sqd-v05-ai-correction-area .gform_wrapper input,
.sqd-v05-ai-correction-area .gform_wrapper textarea,
.sqd-v05-ai-correction-area .gform_wrapper select {
  border-radius: 12px !important;
}
.sqd-v05-ai-correction-area .gform_wrapper .gform_next_button,
.sqd-v05-ai-correction-area .gform_wrapper .gform_previous_button,
.sqd-v05-ai-correction-area .gform_wrapper .gform_button,
.sqd-v05-ai-correction-area .gform_wrapper input[type="submit"] {
  border-radius: 12px !important;
}

/* 0.9.8.4.5 — confirmação da Correção IA com sensação de missão cumprida */
.sqd-v05-ai-correction-area .gform_confirmation_wrapper {
  margin: 4px 0 0 !important;
}
.sqd-v05-ai-correction-area .gform_confirmation_message {
  position: relative;
  margin: 0 !important;
  padding: 28px 28px 26px 108px !important;
  min-height: 132px;
  border: 1px solid rgba(34, 197, 94, .32) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 42px 38px, rgba(34, 197, 94, .18) 0, rgba(34, 197, 94, 0) 34px),
    linear-gradient(135deg, rgba(240, 253, 244, .96) 0%, rgba(239, 246, 255, .96) 100%) !important;
  color: #12324a !important;
  box-shadow: 0 18px 42px rgba(15, 23, 42, .08), inset 0 0 0 1px rgba(255, 255, 255, .72) !important;
  overflow: hidden;
}
.sqd-v05-ai-correction-area .gform_confirmation_message::before {
  content: "✓";
  position: absolute;
  left: 28px;
  top: 28px;
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #22c55e 0%, #0ea5e9 100%);
  color: #fff;
  font-size: 32px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(34, 197, 94, .28);
}
.sqd-v05-ai-correction-area .gform_confirmation_message::after {
  content: "Missão cumprida";
  display: inline-flex;
  align-items: center;
  margin: 0 0 9px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(34, 197, 94, .12);
  color: #047857;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sqd-v05-ai-correction-area .gform_confirmation_message p {
  margin: 0 !important;
  color: #12324a !important;
  text-align: left !important;
  line-height: 1.55 !important;
}
.sqd-v05-ai-correction-area .gform_confirmation_message p:first-of-type {
  max-width: 680px;
  color: #0f2f45 !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  line-height: 1.35 !important;
  letter-spacing: -.015em;
}
.sqd-v05-ai-correction-area .gform_confirmation_message p + p {
  margin-top: 14px !important;
  color: #38566d !important;
  font-size: 15.5px !important;
}
.sqd-v05-ai-correction-area .gform_confirmation_message a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-left: 3px;
  padding: 7px 12px;
  border-radius: 999px;
  background: #fff !important;
  color: #005eb8 !important;
  text-decoration: none !important;
  font-weight: 950 !important;
  box-shadow: inset 0 0 0 1px rgba(0, 124, 223, .22), 0 6px 14px rgba(15, 23, 42, .06);
}
.sqd-v05-ai-correction-area .gform_confirmation_message a:hover {
  background: #eff6ff !important;
  color: #004f9e !important;
}
.sqd-v05-ai-correction-area .gform_confirmation_message br,
.sqd-v05-ai-correction-area .gform_confirmation_message hr {
  display: none !important;
}
.sqd-theme-dark .sqd-v05-ai-correction-area .gform_confirmation_message {
  border-color: rgba(34, 197, 94, .28) !important;
  background:
    radial-gradient(circle at 42px 38px, rgba(34, 197, 94, .14) 0, rgba(34, 197, 94, 0) 36px),
    linear-gradient(135deg, rgba(6, 32, 34, .96) 0%, rgba(10, 31, 55, .96) 100%) !important;
  color: #dbeafe !important;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .22), inset 0 0 0 1px rgba(255, 255, 255, .045) !important;
}
.sqd-theme-dark .sqd-v05-ai-correction-area .gform_confirmation_message::after {
  background: rgba(34, 197, 94, .16);
  color: #86efac;
}
.sqd-theme-dark .sqd-v05-ai-correction-area .gform_confirmation_message p,
.sqd-theme-dark .sqd-v05-ai-correction-area .gform_confirmation_message p:first-of-type {
  color: #e0f2fe !important;
}
.sqd-theme-dark .sqd-v05-ai-correction-area .gform_confirmation_message p + p {
  color: #b8c6d4 !important;
}
.sqd-theme-dark .sqd-v05-ai-correction-area .gform_confirmation_message a {
  background: rgba(15, 23, 42, .9) !important;
  color: #7dd3fc !important;
  box-shadow: inset 0 0 0 1px rgba(125, 211, 252, .28);
}
@media (max-width: 760px) {
  .sqd-v05-ai-correction-area .gform_confirmation_message {
    padding: 88px 18px 22px !important;
    min-height: 0;
    text-align: center !important;
  }
  .sqd-v05-ai-correction-area .gform_confirmation_message::before {
    left: 18px;
    top: 18px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  .sqd-v05-ai-correction-area .gform_confirmation_message p:first-of-type {
    font-size: 18px !important;
  }
  .sqd-v05-ai-correction-area .gform_confirmation_message p + p {
    font-size: 14.5px !important;
  }
  .sqd-v05-ai-correction-area .gform_confirmation_message a {
    margin: 8px 0 0;
  }
}

.sqd-v05-ai-wait-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(9, 12, 18, .62);
  backdrop-filter: blur(6px);
}
.sqd-v05-ai-wait-overlay.is-active { display: flex; }
.sqd-v05-ai-wait-card {
  width: min(92vw, 520px);
  padding: 28px 24px;
  border-radius: 20px;
  background: #0b1220;
  color: #e9f0ff;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0,0,0,.35), inset 0 0 0 1px rgba(255,255,255,.06);
}
.sqd-v05-ai-wait-spinner {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  border: 4px solid rgba(255,255,255,.22);
  border-top-color: #5aa9ff;
  animation: sqdV05Spin 1s linear infinite;
}
@keyframes sqdV05Spin { to { transform: rotate(360deg); } }
.sqd-v05-ai-wait-title {
  margin: 12px 0 4px;
  font-size: 1.25rem;
  font-weight: 800;
}
.sqd-v05-ai-wait-subtitle {
  margin-bottom: 18px;
  opacity: .85;
  font-size: .94rem;
}
.sqd-v05-ai-wait-bar {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  overflow: hidden;
  position: relative;
}
.sqd-v05-ai-wait-bar::after {
  content: "";
  position: absolute;
  inset: 0;
  width: 35%;
  border-radius: 999px;
  background: linear-gradient(90deg,#4ea3ff 0%, #86c1ff 100%);
  animation: sqdV05Move 1.4s ease-in-out infinite;
}
@keyframes sqdV05Move {
  0% { left: -40%; }
  50% { left: 65%; }
  100% { left: -40%; }
}
.sqd-v05-ai-wait-ellipsis::after {
  content: "…";
  display: inline-block;
  width: 1.2em;
  text-align: left;
  animation: sqdV05Dots 1.2s steps(3,end) infinite;
}
@keyframes sqdV05Dots {
  0% { content: " "; }
  33% { content: "."; }
  66% { content: ".."; }
  100% { content: "..."; }
}
body.sqd-v05-ai-wait-lock { overflow: hidden !important; }
.sqd-theme-dark .sqd-v05-correction-panel {
  border-color: rgba(148, 163, 184, .22);
  background: linear-gradient(135deg, rgba(15,23,42,.98) 0%, rgba(17,34,55,.98) 58%, rgba(8,47,73,.95) 100%);
  box-shadow: 0 16px 42px rgba(0,0,0,.28);
}
.sqd-theme-dark .sqd-v05-correction-intro h2 { color: #f8fafc; }
.sqd-theme-dark .sqd-v05-correction-intro p { color: #b8c6d4; }
.sqd-theme-dark .sqd-v05-correction-intro > span {
  background: rgba(56, 189, 248, .13);
  color: #7dd3fc;
}
.sqd-theme-dark .sqd-v05-ai-correction-area {
  border-color: rgba(56, 189, 248, .24);
  background: rgba(15, 23, 42, .82);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.04);
}
.sqd-theme-dark .sqd-v05-ai-head span { color: #7dd3fc; }
.sqd-theme-dark .sqd-v05-ai-head p { color: #b8c6d4; }
.sqd-theme-dark .sqd-v05-ai-placeholder,
.sqd-theme-dark .sqd-v05-ai-loading {
  background: rgba(15, 23, 42, .62);
  border-color: rgba(56, 189, 248, .26);
  color: #cbd5e1;
}
@media (max-width: 760px) {
  .sqd-v05-correction-panel {
    padding: 18px;
    border-radius: 24px;
  }
  .sqd-v05-correction-panel .sqd-v05-correction-options {
    grid-template-columns: 1fr;
  }
  .sqd-v05-correction-panel .sqd-v05-correction-option {
    min-height: 76px !important;
  }
  .sqd-v05-ai-correction-area {
    padding: 16px;
    border-radius: 20px;
  }}

/* 0.5.27.3 — harmonização visual restrita ao popup de correção de especialista na single nova */
body.sqd-single-preview-template #pum-109761.pum-overlay {
  background: rgba(15, 23, 42, .64) !important;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  padding: 18px !important;
  overflow-y: auto !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761.pum-container {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(94vw, 780px) !important;
  min-width: 0 !important;
  max-width: 94vw !important;
  max-height: min(88vh, 820px) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(226, 232, 240, .95) !important;
  border-radius: 28px !important;
  background: #ffffff !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .34), 0 0 0 1px rgba(255, 255, 255, .35) inset !important;
  overflow: hidden !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content {
  max-height: min(88vh, 820px) !important;
  padding: 0 !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  color: #1f2937 !important;
  outline: none !important;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 80, 142, .35) transparent;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content::-webkit-scrollbar { width: 10px; }
body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content::-webkit-scrollbar-track { background: transparent; }
body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content::-webkit-scrollbar-thumb {
  background: rgba(0, 80, 142, .25);
  border-radius: 999px;
  border: 3px solid rgba(248, 251, 255, 1);
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup {
  width: 100% !important;
  padding: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner,
body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup .vc_column-inner {
  padding: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup .wpb_wrapper,
body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup .wpb_text_column,
body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup .wpb_content_element {
  margin-bottom: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .vc_row,
body.sqd-single-preview-template #pum-109761 #popmake-109761 .vc_row-fluid {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva {
  position: sticky;
  top: 0;
  z-index: 3;
  padding: 24px 58px 18px !important;
  background: linear-gradient(135deg, #00508e 0%, #007cdf 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 80, 142, .18);
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva::after {
  content: "";
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  height: 1px;
  background: rgba(255,255,255,.22);
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva p,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva .vc_custom_heading {
  margin: 0 !important;
  color: #ffffff !important;
  font-size: clamp(21px, 2.5vw, 28px) !important;
  line-height: 1.12 !important;
  font-weight: 900 !important;
  letter-spacing: -.035em !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-close.popmake-close {
  top: 18px !important;
  right: 18px !important;
  width: 36px !important;
  height: 36px !important;
  min-width: 36px !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,.28) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.14) !important;
  color: #ffffff !important;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  font-size: 0 !important;
  line-height: 1 !important;
  box-shadow: none !important;
  transition: transform .18s ease, background .18s ease;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-close.popmake-close::before {
  content: "×";
  font-size: 26px;
  line-height: 32px;
  font-weight: 500;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-close.popmake-close:hover,
body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-close.popmake-close:focus-visible {
  transform: scale(1.04);
  background: rgba(255,255,255,.24) !important;
  outline: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos {
  padding: 18px 28px 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .vc_col-sm-6 {
  width: 100% !important;
  float: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(232, 89, 53, .22);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(232, 89, 53, .10), rgba(239, 150, 33, .12));
  color: #9a3412 !important;
  font-size: 14px;
  font-weight: 900;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop i {
  color: #e85935;
  font-size: 16px;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres {
  display: grid !important;
  grid-template-columns: 54px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 14px !important;
  margin: 18px 28px 0 !important;
  padding: 18px !important;
  border: 1px solid rgba(226, 232, 240, .9) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .07) !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um > .wpb_column,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres > .wpb_column {
  width: auto !important;
  float: none !important;
  padding: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um > .wpb_column:first-child .vc_custom_heading,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres > .wpb_column:first-child .vc_custom_heading {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 15px !important;
  background: linear-gradient(135deg, #e85935, #ef9621) !important;
  color: #ffffff !important;
  font-size: 20px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  box-shadow: 0 10px 22px rgba(232, 89, 53, .22);
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um p,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres p {
  margin: 0 !important;
  color: #334155 !important;
  font-size: 14.5px !important;
  line-height: 1.58 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um strong,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres strong {
  color: #172033 !important;
  font-weight: 900 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um a,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres a,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda a,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 a {
  color: #007cdf !important;
  font-weight: 800;
  text-decoration: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um a:hover,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres a:hover,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda a:hover,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 a:hover {
  text-decoration: underline !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 {
  margin: 16px 0 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform_heading {
  display: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform_fields {
  row-gap: 14px !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_visibility_hidden,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .admin-hidden-markup {
  display: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield:not(.gfield_visibility_hidden) {
  margin: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_html:not([style*="display: none"]) {
  padding: 13px 15px !important;
  border: 1px solid rgba(239, 150, 33, .28) !important;
  border-left: 5px solid #ef9621 !important;
  border-radius: 16px !important;
  background: rgba(255, 247, 237, .92) !important;
  color: #7c2d12 !important;
  font-size: 14px !important;
  line-height: 1.52 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_label {
  margin-bottom: 7px !important;
  color: #172033 !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="text"],
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="email"],
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="number"],
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="file"],
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 select,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 textarea {
  width: 100% !important;
  min-height: 42px !important;
  border: 1px solid rgba(148, 163, 184, .42) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #172033 !important;
  box-shadow: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input:focus,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 select:focus,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 textarea:focus {
  border-color: rgba(0, 124, 223, .7) !important;
  box-shadow: 0 0 0 4px rgba(0, 124, 223, .12) !important;
  outline: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_description,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform_fileupload_rules {
  color: #64748b !important;
  font-size: 12.5px !important;
  line-height: 1.42 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform_footer {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform_button,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="submit"] {
  min-height: 48px !important;
  padding: 13px 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #e85935, #ef9621) !important;
  color: #ffffff !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  box-shadow: 0 14px 28px rgba(232, 89, 53, .24) !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda {
  margin: 0 !important;
  padding: 18px 28px 24px !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda p {
  margin: 0 !important;
  padding: 13px 16px !important;
  border-radius: 18px !important;
  background: rgba(0, 124, 223, .08) !important;
  color: #475569 !important;
  font-size: 13.5px !important;
  text-align: center !important;
}

.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 {
  border-color: rgba(51, 65, 85, .92) !important;
  background: #111827 !important;
}

body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 .pum-content.popmake-content {
  background: linear-gradient(180deg, #111827 0%, #0f172a 100%) !important;
  color: #e5edf7 !important;
}

body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-um,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-tres {
  border-color: rgba(51, 65, 85, .95) !important;
  background: #172033 !important;
}

body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-um p,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-tres p,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_label {
  color: #dbe7f5 !important;
}

body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-um strong,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-tres strong {
  color: #ffffff !important;
}

@media (max-width: 640px) {
  body.sqd-single-preview-template #pum-109761.pum-overlay {
    padding: 10px !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761.pum-container {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100vh - 20px) !important;
    border-radius: 22px !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content {
    max-height: calc(100vh - 20px) !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva {
    padding: 22px 54px 16px 20px !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos,
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um,
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres {
    grid-template-columns: 1fr !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
    padding: 16px !important;
  }
}

/* 0.5.27.6 — ajustes finos no popup de correção de especialista */
body.sqd-single-preview-template #pum-109761 #popmake-109761,
body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva p,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva .vc_custom_heading,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um p,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres p,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda {
  font-family: Inter, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
}

body.sqd-single-preview-template #pum-109761.pum-overlay {
  overflow: hidden !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761.pum-container {
  width: min(94vw, 720px) !important;
  max-height: calc(100dvh - 44px) !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content {
  max-height: calc(100dvh - 44px) !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content::-webkit-scrollbar {
  width: 0 !important;
  height: 0 !important;
  display: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva {
  padding: 22px 62px 18px !important;
  text-align: center !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva::after {
  display: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva p,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva .vc_custom_heading {
  font-size: clamp(20px, 2.2vw, 25px) !important;
  line-height: 1.18 !important;
  font-weight: 850 !important;
  letter-spacing: -.025em !important;
  text-transform: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 14px 28px !important;
  border-bottom: 1px solid rgba(0, 80, 142, .08) !important;
  background: linear-gradient(180deg, rgba(237, 246, 255, .92), rgba(248, 251, 255, .96)) !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos > .wpb_column,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .vc_col-sm-6 {
  flex: 0 1 auto !important;
  width: auto !important;
  max-width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .vc_column-inner,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .wpb_wrapper,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .wpb_text_column,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .wpb_content_element {
  padding: 0 !important;
  margin: 0 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 34px !important;
  padding: 7px 13px !important;
  border-radius: 999px !important;
  font-size: 12.5px !important;
  font-weight: 850 !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  box-shadow: 0 8px 18px rgba(15, 23, 42, .05) !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop {
  border-color: rgba(232, 89, 53, .24) !important;
  background: #fff7ed !important;
  color: #9a3412 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status {
  border: 1px solid rgba(0, 124, 223, .22) !important;
  background: #eff8ff !important;
  color: #00508e !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop i,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status i {
  font-size: 14px !important;
  line-height: 1 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status i {
  color: #007cdf !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um,
body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres {
  margin-top: 14px !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um {
  margin-top: 16px !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--root {
  border-radius: 12px !important;
  overflow: hidden !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_111.gfield_html:not([style*="display: none"]) {
  padding: 12px 15px !important;
  border-left-width: 0 !important;
  text-align: left !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 {
  padding: 10px 12px !important;
  border: 1px dashed rgba(0, 124, 223, .28) !important;
  border-radius: 14px !important;
  background: rgba(239, 248, 255, .72) !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 .gfield_label {
  display: none !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 label {
  color: #334155 !important;
  font-size: 12.8px !important;
  line-height: 1.35 !important;
}

body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform_footer {
  justify-content: flex-start !important;
}

@media (max-width: 640px) {
  body.sqd-single-preview-template #pum-109761 #popmake-109761.pum-container {
    max-height: calc(100dvh - 20px) !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content {
    max-height: calc(100dvh - 20px) !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva {
    padding: 20px 54px 16px 18px !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos {
    align-items: stretch !important;
    padding: 12px 16px !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos > .wpb_column,
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos .vc_col-sm-6,
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop,
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status {
    width: 100% !important;
  }
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop,
  body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status {
    white-space: normal !important;
  }
}

/* 0.5.27.7 — acabamento visual dos botões e alerta do formulário 86 da correção IA */
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 .gform_page_footer,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 .gform_footer {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin: 18px 0 0 !important;
  padding: 16px 0 0 !important;
  border-top: 1px solid rgba(0, 80, 142, .12) !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_26,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_27,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_submit_button_86 {
  appearance: none !important;
  -webkit-appearance: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 46px !important;
  min-width: 124px !important;
  padding: 12px 20px !important;
  border-radius: 999px !important;
  font-family: Inter, "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .01em !important;
  text-transform: none !important;
  text-decoration: none !important;
  cursor: pointer !important;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease, border-color .18s ease !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_26,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_27 {
  border: 0 !important;
  background: linear-gradient(135deg, #009bff 0%, #00508e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 26px rgba(0, 80, 142, .22) !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_submit_button_86 {
  border: 0 !important;
  background: linear-gradient(135deg, #e85935 0%, #ef9621 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(232, 89, 53, .24) !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27 {
  border: 1px solid rgba(0, 80, 142, .20) !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #00508e !important;
  box-shadow: 0 10px 22px rgba(15, 23, 42, .06) !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_26:hover,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_27:hover,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_submit_button_86:hover,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86:hover,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27:hover {
  transform: translateY(-1px) !important;
  filter: saturate(1.04) !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_26:focus-visible,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_27:focus-visible,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_submit_button_86:focus-visible,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86:focus-visible,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27:focus-visible {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(0, 124, 223, .17), 0 14px 28px rgba(15, 23, 42, .16) !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_26:disabled,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_27:disabled,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_submit_button_86:disabled,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86:disabled,
body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27:disabled {
  cursor: not-allowed !important;
  opacity: .56 !important;
  filter: grayscale(.2) !important;
  transform: none !important;
  box-shadow: none !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao {
  position: relative !important;
  margin: 14px 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(249, 115, 22, .28) !important;
  border-left: 6px solid #f97316 !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, rgba(255, 247, 237, .96), rgba(255, 251, 235, .9)) !important;
  box-shadow: 0 12px 26px rgba(124, 45, 18, .07) !important;
  overflow: hidden !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao .alerta-conteudo {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 12px !important;
  padding: 15px 16px !important;
  color: #7c2d12 !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao .alerta-conteudo i {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 14px !important;
  background: rgba(249, 115, 22, .13) !important;
  color: #ea580c !important;
  font-size: 18px !important;
  line-height: 1 !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao strong {
  display: inline-block !important;
  margin-bottom: 2px !important;
  color: #c2410c !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
}

body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao span {
  display: block !important;
  margin-top: 4px !important;
  color: #7c2d12 !important;
  font-size: 13.5px !important;
  line-height: 1.45 !important;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 .gform_page_footer,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 .gform_footer {
  border-top-color: rgba(148, 163, 184, .20) !important;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27 {
  border-color: rgba(96, 165, 250, .24) !important;
  background: rgba(15, 23, 42, .72) !important;
  color: #bfdbfe !important;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao {
  border-color: rgba(249, 115, 22, .30) !important;
  border-left-color: #fb923c !important;
  background: linear-gradient(135deg, rgba(67, 32, 16, .92), rgba(30, 41, 59, .88)) !important;
  box-shadow: none !important;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao .alerta-conteudo,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao span {
  color: #fed7aa !important;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao strong {
  color: #fdba74 !important;
}

@media (max-width: 640px) {
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 .gform_page_footer,
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 .gform_footer {
    justify-content: stretch !important;
  }
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_26,
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_next_button_86_27,
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86,
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_previous_button_86_27,
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #gform_submit_button_86 {
    width: 100% !important;
  }
  body.sqd-single-preview-template .sqd-v05-ai-correction-area #gform_wrapper_86 #field_86_32.alerta-transcricao .alerta-conteudo {
    grid-template-columns: 1fr !important;
  }
}


/* ===== SQD v0.5.28 — Resoluções compartilhadas de alunos ===== */
body.sqd-single-preview-template .sqd-v05-student-resolutions,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolutions {
  display: grid;
  gap: 16px;
}

body.sqd-single-preview-template .sqd-v05-student-resolutions-intro,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(14, 116, 144, .16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 253, 245, .82), rgba(239, 246, 255, .92));
}

body.sqd-single-preview-template .sqd-v05-student-resolutions-intro strong,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro strong {
  color: #075985;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: -.01em;
}

body.sqd-single-preview-template .sqd-v05-student-resolutions-intro span,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro span {
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
  text-align: right;
}

body.sqd-single-preview-template .sqd-v05-student-resolution-list,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolution-list {
  display: grid;
  gap: 12px;
}

body.sqd-single-preview-template .sqd-v05-student-resolution-card,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .055);
}

body.sqd-single-preview-template .sqd-v05-student-resolution-card header,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body.sqd-single-preview-template .sqd-v05-student-resolution-card header small,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card header small {
  display: block;
  margin-bottom: 3px;
  color: #64748b;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body.sqd-single-preview-template .sqd-v05-student-resolution-card header strong,
.sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card header strong {
  color: #0f172a;
  font-size: 15px;
  font-weight: 950;
}

body.sqd-single-preview-template .sqd-v05-student-grade,
.sqd-app.sqd-single-v05 .sqd-v05-student-grade {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff7ed, #ffedd5);
  color: #c2410c;
  font-size: 13px;
  font-weight: 950;
  white-space: nowrap;
}

body.sqd-single-preview-template .sqd-v05-student-files,
.sqd-app.sqd-single-v05 .sqd-v05-student-files {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

body.sqd-single-preview-template .sqd-v05-student-files a,
.sqd-app.sqd-single-v05 .sqd-v05-student-files a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(0, 124, 223, .18);
  background: #eff6ff;
  color: #00508e;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .16s ease, background .16s ease, border-color .16s ease, box-shadow .16s ease;
}

body.sqd-single-preview-template .sqd-v05-student-files a::before,
.sqd-app.sqd-single-v05 .sqd-v05-student-files a::before {
  content: "↗";
  margin-right: 7px;
  font-size: 12px;
  opacity: .75;
}

body.sqd-single-preview-template .sqd-v05-student-files a:hover,
.sqd-app.sqd-single-v05 .sqd-v05-student-files a:hover {
  transform: translateY(-1px);
  border-color: rgba(0, 124, 223, .38);
  background: #dbeafe;
  box-shadow: 0 10px 20px rgba(0, 80, 142, .10);
}

body.sqd-single-preview-template .sqd-v05-student-empty-files,
.sqd-app.sqd-single-v05 .sqd-v05-student-empty-files {
  margin: 0 !important;
  padding: 11px 13px;
  border-radius: 14px;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px !important;
  line-height: 1.45 !important;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolutions-intro,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro {
  border-color: rgba(56, 189, 248, .18);
  background: linear-gradient(135deg, rgba(12, 74, 110, .42), rgba(15, 23, 42, .68));
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolutions-intro strong,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro strong {
  color: #bae6fd;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolutions-intro span,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro span {
  color: #cbd5e1;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolution-card,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card {
  border-color: rgba(148, 163, 184, .20);
  background: rgba(15, 23, 42, .76);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22);
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolution-card header small,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card header small {
  color: #94a3b8;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolution-card header strong,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card header strong {
  color: #f8fafc;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-grade,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-grade {
  background: rgba(251, 146, 60, .16);
  color: #fed7aa;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-files a,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-files a {
  border-color: rgba(125, 211, 252, .18);
  background: rgba(14, 116, 144, .18);
  color: #bae6fd;
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-files a:hover,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-files a:hover {
  border-color: rgba(125, 211, 252, .34);
  background: rgba(14, 116, 144, .30);
}

body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-empty-files,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-student-empty-files {
  background: rgba(15, 23, 42, .58);
  color: #cbd5e1;
}

@media (max-width: 700px) {
  body.sqd-single-preview-template .sqd-v05-student-resolutions-intro,
  .sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro,
  body.sqd-single-preview-template .sqd-v05-student-resolution-card header,
  .sqd-app.sqd-single-v05 .sqd-v05-student-resolution-card header {
    align-items: flex-start;
    flex-direction: column;
  }

  body.sqd-single-preview-template .sqd-v05-student-resolutions-intro span,
  .sqd-app.sqd-single-v05 .sqd-v05-student-resolutions-intro span {
    text-align: left;
  }

  body.sqd-single-preview-template .sqd-v05-student-files a,
  .sqd-app.sqd-single-v05 .sqd-v05-student-files a {
    width: 100%;
  }
}


/* SQD v0.5.28.1 - Vídeo da resolução em Vimeo */
body.sqd-single-preview-template .sqd-v05-video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 18px;
  background: #07111f;
  box-shadow: 0 18px 45px rgba(15, 23, 42, .18);
}
body.sqd-single-preview-template .sqd-v05-video-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  height: 100% !important;
  border: 0;
  border-radius: inherit;
}
body.sqd-dark body.sqd-single-preview-template .sqd-v05-video-embed,
body.sqd-theme-dark body.sqd-single-preview-template .sqd-v05-video-embed,
[data-sqd-theme="dark"] body.sqd-single-preview-template .sqd-v05-video-embed {
  background: #020617;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35);
}

/* ===== SQD Single v0.5.28.4 - Estatísticas da Questão ===== */
body.sqd-single-preview-template .sqd-v05-stats {
  display: grid;
  gap: 16px;
}

body.sqd-single-preview-template .sqd-v05-stats-intro {
  display: grid;
  gap: 4px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(37, 99, 235, .12);
  background: linear-gradient(135deg, rgba(37, 99, 235, .07), rgba(249, 115, 22, .07));
}

body.sqd-single-preview-template .sqd-v05-stats-intro strong {
  color: #172554;
  font-size: .98rem;
  letter-spacing: -.01em;
}

body.sqd-single-preview-template .sqd-v05-stats-intro span {
  color: #64748b;
  font-size: .84rem;
  line-height: 1.45;
}

body.sqd-single-preview-template .sqd-v05-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body.sqd-single-preview-template .sqd-v05-stat-card {
  position: relative;
  min-height: 150px;
  padding: 18px 18px 16px;
  border: 1px solid rgba(148, 163, 184, .22);
  border-radius: 22px;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 16px 36px rgba(15, 23, 42, .06);
  overflow: hidden;
}

body.sqd-single-preview-template .sqd-v05-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(180deg, #2563eb, #f97316);
  opacity: .85;
}

body.sqd-single-preview-template .sqd-v05-stat-card small {
  display: block;
  color: #64748b;
  font-size: .78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 12px;
}

body.sqd-single-preview-template .sqd-v05-stat-card > strong {
  display: block;
  color: #0f172a;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1;
  letter-spacing: -.06em;
  margin-bottom: 10px;
}

body.sqd-single-preview-template .sqd-v05-stat-card p {
  margin: 0;
  color: #475569;
  font-size: .9rem;
  line-height: 1.5;
}

body.sqd-single-preview-template .sqd-v05-stat-card.is-loading > strong {
  color: #94a3b8;
  font-size: 1.05rem;
  letter-spacing: 0;
}

body.sqd-single-preview-template .sqd-v05-stat-card.is-loading::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .1), rgba(37, 99, 235, .38), rgba(249, 115, 22, .1));
  background-size: 220% 100%;
  animation: sqdStatLoading 1.2s ease-in-out infinite;
}

@keyframes sqdStatLoading {
  0% { background-position: 0 0; }
  100% { background-position: 220% 0; }
}

body.sqd-single-preview-template .sqd-v05-stat-card.is-available::before {
  background: linear-gradient(180deg, #16a34a, #2563eb);
}

body.sqd-single-preview-template .sqd-v05-stat-card.is-empty::before,
body.sqd-single-preview-template .sqd-v05-stat-card.is-login-required::before {
  background: linear-gradient(180deg, #94a3b8, #2563eb);
}

body.sqd-single-preview-template .sqd-v05-stat-card.is-error::before {
  background: linear-gradient(180deg, #ef4444, #f97316);
}

body.sqd-single-preview-template .sqd-v05-stat-card.is-empty > strong,
body.sqd-single-preview-template .sqd-v05-stat-card.is-login-required > strong,
body.sqd-single-preview-template .sqd-v05-stat-card.is-error > strong {
  color: #64748b;
}

body.sqd-single-preview-template .sqd-v05-stat-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff !important;
  font-size: .78rem;
  font-weight: 900;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  box-shadow: 0 12px 26px rgba(249, 115, 22, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}

body.sqd-single-preview-template .sqd-v05-stat-action:hover,
body.sqd-single-preview-template .sqd-v05-stat-action:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.02);
  box-shadow: 0 16px 34px rgba(249, 115, 22, .28);
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stats-intro,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stats-intro {
  border-color: rgba(96, 165, 250, .18);
  background: linear-gradient(135deg, rgba(37, 99, 235, .16), rgba(249, 115, 22, .11));
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stats-intro strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stats-intro strong {
  color: #e0f2fe;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stats-intro span,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stats-intro span {
  color: #94a3b8;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-card,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-card {
  border-color: rgba(148, 163, 184, .18);
  background: rgba(15, 23, 42, .74);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .26);
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-card > strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-card > strong {
  color: #f8fafc;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-card small,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-card small {
  color: #93c5fd;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-card p,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-card p {
  color: #cbd5e1;
}

@media (max-width: 720px) {
  body.sqd-single-preview-template .sqd-v05-stats-grid {
    grid-template-columns: 1fr;
  }

  body.sqd-single-preview-template .sqd-v05-stat-card {
    min-height: 132px;
    border-radius: 18px;
  }

  body.sqd-single-preview-template .sqd-v05-stat-action {
    width: 100%;
  }
}

body.sqd-single-preview-template .sqd-badge-orange,
.sqd-app.sqd-single-v05 .sqd-badge-orange {
  background: #fff1e7;
  color: #c2410c;
}

body.sqd-single-preview-template.sqd-dark .sqd-badge-orange,
body.sqd-dark.sqd-single-preview-template .sqd-badge-orange,
.sqd-theme-dark .sqd-badge-orange {
  background: rgba(249, 115, 22, .16);
  color: #fdba74;
}

/* ===== SQD Single v0.5.28.5 - Estatísticas via shortcodes legados ===== */
body.sqd-single-preview-template .sqd-v05-stat-card-legacy {
  min-height: 145px;
}

body.sqd-single-preview-template .sqd-v05-stat-value {
  display: block;
  min-height: 52px;
  margin-bottom: 10px;
  color: #0f172a;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.06em;
}

body.sqd-single-preview-template .sqd-v05-stat-value .vc-media-placeholder,
body.sqd-single-preview-template .sqd-v05-stat-value .vc-loading {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: #94a3b8;
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: 0;
}

body.sqd-single-preview-template .sqd-v05-stat-value .vc-loading::after {
  content: "";
  width: 34px;
  height: 4px;
  margin-left: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(37, 99, 235, .12), rgba(37, 99, 235, .42), rgba(249, 115, 22, .12));
  background-size: 220% 100%;
  animation: sqdStatLoading 1.2s ease-in-out infinite;
}

body.sqd-single-preview-template .sqd-v05-stat-value .nota-media {
  display: inline-flex;
  align-items: baseline;
  color: #0f172a;
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -.06em;
}

body.sqd-single-preview-template .sqd-v05-stat-value #sem-historico,
body.sqd-single-preview-template .sqd-v05-stat-value #nao-enviou,
body.sqd-single-preview-template .sqd-v05-stat-value .erro-media {
  display: block;
  color: #475569;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0;
}

body.sqd-single-preview-template .sqd-v05-stat-value #sem-historico a,
body.sqd-single-preview-template .sqd-v05-stat-value #nao-enviou a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff !important;
  font-size: .76rem;
  font-weight: 900;
  text-decoration: none !important;
  text-transform: uppercase;
  letter-spacing: .07em;
  box-shadow: 0 12px 26px rgba(249, 115, 22, .22);
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-value,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-value,
body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-value .nota-media,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-value .nota-media {
  color: #f8fafc;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-value #sem-historico,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-value #sem-historico,
body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-value #nao-enviou,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-value #nao-enviou,
body.sqd-single-preview-template.sqd-dark .sqd-v05-stat-value .erro-media,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stat-value .erro-media {
  color: #cbd5e1;
}

@media (max-width: 720px) {
  body.sqd-single-preview-template .sqd-v05-stat-value #sem-historico a,
  body.sqd-single-preview-template .sqd-v05-stat-value #nao-enviou a {
    width: 100%;
  }
}


/* SQD v0.5.28.7 — Estatísticas sem lazy load */
body.sqd-single-preview-template .sqd-v05-stats-static .sqd-v05-stat-card strong {
  min-height: 34px;
  display: flex;
  align-items: center;
}

body.sqd-single-preview-template .sqd-v05-stats-debug {
  margin-top: 14px;
  border: 1px dashed rgba(100, 116, 139, .45);
  border-radius: 14px;
  background: rgba(248, 250, 252, .9);
  color: #334155;
  font-size: 12px;
}

body.sqd-single-preview-template .sqd-v05-stats-debug summary {
  cursor: pointer;
  padding: 10px 12px;
  font-weight: 800;
  color: #0f3e66;
}

body.sqd-single-preview-template .sqd-v05-stats-debug pre {
  margin: 0;
  padding: 0 12px 12px;
  overflow: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 11px;
  line-height: 1.55;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stats-debug,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stats-debug {
  background: rgba(15, 23, 42, .72);
  border-color: rgba(148, 163, 184, .35);
  color: #dbeafe;
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stats-debug summary,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stats-debug summary {
  color: #bfdbfe;
}

/* SQD v0.5.28.11 — Estatísticas on demand */
body.sqd-single-preview-template .sqd-v05-stats-on-demand .sqd-v05-stat-card.is-idle::before {
  background: linear-gradient(180deg, #64748b, #2563eb);
}

body.sqd-single-preview-template .sqd-v05-stats-on-demand .sqd-v05-stat-card.is-idle > strong {
  color: #64748b;
}

body.sqd-single-preview-template .sqd-v05-stat-load {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 40px;
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #2563eb, #0f3e66);
  color: #ffffff;
  font-family: inherit;
  font-size: .78rem;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: .065em;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(37, 99, 235, .22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
}

body.sqd-single-preview-template .sqd-v05-stat-load:hover,
body.sqd-single-preview-template .sqd-v05-stat-load:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 18px 34px rgba(37, 99, 235, .28);
}

body.sqd-single-preview-template .sqd-v05-stat-load:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .22);
  outline-offset: 3px;
}


body.sqd-single-preview-template .sqd-v05-stat-load.is-loading {
  gap: 8px;
}

body.sqd-single-preview-template .sqd-v05-stat-spinner {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, .45);
  border-top-color: #ffffff;
  animation: sqdStatSpin .75s linear infinite;
}

@keyframes sqdStatSpin {
  to { transform: rotate(360deg); }
}

body.sqd-single-preview-template .sqd-v05-stat-load:disabled {
  cursor: wait;
  opacity: .74;
  transform: none;
  filter: none;
}

body.sqd-single-preview-template .sqd-v05-stat-card[data-metric="student"] .sqd-v05-stat-load {
  background: linear-gradient(135deg, #f97316, #ea580c);
  box-shadow: 0 14px 28px rgba(249, 115, 22, .2);
}

body.sqd-single-preview-template .sqd-v05-stat-card[data-metric="student"] .sqd-v05-stat-load:hover,
body.sqd-single-preview-template .sqd-v05-stat-card[data-metric="student"] .sqd-v05-stat-load:focus-visible {
  box-shadow: 0 18px 34px rgba(249, 115, 22, .28);
}

body.sqd-single-preview-template.sqd-dark .sqd-v05-stats-on-demand .sqd-v05-stat-card.is-idle > strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-stats-on-demand .sqd-v05-stat-card.is-idle > strong {
  color: #cbd5e1;
}

@media (max-width: 720px) {
  body.sqd-single-preview-template .sqd-v05-stat-load {
    width: 100%;
  }
}


/* 0.5.28.15 — ajustes finos: comentários e sticky JS da lateral direita. */
.sqd-v05-comments-box .wpd-comment-label {
  background-color: #f6f8fc !important;
}

@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout > .sqd-v05-index,
  body.sqd-single-preview-template .sqd-v05-layout > .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-layout > .sqd-v05-index-spacer,
  body.sqd-single-preview-template .sqd-v05-layout > .sqd-v05-index-spacer {
    grid-column: 1 !important;
    grid-row: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout > .sqd-v05-main,
  body.sqd-single-preview-template .sqd-v05-layout > .sqd-v05-main {
    grid-column: 2 !important;
    grid-row: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout > .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-v05-layout > .sqd-v05-aside,
  .sqd-app.sqd-single-v05 .sqd-v05-layout > .sqd-v05-aside-spacer,
  body.sqd-single-preview-template .sqd-v05-layout > .sqd-v05-aside-spacer {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-v05-aside {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: 100% !important;
    max-height: none !important;
    overflow: visible !important;
    transform: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside {
    position: fixed !important;
    top: var(--sqd-v05-aside-sticky-top, 12px) !important;
    left: var(--sqd-v05-aside-sticky-left, 0px) !important;
    width: var(--sqd-v05-aside-sticky-width, 308px) !important;
    max-height: calc(100dvh - 24px) !important;
    z-index: 78 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-aside-spacer,
  body.sqd-single-preview-template .sqd-v05-aside-spacer {
    display: none !important;
    min-width: 0 !important;
    width: 100% !important;
    pointer-events: none !important;
    visibility: hidden !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky > .sqd-v05-aside-spacer,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky > .sqd-v05-aside-spacer {
    display: block !important;
  }
}

@media (max-width: 1000px) {
  .sqd-app.sqd-single-v05 .sqd-v05-aside-spacer,
  body.sqd-single-preview-template .sqd-v05-aside-spacer {
    display: none !important;
  }
}


/* v0.5.28.16 — Single: modal de Matéria e assunto mais amplo.
   A v0.5.28.15 reduziu o modal globalmente para 900px, o que deixa a grade
   de 3 colunas comprimida/cortada quando o seletor é aberto dentro da single. */
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal {
  padding: 24px !important;
  place-items: center !important;
}
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
  width: min(1280px, calc(100vw - 48px)) !important;
  max-height: min(86dvh, 860px) !important;
}
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
  grid-template-columns: minmax(250px, .95fr) minmax(420px, 1.45fr) minmax(300px, 1fr) !important;
  min-height: min(520px, calc(86dvh - 92px)) !important;
  max-height: calc(min(86dvh, 860px) - 64px) !important;
  overflow: hidden !important;
}
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-roots,
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-browser,
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-panel,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-roots,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-browser,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-panel {
  padding: 16px !important;
}
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-root-list,
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-term-list,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-root-list,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-term-list {
  max-height: calc(min(86dvh, 860px) - 222px) !important;
}
.sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-list,
body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-list {
  max-height: calc(min(86dvh, 860px) - 216px) !important;
}

@media (max-width: 1100px) {
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
    width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 48px) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
    grid-template-columns: minmax(220px, .9fr) minmax(330px, 1.35fr) minmax(260px, .95fr) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 126px) !important;
    overflow: auto !important;
  }
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-root-list,
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-term-list,
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-list,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-root-list,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-term-list,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-list {
    max-height: none !important;
  }
}

@media (max-width: 760px) {
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal {
    padding: 12px !important;
    align-items: start !important;
    padding-top: 72px !important;
  }
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 92px) !important;
  }
  .sqd-app.sqd-single-v05 .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid,
  body.sqd-single-preview-template .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
    grid-template-columns: 1fr !important;
    max-height: calc(100dvh - 154px) !important;
    overflow: auto !important;
  }
}


/* v0.5.28.17 — Single: lateral direita mais compacta no desktop sticky. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-v05-aside {
    gap: 10px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group,
  body.sqd-single-preview-template .sqd-v05-side-group {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card,
  body.sqd-single-preview-template .sqd-v05-side-details-card {
    padding-top: 14px !important;
    padding-bottom: 14px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card > strong,
  body.sqd-single-preview-template .sqd-v05-side-details-card > strong {
    margin-bottom: 9px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card .sqd-single-details-list,
  body.sqd-single-preview-template .sqd-v05-side-details-card .sqd-single-details-list {
    gap: 8px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card .sqd-single-details-list div,
  body.sqd-single-preview-template .sqd-v05-side-details-card .sqd-single-details-list div {
    gap: 3px !important;
    padding-bottom: 8px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card .sqd-single-details-list div:last-child,
  body.sqd-single-preview-template .sqd-v05-side-details-card .sqd-single-details-list div:last-child {
    padding-bottom: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card .sqd-single-details-list dt,
  body.sqd-single-preview-template .sqd-v05-side-details-card .sqd-single-details-list dt {
    font-size: 10px !important;
    line-height: 1.15 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-details-card .sqd-single-details-list dd,
  body.sqd-single-preview-template .sqd-v05-side-details-card .sqd-single-details-list dd {
    font-size: 13px !important;
    line-height: 1.28 !important;
  }
}

/* v0.5.28.18 — Integração visual do CBX Bookmark no Novo SQD. */
.sqd-v05-bookmark-grid {
  gap: 10px;
}

.sqd-v05-action-grid .sqd-v05-bookmark-action {
  display: grid;
  gap: 10px;
  width: 100%;
  min-height: 82px;
  padding: 14px;
  border: 1px solid var(--sqd-line);
  border-radius: 22px;
  background: #fff;
  color: var(--sqd-ink);
  text-align: left;
  box-shadow: var(--sqd-shadow-card);
  transition: .18s ease;
}

.sqd-v05-action-grid .sqd-v05-bookmark-action:hover,
.sqd-v05-action-grid .sqd-v05-bookmark-action:focus-within {
  border-color: rgba(11,106,243,.24);
  background: var(--sqd-blue-50);
  transform: translateY(-1px);
}

.sqd-v05-bookmark-copy strong,
.sqd-v05-bookmark-copy span {
  display: block;
}

.sqd-v05-bookmark-copy strong {
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
}

.sqd-v05-bookmark-copy span {
  margin-top: 4px;
  color: var(--sqd-muted);
  font-size: 12px;
  line-height: 1.25;
}

.sqd-v05-bookmark-control {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
}

.sqd-v05-bookmark-control .sqd-v05-cbx-bookmark,
.sqd-v05-bookmark-control .cbxwpbookmark,
.sqd-v05-bookmark-control .cbxwpbkmarkwrap,
.sqd-v05-bookmark-control .cbxwpbkmarktrig-wrap {
  margin: 0 !important;
  max-width: 100%;
}

.sqd-v05-bookmark-control .cbxwpbkmarktrig,
.sqd-v05-bookmark-control .cbxwpbkmarktrig-marked,
.sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked,
.sqd-v05-bookmark-login-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 36px !important;
  max-width: 100% !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(11,106,243,.22) !important;
  border-radius: 999px !important;
  background: #0b6af3 !important;
  color: #fff !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.1 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(11,106,243,.20) !important;
  white-space: normal !important;
}

.sqd-v05-bookmark-control .cbxwpbkmarktrig:hover,
.sqd-v05-bookmark-control .cbxwpbkmarktrig-marked:hover,
.sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked:hover,
.sqd-v05-bookmark-login-link:hover {
  filter: brightness(.96);
  transform: translateY(-1px);
}

.sqd-theme-dark .sqd-v05-action-grid .sqd-v05-bookmark-action,
body.sqd-theme-dark .sqd-v05-action-grid .sqd-v05-bookmark-action {
  border-color: rgba(148,163,184,.20);
  background: rgba(15,23,42,.96);
  color: #e5edf7;
}

.sqd-theme-dark .sqd-v05-action-grid .sqd-v05-bookmark-action:hover,
.sqd-theme-dark .sqd-v05-action-grid .sqd-v05-bookmark-action:focus-within,
body.sqd-theme-dark .sqd-v05-action-grid .sqd-v05-bookmark-action:hover,
body.sqd-theme-dark .sqd-v05-action-grid .sqd-v05-bookmark-action:focus-within {
  background: rgba(30,41,59,.96);
  border-color: rgba(96,165,250,.36);
}

.sqd-theme-dark .sqd-v05-bookmark-copy span,
body.sqd-theme-dark .sqd-v05-bookmark-copy span {
  color: #9fb0c6;
}

@media (max-width: 760px) {
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-action-grid .sqd-v05-bookmark-action,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-action-grid .sqd-v05-bookmark-action {
    min-height: 36px !important;
    border-radius: 999px !important;
    padding: 7px 10px !important;
    text-align: center !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-bookmark-copy strong,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-bookmark-copy strong {
    font-size: 11px !important;
    line-height: 1.1 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-bookmark-copy span,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-bookmark-copy span {
    display: none !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-bookmark-control,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-bookmark-control {
    display: none !important;
  }
}


/* v0.5.28.19 — Ajustes finais do CBX Bookmark na single do Novo SQD. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside {
    max-height: none !important;
    overflow: visible !important;
    overscroll-behavior: auto !important;
  }
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-card,
body.sqd-single-preview-template .sqd-v05-bookmark-card {
  overflow: visible !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-grid,
body.sqd-single-preview-template .sqd-v05-bookmark-grid {
  gap: 10px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-action-grid .sqd-v05-bookmark-action,
body.sqd-single-preview-template .sqd-v05-action-grid .sqd-v05-bookmark-action {
  min-height: auto !important;
  padding: 14px !important;
  border: 1px solid rgba(14, 70, 132, .12) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
  box-shadow: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-action-grid .sqd-v05-bookmark-action:hover,
.sqd-app.sqd-single-v05 .sqd-v05-action-grid .sqd-v05-bookmark-action:focus-within,
body.sqd-single-preview-template .sqd-v05-action-grid .sqd-v05-bookmark-action:hover,
body.sqd-single-preview-template .sqd-v05-action-grid .sqd-v05-bookmark-action:focus-within {
  border-color: rgba(11, 106, 243, .22) !important;
  background: #f4f8ff !important;
  transform: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-copy span,
body.sqd-single-preview-template .sqd-v05-bookmark-copy span {
  margin: 0 0 10px !important;
  color: #667085 !important;
  font-size: 12px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control,
body.sqd-single-preview-template .sqd-v05-bookmark-control {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-marked,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-login-link,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-marked,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked,
body.sqd-single-preview-template .sqd-v05-bookmark-login-link {
  width: 100% !important;
  min-height: 38px !important;
  padding: 9px 14px !important;
  border: 1px solid rgba(7, 91, 220, .22) !important;
  border-radius: 14px !important;
  background: #eaf3ff !important;
  color: #075bdc !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 950 !important;
  letter-spacing: .01em !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig:hover,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-marked:hover,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked:hover,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-login-link:hover,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig:hover,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-marked:hover,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked:hover,
body.sqd-single-preview-template .sqd-v05-bookmark-login-link:hover {
  border-color: rgba(7, 91, 220, .34) !important;
  background: #dbeafe !important;
  color: #07459c !important;
  filter: none !important;
  transform: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cadernos-link,
body.sqd-single-preview-template .sqd-v05-cadernos-link {
  min-height: 62px !important;
}

/* Modal/lista do CBX: evita corte na lateral sticky e harmoniza a UI do plugin. */
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap {
  position: fixed !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(430px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: min(640px, calc(100dvh - 56px)) !important;
  margin: 0 !important;
  border: 1px solid rgba(15, 23, 42, .10) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  color: #10182f !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .26) !important;
  overflow: hidden !important;
  z-index: 2147483000 !important;
  font-family: inherit !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap .addto-head,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap .addto-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig_label,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig_label {
  color: #10182f !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig_close,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig_close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #334155 !important;
  cursor: pointer !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig_close svg,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig_close svg {
  width: 16px !important;
  height: 16px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form {
  max-height: calc(100dvh - 228px) !important;
  padding: 14px 18px !important;
  overflow: auto !important;
  background: #ffffff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-searchbar-wrapper,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-searchbar-wrapper {
  position: relative !important;
  margin: 0 0 12px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-searchbar,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-field,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-searchbar,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-field {
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: #10182f !important;
  font-size: 13px !important;
  outline: none !important;
  box-shadow: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-searchbar:focus,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-field:focus,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-searchbar:focus,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-field:focus {
  border-color: rgba(7, 91, 220, .42) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(11, 106, 243, .10) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbookmark-list-generic,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbookmark-list-generic {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 38px !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
  transition: .16s ease !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item::before,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item::before {
  content: "" !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border: 1.5px solid rgba(100, 116, 139, .55) !important;
  border-radius: 5px !important;
  background: #ffffff !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item:hover,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item:hover {
  border-color: rgba(7, 91, 220, .22) !important;
  background: #f4f8ff !important;
  color: #0f172a !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item[data-incat="1"],
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item[data-incat="1"] {
  border-color: rgba(11, 106, 243, .32) !important;
  background: #eaf3ff !important;
  color: #07459c !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item[data-incat="1"]::before,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item[data-incat="1"]::before {
  content: "✓" !important;
  border-color: #075bdc !important;
  background: #075bdc !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-field-wrap,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-field-wrap {
  margin: 0 0 10px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-field-wrap-actions,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-field-wrap-actions {
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  margin-top: 10px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxbookmark-btn,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxbookmark-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  padding: 8px 12px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 12px !important;
  font-weight: 850 !important;
  box-shadow: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxbookmark-btn-primary,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxbookmark-btn-primary {
  border-color: #075bdc !important;
  background: #075bdc !important;
  color: #ffffff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxbookmark-btn-danger,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxbookmark-btn-danger {
  border-color: rgba(220, 38, 38, .20) !important;
  background: #fef2f2 !important;
  color: #b91c1c !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
  padding: 12px 14px !important;
  border-top: 1px solid rgba(15, 23, 42, .08) !important;
  background: #f8fbff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar span,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  min-height: 34px !important;
  padding: 8px 10px !important;
  border: 1px solid rgba(7, 91, 220, .18) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #075bdc !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar span:hover,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar span:hover {
  background: #eaf3ff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbx-icon,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbx-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbx-icon svg,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbx-icon svg {
  width: 14px !important;
  height: 14px !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-action-grid .sqd-v05-bookmark-action,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-action-grid .sqd-v05-bookmark-action,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-action-grid .sqd-v05-bookmark-action {
  border-color: rgba(148, 163, 184, .20) !important;
  background: rgba(15, 23, 42, .96) !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-copy span,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-copy span,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-copy span {
  color: #9fb0c6 !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap {
  border-color: rgba(148, 163, 184, .20) !important;
  background: #0f172a !important;
  color: #e5edf7 !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42) !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap .addto-head,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap .addto-head,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap .addto-head,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar {
  border-color: rgba(148, 163, 184, .18) !important;
  background: #111c2f !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig_label,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig_label,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig_label {
  color: #e5edf7 !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form {
  background: #0f172a !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-searchbar,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-field,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-searchbar,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-field,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-searchbar,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-field {
  border-color: rgba(148, 163, 184, .18) !important;
  background: #111c2f !important;
  color: #e5edf7 !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item {
  border-color: rgba(148, 163, 184, .18) !important;
  background: #111c2f !important;
  color: #dbe7f5 !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item:hover,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-bookmark-control .cbxlbjs-item:hover,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxlbjs-item:hover {
  background: #17243a !important;
}

@media (max-width: 760px) {
  .sqd-app.sqd-single-v05 .sqd-v05-side-group .sqd-v05-bookmark-copy,
  body.sqd-single-preview-template .sqd-v05-side-group .sqd-v05-bookmark-copy {
    display: none !important;
  }
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap,
  body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 20px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar,
  body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar {
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
}


/* v0.5.28.20 — Refinamento do botão e do modal CBX Bookmark na single. */
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control,
body.sqd-single-preview-template .sqd-v05-bookmark-control {
  display: flex !important;
  justify-content: center !important;
  align-items: stretch !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .sqd-v05-cbx-bookmark,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbookmark,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarkwrap,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-wrap,
body.sqd-single-preview-template .sqd-v05-bookmark-control .sqd-v05-cbx-bookmark,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbookmark,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarkwrap,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-wrap {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-marked,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .sqd-v05-bookmark-login-link,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-marked,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarktrig-unmarked,
body.sqd-single-preview-template .sqd-v05-bookmark-control .sqd-v05-bookmark-login-link {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  box-sizing: border-box !important;
  text-align: center !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap {
  width: min(480px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  box-sizing: border-box !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap *,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap *::before,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmarklistwrap *::after,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap *,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap *::before,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmarklistwrap *::after {
  box-sizing: border-box !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  justify-content: stretch !important;
  gap: 10px !important;
  overflow: visible !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar .cbxwpbkmark-hide,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar .cbxwpbkmark-hide {
  display: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar span,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar span {
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  padding: 9px 8px !important;
  white-space: normal !important;
  line-height: 1.15 !important;
  text-align: center !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_book_list,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_list,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_add_form,
body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark_cat_edit_form {
  max-height: calc(100dvh - 246px) !important;
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-bookmark-control .cbxwpbkmark-toolbar,
  body.sqd-single-preview-template .sqd-v05-bookmark-control .cbxwpbkmark-toolbar {
    grid-template-columns: 1fr !important;
  }
}


/* Tooltip de cores da Resolução do Professor — Novo SQD */
body.sqd-single-preview-template .sqd-v05-resolution-color-info,
.sqd-app.sqd-single-v05 .sqd-v05-resolution-color-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  padding: 12px 14px;
  border: 1px solid #dbe7f5;
  border-radius: 16px;
  background: #f8fbff;
  color: #475569;
  font-size: 13px;
  line-height: 1.45;
}
body.sqd-single-preview-template .sqd-v05-resolution-color-info-icon,
.sqd-app.sqd-single-v05 .sqd-v05-resolution-color-info-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: #e0f2fe;
  color: #0369a1;
  font-size: 12px;
  font-weight: 950;
  font-style: normal;
  line-height: 1;
}
body.sqd-single-preview-template .sqd-v05-resolution-color-info em,
.sqd-app.sqd-single-v05 .sqd-v05-resolution-color-info em {
  color: inherit;
  font-style: italic;
}
body.sqd-single-preview-template .sqd-v05-resolution-color-info a,
.sqd-app.sqd-single-v05 .sqd-v05-resolution-color-info a {
  color: #075985;
  font-weight: 850;
  text-decoration: none;
  border-bottom: 1px solid rgba(7, 89, 133, .25);
}
body.sqd-single-preview-template .sqd-v05-resolution-color-info a:hover,
.sqd-app.sqd-single-v05 .sqd-v05-resolution-color-info a:hover {
  border-bottom-color: currentColor;
}
body.sqd-single-preview-template .sqd-v05-color-tooltip-target,
.sqd-app.sqd-single-v05 .sqd-v05-color-tooltip-target {
  cursor: help;
}
.sqd-v05-resolution-tooltip {
  position: fixed;
  z-index: 2147483000;
  visibility: hidden;
  opacity: 0;
  max-width: min(320px, calc(100vw - 24px));
  padding: 7px 10px;
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  box-shadow: 0 14px 34px rgba(15, 23, 42, .2);
  pointer-events: none;
  transition: opacity .12s ease, visibility .12s ease;
}
.sqd-v05-resolution-tooltip.is-visible {
  visibility: visible;
  opacity: 1;
}
.sqd-theme-dark .sqd-v05-resolution-color-info,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-color-info,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-color-info {
  background: rgba(15, 23, 42, .72);
  border-color: #2a3e5f;
  color: #cbd5e1;
}
.sqd-theme-dark .sqd-v05-resolution-color-info-icon,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-color-info-icon,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-color-info-icon {
  background: rgba(56, 189, 248, .16);
  color: #7dd3fc;
}
.sqd-theme-dark .sqd-v05-resolution-color-info a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-color-info a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-color-info a {
  color: #93c5fd;
  border-bottom-color: rgba(147, 197, 253, .35);
}


/* v0.5.28.25 — Mobile: botão “Salvar em caderno” abre diretamente o modal CBX. */
.sqd-app.sqd-single-v05 [data-sqd-v05-mobile-bookmark-open],
body.sqd-single-preview-template [data-sqd-v05-mobile-bookmark-open] {
  cursor: pointer;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap {
  position: fixed !important;
  inset: auto !important;
  top: 50% !important;
  left: 50% !important;
  right: auto !important;
  bottom: auto !important;
  transform: translate(-50%, -50%) !important;
  width: min(480px, calc(100vw - 32px)) !important;
  max-width: calc(100vw - 32px) !important;
  max-height: min(640px, calc(100dvh - 56px)) !important;
  margin: 0 !important;
  border: 1px solid rgba(15, 23, 42, .10) !important;
  border-radius: 24px !important;
  background: #ffffff !important;
  color: #10182f !important;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .26) !important;
  overflow: hidden !important;
  z-index: 2147483000 !important;
  font-family: inherit !important;
  box-sizing: border-box !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap *,
.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap *::before,
.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap *::after,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap *,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap *::before,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap *::after {
  box-sizing: border-box !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .addto-head,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .addto-head {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding: 16px 18px !important;
  border-bottom: 1px solid rgba(15, 23, 42, .08) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmarktrig_label,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmarktrig_label {
  color: #10182f !important;
  font-size: 13px !important;
  font-weight: 950 !important;
  line-height: 1.25 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmarktrig_close,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmarktrig_close {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #334155 !important;
  cursor: pointer !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_book_list,
.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_list,
.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_add_form,
.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_form,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_book_list,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_list,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_add_form,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_form {
  max-height: calc(100dvh - 246px) !important;
  padding: 14px 18px !important;
  overflow: auto !important;
  background: #ffffff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-searchbar-wrapper,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-searchbar-wrapper {
  position: relative !important;
  margin: 0 0 12px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-searchbar,
.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-field,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-searchbar,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-field {
  width: 100% !important;
  min-height: 42px !important;
  padding: 10px 12px !important;
  border: 1px solid rgba(15, 23, 42, .12) !important;
  border-radius: 14px !important;
  background: #f8fafc !important;
  color: #10182f !important;
  font-size: 13px !important;
  outline: none !important;
  box-shadow: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbookmark-list-generic,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbookmark-list-generic {
  display: grid !important;
  gap: 7px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  min-height: 38px !important;
  padding: 9px 10px !important;
  border: 1px solid rgba(15, 23, 42, .08) !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #334155 !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  cursor: pointer !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item::before,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item::before {
  content: "" !important;
  display: inline-flex !important;
  width: 16px !important;
  height: 16px !important;
  min-width: 16px !important;
  border: 1.5px solid rgba(100, 116, 139, .55) !important;
  border-radius: 5px !important;
  background: #ffffff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item:hover,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item:hover {
  border-color: rgba(7, 91, 220, .22) !important;
  background: #f4f8ff !important;
  color: #0f172a !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item[data-incat="1"],
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item[data-incat="1"] {
  border-color: rgba(11, 106, 243, .32) !important;
  background: #eaf3ff !important;
  color: #07459c !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item[data-incat="1"]::before,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item[data-incat="1"]::before {
  content: "✓" !important;
  align-items: center !important;
  justify-content: center !important;
  border-color: #075bdc !important;
  background: #075bdc !important;
  color: #ffffff !important;
  font-size: 11px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 12px 14px !important;
  border-top: 1px solid rgba(15, 23, 42, .08) !important;
  background: #f8fbff !important;
  overflow: visible !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar .cbxwpbkmark-hide,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar .cbxwpbkmark-hide {
  display: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar span,
body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: 100% !important;
  min-width: 0 !important;
  min-height: 34px !important;
  padding: 9px 8px !important;
  border: 1px solid rgba(7, 91, 220, .18) !important;
  border-radius: 12px !important;
  background: #ffffff !important;
  color: #075bdc !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  text-align: center !important;
  white-space: normal !important;
  cursor: pointer !important;
}

body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap {
  border-color: rgba(148, 163, 184, .20) !important;
  background: #0f172a !important;
  color: #e5edf7 !important;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .42) !important;
}

body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .addto-head,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .addto-head,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar {
  border-color: rgba(148, 163, 184, .18) !important;
  background: #111c2f !important;
}

body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_book_list,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_list,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_add_form,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_form,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_book_list,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_list,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_add_form,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark_cat_edit_form {
  background: #0f172a !important;
}

body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item,
body.sqd-theme-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxlbjs-item {
  border-color: rgba(148, 163, 184, .18) !important;
  background: #111c2f !important;
  color: #dbe7f5 !important;
}

@media (max-width: 560px) {
  .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap,
  body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 24px) !important;
    border-radius: 20px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar,
  body.sqd-single-preview-template .sqd-v05-cbx-bookmark-floating.cbxwpbkmarklistwrap .cbxwpbkmark-toolbar {
    grid-template-columns: 1fr !important;
  }
}

/* v0.5.28.26 — Ajustes wpDiscuz e revisão do modo escuro da single do Novo SQD. */
.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-left,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-left {
  display: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-right .wpd-comment-text p,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-right .wpd-comment-text p {
  padding: 10px 40px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-label,
body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-label {
  background-color: #f6f8fc !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark {
  --sqd-ink: #f3f8ff;
  --sqd-muted: #a8b8d2;
  --sqd-soft: #0d1729;
  --sqd-line: rgba(148, 163, 184, .22);
  --sqd-line-soft: rgba(148, 163, 184, .14);
  --sqd-card: #111c2f;
  background:
    radial-gradient(circle at 78% 12%, rgba(14, 165, 233, .16), transparent 31%),
    radial-gradient(circle at 10% 0%, rgba(109, 61, 245, .12), transparent 28%),
    linear-gradient(180deg, #07111f 0%, #0b1220 46%, #090f1a 100%) !important;
  color: #e5edf7 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-workspace-shell {
  background: rgba(10, 18, 32, .92) !important;
  border-color: rgba(51, 65, 85, .78) !important;
  box-shadow: 0 0 0 1px rgba(255,255,255,.035) inset, 0 22px 70px rgba(0,0,0,.26) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-topline,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-header {
  background: rgba(10, 18, 32, .90) !important;
  border-color: rgba(148, 163, 184, .16) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-back-link,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-topline-nav,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-topline-nav a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-main-menu-link,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-student-name,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-breadcrumb strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-question-head h1,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resources-head h2,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related-head h2,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-discussion-head h2,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-side-card > strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource summary strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related h3,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-head strong {
  color: #f3f8ff !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-subject,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-breadcrumb,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-breadcrumb span,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource summary small,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resources-head p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-discussion-head p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid span,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-details-list dt,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-details-list dd,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-copy span {
  color: #a8b8d2 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-question-card,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resources,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-discussion,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-side-card,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-rail {
  background: rgba(17, 28, 47, .94) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .24) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-question-head,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource[open] summary,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-discussion summary,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-head,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-details-list div {
  border-color: rgba(148, 163, 184, .14) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource[open] summary {
  background: linear-gradient(180deg, rgba(17, 28, 47, .98), rgba(15, 23, 42, .94)) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-search,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-search input,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-theme-toggle,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-work-action,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-account-link,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-pill,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-textbase,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related article,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid button,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-action,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stats-intro,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-color-info {
  background: rgba(13, 23, 41, .96) !important;
  border-color: rgba(148, 163, 184, .20) !important;
  color: #e5edf7 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-search input::placeholder {
  color: #8190aa !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-quick-submit,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-filter-open,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related article a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-load {
  border-color: rgba(56, 189, 248, .22) !important;
  background: linear-gradient(135deg, #0b6af3, #075bdc) !important;
  color: #ffffff !important;
  box-shadow: 0 12px 28px rgba(7, 91, 220, .22) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-filter-open {
  background: rgba(56, 189, 248, .13) !important;
  color: #bae6fd !important;
  box-shadow: none !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-pill-strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index-number,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-dot,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel a span {
  background: rgba(56, 189, 248, .16) !important;
  color: #7dd3fc !important;
  border-color: rgba(56, 189, 248, .22) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-section-label,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-breadcrumb a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-related small,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-color-info a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stats-intro span,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card small {
  color: #7dd3fc !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-textbase,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-textbase .sqd-single-richtext,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-statement .sqd-single-richtext,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body li,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body h1,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body h2,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body h3,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body h4 {
  color: #dbe7f5;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-body a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext a {
  color: #93c5fd !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-badge,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-badge-muted {
  background: rgba(148, 163, 184, .14) !important;
  color: #cbd5e1 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-badge-green {
  background: rgba(34, 197, 94, .14) !important;
  color: #86efac !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-badge-blue {
  background: rgba(59, 130, 246, .15) !important;
  color: #93c5fd !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource.is-unavailable,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card.is-empty,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card.is-login-required {
  background: rgba(15, 23, 42, .72) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-correction-panel {
  border-color: rgba(148, 163, 184, .22) !important;
  background: linear-gradient(135deg, rgba(17,28,47,.98) 0%, rgba(15,23,42,.96) 54%, rgba(8,47,73,.90) 100%) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .30) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-correction-intro h2,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card > strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stats-intro strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-copy strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid strong {
  color: #f3f8ff !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-correction-intro p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stats-intro p {
  color: #a8b8d2 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-ai-correction-area,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-ai-form-shell {
  border-color: rgba(56, 189, 248, .22) !important;
  background: rgba(13, 23, 41, .82) !important;
  color: #dbe7f5 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-details-list div {
  background: transparent !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-main-form-wrapper,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-wrap,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpdiscuz-textarea-wrap,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .ql-container.ql-snow,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .ql-toolbar.ql-snow {
  background: rgba(13, 23, 41, .96) !important;
  border-color: rgba(148, 163, 184, .18) !important;
  color: #dbe7f5 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-label {
  background-color: rgba(148, 163, 184, .12) !important;
  color: #cbd5e1 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-author,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-thread-info,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-text,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-text p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .ql-editor {
  color: #dbe7f5 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-subheader,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-comment-date,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpd-filter,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box .wpdiscuz-sort-button {
  color: #a8b8d2 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel a:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid a:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid button:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resource-dock a:hover {
  background: rgba(56, 189, 248, .12) !important;
  border-color: rgba(56, 189, 248, .24) !important;
  color: #e5edf7 !important;
}

@media (max-width: 640px) {
  .sqd-app.sqd-single-v05 .sqd-v05-comments-box .wpd-comment-right .wpd-comment-text p,
  body.sqd-single-preview-template .sqd-v05-comments-box .wpd-comment-right .wpd-comment-text p {
    padding: 10px 16px !important;
  }
}


/* v0.5.28.27 — Página principal: restaura amplitude do modal de Matéria e assunto.
   Escopo restrito ao app principal para não alterar o ajuste validado na single. */
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal {
  padding: 24px !important;
  place-items: center !important;
}
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
  width: min(1220px, calc(100vw - 48px)) !important;
  max-height: min(86dvh, 860px) !important;
}
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
  grid-template-columns: minmax(250px, .95fr) minmax(400px, 1.45fr) minmax(290px, 1fr) !important;
  min-height: min(500px, calc(86dvh - 92px)) !important;
  max-height: calc(min(86dvh, 860px) - 64px) !important;
  overflow: hidden !important;
}
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-roots,
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid .sqd-term-browser,
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-panel {
  padding: 16px !important;
}
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-root-list,
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-term-list {
  max-height: calc(min(86dvh, 860px) - 222px) !important;
}
.sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-list {
  max-height: calc(min(86dvh, 860px) - 216px) !important;
}

@media (max-width: 1100px) {
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
    width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 48px) !important;
  }
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
    grid-template-columns: minmax(220px, .9fr) minmax(330px, 1.35fr) minmax(260px, .95fr) !important;
    min-height: 0 !important;
    max-height: calc(100dvh - 126px) !important;
    overflow: auto !important;
  }
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-root-list,
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-term-list,
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-term-selected-list {
    max-height: none !important;
  }
}

@media (max-width: 760px) {
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal {
    padding: 12px !important;
    align-items: start !important;
    padding-top: 72px !important;
  }
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-modal-dialog {
    width: calc(100vw - 20px) !important;
    max-height: calc(100dvh - 92px) !important;
  }
  .sqd-app.sqd-app-workspace:not(.sqd-single-v05) .sqd-taxonomy-dock.sqd-modal .sqd-tax-grid {
    grid-template-columns: 1fr !important;
    max-height: calc(100dvh - 154px) !important;
    overflow: auto !important;
  }
}

/* v0.5.28.28 / v0.7.0.15 — Resolução do professor no modo escuro.
   Tratamento conservador para HTML herdado do Word: neutraliza apenas parágrafos
   textuais típicos (.MsoNormal), sem atingir table/td/th/div/boxes com fundo intencional. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body {
  color: #dbe7f5 !important;
  background: rgba(13, 23, 41, .86) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body > p.MsoNormal,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body > p.MsoNormal span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body > p.MsoNormal,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body > p.MsoNormal span,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body > p.MsoNormal,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body > p.MsoNormal span {
  background: transparent !important;
  background-color: transparent !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body li,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body b,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body li,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body b,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body li,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body b,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body strong {
  color: #dbe7f5 !important;
}

/* Neutros vindos do Word ficam claros no dark; as cores semânticas dos tooltips permanecem intactas. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #767171"],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#767171"],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #44546a"],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#44546a"],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #767171"],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#767171"],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #44546a"],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#44546a"],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #767171"],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#767171"],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #44546a"],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#44546a"] {
  color: #cbd5e1 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p[align="center"],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p[style*="text-align: center"],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p[align="center"],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p[style*="text-align: center"],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p[align="center"],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p[style*="text-align: center"] {
  margin: 14px 0 12px !important;
  padding: 9px 12px !important;
  border: 1px solid rgba(125, 211, 252, .18) !important;
  border-radius: 12px !important;
  background: rgba(56, 189, 248, .075) !important;
  color: #e0f2fe !important;
  text-align: center !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p[align="center"] b,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p[align="center"] u,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p[style*="text-align: center"] b,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body p[style*="text-align: center"] u,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p[align="center"] b,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p[align="center"] u,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p[style*="text-align: center"] b,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body p[style*="text-align: center"] u,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p[align="center"] b,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p[align="center"] u,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p[style*="text-align: center"] b,
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body p[style*="text-align: center"] u {
  color: #e0f2fe !important;
}


/* v0.5.28.29 — Resolução do professor no modo escuro: substitui as cores semânticas
   herdadas do Word por equivalentes mais claros, preservando o significado dos tooltips. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ee0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ee0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ff0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ff0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(238, 0, 0)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(255, 0, 0)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ee0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ee0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ff0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ff0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(238, 0, 0)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(255, 0, 0)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #ee0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#ee0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #ff0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#ff0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(238, 0, 0)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(255, 0, 0)" i] {
  color: #ff8a8a !important;
  text-decoration-color: rgba(255, 138, 138, .58) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #0070c0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#0070c0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 112, 192)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #0070c0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#0070c0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 112, 192)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #0070c0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#0070c0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(0, 112, 192)" i] {
  color: #67d4ff !important;
  text-decoration-color: rgba(103, 212, 255, .56) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #00b050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#00b050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 176, 80)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #00b050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#00b050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 176, 80)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #00b050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#00b050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(0, 176, 80)" i] {
  color: #7df0a4 !important;
  text-decoration-color: rgba(125, 240, 164, .52) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #7030a0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#7030a0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #772bb0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#772bb0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(112, 48, 160)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(119, 43, 176)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #7030a0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#7030a0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #772bb0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#772bb0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(112, 48, 160)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(119, 43, 176)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #7030a0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#7030a0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #772bb0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#772bb0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(112, 48, 160)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(119, 43, 176)" i] {
  color: #d6a9ff !important;
  text-decoration-color: rgba(214, 169, 255, .56) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #92d050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#92d050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #8ec157" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#8ec157" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(146, 208, 80)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(142, 193, 87)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #92d050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#92d050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #8ec157" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#8ec157" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(146, 208, 80)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(142, 193, 87)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #92d050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#92d050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #8ec157" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#8ec157" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(146, 208, 80)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(142, 193, 87)" i] {
  color: #cff76e !important;
  text-decoration-color: rgba(207, 247, 110, .52) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #808080" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#808080" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #aeaaaa" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#aeaaaa" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #767171" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#767171" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #44546a" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#44546a" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(128, 128, 128)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(174, 170, 170)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #808080" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#808080" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #aeaaaa" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#aeaaaa" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #767171" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#767171" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #44546a" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#44546a" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(128, 128, 128)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(174, 170, 170)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #808080" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#808080" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #aeaaaa" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#aeaaaa" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #767171" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#767171" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #44546a" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#44546a" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(128, 128, 128)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(174, 170, 170)" i] {
  color: #d3dce8 !important;
  text-decoration-color: rgba(211, 220, 232, .42) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #000000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#000000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: black" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:black" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 0, 0)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #000000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#000000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: black" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:black" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 0, 0)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #000000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#000000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: black" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:black" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(0, 0, 0)" i] {
  color: #f8fafc !important;
  text-decoration-color: rgba(248, 250, 252, .38) !important;
}


/* v0.5.28.30 — Ajustes finos do modo escuro na single: wpDiscuz, índice, cadernos e resoluções de alunos. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header,
body.sqd-dark.sqd-single-preview-template .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header {
  background: rgba(15, 23, 42, .74) !important;
  border-color: rgba(148, 163, 184, .16) !important;
  color: #e5edf7 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header *,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header *,
body.sqd-dark.sqd-single-preview-template .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header * {
  color: #dbe7f5 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom .wpd-comment-wrap,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-comments-box #wpdcom .wpd-comment-wrap,
body.sqd-dark.sqd-single-preview-template .sqd-v05-comments-box #wpdcom .wpd-comment-wrap {
  border-color: rgba(148, 163, 184, .16) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a:visited,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index .sqd-v05-index-label,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel a:visited,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel a span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index a:visited,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index .sqd-v05-index-label,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-panel a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-panel a:visited,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-mdock-panel a span,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index a:visited,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index .sqd-v05-index-label,
body.sqd-dark.sqd-single-preview-template .sqd-v05-mdock-panel a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-mdock-panel a:visited,
body.sqd-dark.sqd-single-preview-template .sqd-v05-mdock-panel a span {
  color: #d8e6f7 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a:hover .sqd-v05-index-label,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a:focus-visible,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index a:focus-visible .sqd-v05-index-label,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index a:hover,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index a:hover .sqd-v05-index-label,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index a:focus-visible,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index a:focus-visible .sqd-v05-index-label,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index a:hover,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index a:hover .sqd-v05-index-label,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index a:focus-visible,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index a:focus-visible .sqd-v05-index-label {
  color: #f8fbff !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-index-number,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-index-number,
body.sqd-dark.sqd-single-preview-template .sqd-v05-index-number {
  background: rgba(14, 165, 233, .18) !important;
  color: #bdeaff !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid a:visited,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid button,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-cadernos-link,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-cadernos-link:visited,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-copy strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-action,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-action:visited,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-cbx-bookmark .cbxwpbkmarktrig,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-cbx-bookmark a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-action-grid a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-action-grid a:visited,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-action-grid button,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-action-grid strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-cadernos-link,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-cadernos-link:visited,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-bookmark-copy strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-bookmark-action,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-bookmark-action:visited,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-cbx-bookmark .cbxwpbkmarktrig,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-cbx-bookmark a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-action-grid a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-action-grid a:visited,
body.sqd-dark.sqd-single-preview-template .sqd-v05-action-grid button,
body.sqd-dark.sqd-single-preview-template .sqd-v05-action-grid strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-cadernos-link,
body.sqd-dark.sqd-single-preview-template .sqd-v05-cadernos-link:visited,
body.sqd-dark.sqd-single-preview-template .sqd-v05-bookmark-copy strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-bookmark-action,
body.sqd-dark.sqd-single-preview-template .sqd-v05-bookmark-action:visited,
body.sqd-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark .cbxwpbkmarktrig,
body.sqd-dark.sqd-single-preview-template .sqd-v05-cbx-bookmark a {
  color: #e5edf7 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-action-grid span,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-bookmark-copy span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-action-grid span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-bookmark-copy span,
body.sqd-dark.sqd-single-preview-template .sqd-v05-action-grid span,
body.sqd-dark.sqd-single-preview-template .sqd-v05-bookmark-copy span {
  color: #a8b8d2 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-resolutions-intro,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolutions-intro,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-resolutions-intro {
  border-color: rgba(56, 189, 248, .24) !important;
  background: linear-gradient(135deg, rgba(12, 74, 110, .46), rgba(15, 23, 42, .78)) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-resolutions-intro strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolutions-intro strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-resolutions-intro strong {
  color: #e0f2fe !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-resolutions-intro span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolutions-intro span,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-resolutions-intro span {
  color: #cbd5e1 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-resolution-card,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolution-card,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-resolution-card {
  border-color: rgba(148, 163, 184, .20) !important;
  background: rgba(15, 23, 42, .78) !important;
  box-shadow: 0 18px 40px rgba(0, 0, 0, .22) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-resolution-card header small,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolution-card header small,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-resolution-card header small {
  color: #a8b8d2 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-resolution-card header strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-resolution-card header strong,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-resolution-card header strong {
  color: #f8fafc !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-grade,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-grade,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-grade {
  background: rgba(251, 146, 60, .18) !important;
  color: #fed7aa !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-files a,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-files a:visited,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-files a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-files a:visited,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-files a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-files a:visited {
  border-color: rgba(125, 211, 252, .22) !important;
  background: rgba(14, 116, 144, .20) !important;
  color: #d0f0ff !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-student-files a:hover,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-student-files a:hover,
body.sqd-dark.sqd-single-preview-template .sqd-v05-student-files a:hover {
  border-color: rgba(125, 211, 252, .38) !important;
  background: rgba(14, 116, 144, .32) !important;
}



/* v0.5.28.32 — ajuste fino: wpDiscuz reply-to no modo escuro */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to *,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to *,
body.sqd-dark.sqd-single-preview-template .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to,
body.sqd-dark.sqd-single-preview-template .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to * {
  background: transparent !important;
  color: #a8b8d2 !important;
  border-color: rgba(148, 163, 184, .22) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to a,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to a,
body.sqd-dark.sqd-single-preview-template .sqd-v05-comments-box #wpdcom #wpd-threads .wpd-thread-list .wpd-comment-header .wpd-reply-to a {
  color: #93c5fd !important;
  text-decoration-color: rgba(147, 197, 253, .42) !important;
}

/* 0.5.28.31 — modo escuro do popup de envio de discursiva na single nova */
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761.pum-overlay,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761.pum-overlay,
body.sqd-single-preview-template.sqd-dark #pum-109761.pum-overlay {
  background: rgba(2, 6, 23, .76) !important;
  backdrop-filter: blur(9px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(9px) saturate(1.08) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761.pum-container,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761.pum-container,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761.pum-container {
  border-color: rgba(51, 65, 85, .95) !important;
  background: #0f172a !important;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .54), 0 0 0 1px rgba(148, 163, 184, .08) inset !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 .pum-content.popmake-content,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 .pum-content.popmake-content,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 .pum-content.popmake-content {
  background: linear-gradient(180deg, #0f172a 0%, #111c30 100%) !important;
  color: #dbeafe !important;
  scrollbar-color: rgba(148, 163, 184, .34) transparent !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #cabecalho-envio-discursiva,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #cabecalho-envio-discursiva,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #cabecalho-envio-discursiva {
  background: linear-gradient(135deg, #075985 0%, #0369a1 100%) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, .24) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #linha-de-saldos,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #linha-de-saldos,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #linha-de-saldos {
  border-bottom-color: rgba(51, 65, 85, .9) !important;
  background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(17, 28, 48, .98)) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #saldo-correcoes-pop,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #saldo-correcoes-pop,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #saldo-correcoes-pop {
  border-color: rgba(251, 146, 60, .28) !important;
  background: rgba(124, 45, 18, .28) !important;
  color: #fed7aa !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #academia-status,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #academia-status,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #academia-status {
  border-color: rgba(56, 189, 248, .30) !important;
  background: rgba(14, 116, 144, .24) !important;
  color: #bae6fd !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-um,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-tres,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #envio-passo-um,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #envio-passo-tres {
  border-color: rgba(51, 65, 85, .95) !important;
  background: #111827 !important;
  box-shadow: 0 18px 38px rgba(0, 0, 0, .24) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um p,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres p,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_label,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gform-field-label,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_description,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda p,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-um p,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-tres p,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_label,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gform-field-label,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_description,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #precisa-de-ajuda p,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #envio-passo-um p,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #envio-passo-tres p,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_label,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gform-field-label,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_description,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #precisa-de-ajuda p {
  color: #cbd5e1 !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-um strong,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #envio-passo-tres strong,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-um strong,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #envio-passo-tres strong,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #envio-passo-um strong,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #envio-passo-tres strong {
  color: #f8fafc !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="text"],
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="email"],
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="number"],
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="file"],
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 select,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 textarea,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="text"],
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="email"],
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="number"],
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="file"],
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 select,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 textarea,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="text"],
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="email"],
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="number"],
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input[type="file"],
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 select,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 textarea {
  border-color: rgba(71, 85, 105, .95) !important;
  background: #0b1220 !important;
  color: #e2e8f0 !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 input::placeholder,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 textarea::placeholder,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input::placeholder,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 textarea::placeholder,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 input::placeholder,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 textarea::placeholder {
  color: #94a3b8 !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--root,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--drop-label,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--panel-root,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--root,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--drop-label,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--panel-root,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--root,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--drop-label,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--panel-root {
  background: #1e293b !important;
  color: #dbeafe !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--label-action,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--label-action,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .filepond--label-action {
  color: #7dd3fc !important;
  text-decoration-color: rgba(125, 211, 252, .55) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_html:not([style*="display: none"]),
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_html:not([style*="display: none"]),
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 .gfield_html:not([style*="display: none"]) {
  border-color: rgba(251, 146, 60, .34) !important;
  background: rgba(124, 45, 18, .18) !important;
  color: #fed7aa !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 {
  border-color: rgba(56, 189, 248, .38) !important;
  background: rgba(14, 116, 144, .16) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 label,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 label,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #gform_wrapper_1 #field_1_104 label {
  color: #dbeafe !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 #precisa-de-ajuda,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 #precisa-de-ajuda,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 #precisa-de-ajuda {
  background: rgba(15, 23, 42, .94) !important;
  border-top: 1px solid rgba(51, 65, 85, .9) !important;
}

/* v0.5.28.33 — ajustes finos do modo escuro: Popup Maker e wpDiscuz reply-to */
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner > .wpb_wrapper,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner > .wpb_wrapper,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 .envio-popup .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner > .wpb_wrapper,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 .envio-popup .vc_row > .wpb_column > .vc_column-inner > .wpb_wrapper {
  background: transparent !important;
  color: inherit !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup,
html.sqd-theme-dark body.sqd-single-preview-template #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 .envio-popup,
body.sqd-single-preview-template.sqd-theme-dark #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 .envio-popup,
body.sqd-single-preview-template.sqd-dark #pum-109761 #popmake-109761 .envio-popup > .vc_column-inner {
  background: #0f172a !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to,
html.sqd-theme-dark body.sqd-single-preview-template #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to *,
body.sqd-single-preview-template.sqd-theme-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to,
body.sqd-single-preview-template.sqd-theme-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to *,
body.sqd-single-preview-template.sqd-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to,
body.sqd-single-preview-template.sqd-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to *,
.sqd-app.sqd-single-v05.sqd-theme-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to,
.sqd-app.sqd-single-v05.sqd-theme-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to * {
  background: transparent !important;
  color: #a8b8d2 !important;
  border-color: rgba(148, 163, 184, .22) !important;
}

html.sqd-theme-dark body.sqd-single-preview-template #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to a,
body.sqd-single-preview-template.sqd-theme-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to a,
body.sqd-single-preview-template.sqd-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to a,
.sqd-app.sqd-single-v05.sqd-theme-dark #wpdcom.wpd-layout-3 .wpd-comment .wpd-reply-to a {
  color: #93c5fd !important;
  text-decoration-color: rgba(147, 197, 253, .42) !important;
}


/* v0.5.28.34 — Estatísticas: mensagem de cálculo durante carregamento */
body.sqd-single-preview-template .sqd-v05-stat-card.is-loading p,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card.is-loading p {
  font-weight: 800;
  letter-spacing: -0.01em;
}
body.sqd-single-preview-template .sqd-v05-stat-card.is-loading p {
  color: #0f4c81;
}
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-stat-card.is-loading p {
  color: #93c5fd;
}

/* v0.6.0.1 — Marcar como resolvida: rótulos, ícone do filtro e separação visual */
.sqd-resolved-toggle {
  appearance: none;
  border: 1px solid rgba(37, 99, 235, .22);
  background: rgba(37, 99, 235, .07);
  color: #1d4ed8;
  border-radius: 14px;
  font-weight: 850;
  letter-spacing: -0.01em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 38px;
  padding: 9px 12px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease, opacity .18s ease;
}
.sqd-resolved-toggle:hover {
  transform: translateY(-1px);
  border-color: rgba(37, 99, 235, .38);
  background: rgba(37, 99, 235, .12);
  box-shadow: 0 10px 24px rgba(37, 99, 235, .10);
}
.sqd-resolved-toggle:focus-visible {
  outline: 3px solid rgba(37, 99, 235, .24);
  outline-offset: 2px;
}
.sqd-resolved-toggle.is-resolved {
  border-color: rgba(22, 163, 74, .34);
  background: rgba(22, 163, 74, .11);
  color: #15803d;
}
.sqd-resolved-toggle.is-loading {
  opacity: .72;
  cursor: wait;
  transform: none;
}
.sqd-resolved-icon {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(37, 99, 235, .12);
  color: currentColor;
  font-size: 13px;
  line-height: 1;
  flex: 0 0 auto;
}
.sqd-resolved-toggle.is-resolved .sqd-resolved-icon {
  background: rgba(22, 163, 74, .16);
}
.sqd-resolved-toggle-card {
  width: 100%;
  min-height: 42px;
}
.sqd-question-card.is-resolved {
  border-color: rgba(22, 163, 74, .38);
  box-shadow: 0 16px 44px rgba(22, 163, 74, .07);
}
.sqd-question-card.is-resolved .sqd-question-eyebrow::after {
  content: 'Resolvi';
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(22, 163, 74, .28);
  background: rgba(22, 163, 74, .10);
  color: #15803d;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 900;
}
.sqd-resolved-toggle-single,
.sqd-v05-progress-card .sqd-resolved-toggle-single {
  width: 100%;
  min-height: 54px;
  justify-content: flex-start;
  padding: 13px 16px;
}
.sqd-v05-progress-card .sqd-resolved-toggle-single strong {
  display: block;
}
.sqd-v05-mdock-panel nav .sqd-resolved-toggle-mobile {
  width: 100%;
  min-height: 46px;
  border-radius: 14px;
  justify-content: flex-start;
  padding: 10px 12px;
  text-align: left;
}
.sqd-v05-mdock-panel nav .sqd-resolved-toggle-mobile .sqd-resolved-icon {
  width: 24px;
  height: 24px;
}
.sqd-side-filter-resolved select {
  font-weight: 760;
}

.sqd-v05-progress-card {
  border-color: rgba(22, 163, 74, .18);
}
.sqd-v05-progress-grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.sqd-v05-progress-hint {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  padding: 0 2px;
}
.sqd-v05-mdock-panel nav .sqd-v05-mdock-subtitle {
  display: block;
  margin: 6px 2px 2px;
  padding: 7px 4px 2px;
  border-top: 1px solid rgba(148, 163, 184, .20);
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.sqd-v05-mdock-panel nav .sqd-v05-mdock-subtitle:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.sqd-side-icon-resolved svg {
  stroke-width: 2.15;
}
.sqd-side-icon-resolved {
  color: #16a34a;
  background: #ecfdf3 !important;
  border: 1px solid rgba(22, 163, 74, .16);
}
.sqd-theme-dark .sqd-resolved-toggle,
.sqd-app.sqd-theme-dark .sqd-resolved-toggle,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-resolved-toggle {
  border-color: rgba(96, 165, 250, .28);
  background: rgba(30, 64, 175, .20);
  color: #bfdbfe;
}
.sqd-theme-dark .sqd-resolved-toggle:hover,
.sqd-app.sqd-theme-dark .sqd-resolved-toggle:hover,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-resolved-toggle:hover {
  border-color: rgba(147, 197, 253, .42);
  background: rgba(30, 64, 175, .30);
  box-shadow: 0 10px 28px rgba(30, 64, 175, .22);
}
.sqd-theme-dark .sqd-resolved-toggle.is-resolved,
.sqd-app.sqd-theme-dark .sqd-resolved-toggle.is-resolved,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-resolved-toggle.is-resolved {
  border-color: rgba(74, 222, 128, .38);
  background: rgba(20, 83, 45, .30);
  color: #bbf7d0;
}
.sqd-theme-dark .sqd-question-card.is-resolved,
.sqd-app.sqd-theme-dark .sqd-question-card.is-resolved {
  border-color: rgba(74, 222, 128, .32);
  box-shadow: 0 20px 54px rgba(20, 83, 45, .16);
}
.sqd-theme-dark .sqd-question-card.is-resolved .sqd-question-eyebrow::after,
.sqd-app.sqd-theme-dark .sqd-question-card.is-resolved .sqd-question-eyebrow::after {
  border-color: rgba(74, 222, 128, .32);
  background: rgba(20, 83, 45, .26);
  color: #bbf7d0;
}

.sqd-theme-dark .sqd-side-icon-resolved,
.sqd-app.sqd-theme-dark .sqd-side-icon-resolved,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-side-icon-resolved {
  background: rgba(20, 83, 45, .30) !important;
  border-color: rgba(74, 222, 128, .26) !important;
  color: #86efac !important;
}
.sqd-theme-dark .sqd-v05-progress-hint,
.sqd-app.sqd-theme-dark .sqd-v05-progress-hint,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-progress-hint {
  color: #9fb0c8;
}
.sqd-theme-dark .sqd-v05-progress-card,
.sqd-app.sqd-theme-dark .sqd-v05-progress-card,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-progress-card {
  border-color: rgba(74, 222, 128, .20);
}
.sqd-theme-dark .sqd-v05-mdock-panel nav .sqd-v05-mdock-subtitle,
.sqd-app.sqd-theme-dark .sqd-v05-mdock-panel nav .sqd-v05-mdock-subtitle,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-mdock-panel nav .sqd-v05-mdock-subtitle {
  border-top-color: rgba(148, 163, 184, .22);
  color: #a8b8d2;
}

@media (max-width: 720px) {
  .sqd-resolved-toggle-card {
    min-height: 40px;
  }
  .sqd-question-card.is-resolved .sqd-question-eyebrow::after {
    width: fit-content;
  }
}


/* v0.6.0.2 — Meu progresso: ícone e texto na mesma linha */
.sqd-v05-progress-card .sqd-resolved-toggle-single,
.sqd-app.sqd-single-v05 .sqd-v05-progress-card .sqd-resolved-toggle-single,
body.sqd-single-preview-template .sqd-v05-progress-card .sqd-resolved-toggle-single {
  display: inline-flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 8px !important;
  grid-template-columns: none !important;
  white-space: nowrap !important;
}
.sqd-v05-progress-card .sqd-resolved-toggle-single .sqd-resolved-icon,
.sqd-app.sqd-single-v05 .sqd-v05-progress-card .sqd-resolved-toggle-single .sqd-resolved-icon,
body.sqd-single-preview-template .sqd-v05-progress-card .sqd-resolved-toggle-single .sqd-resolved-icon {
  display: inline-flex !important;
  flex: 0 0 auto !important;
}
.sqd-v05-progress-card .sqd-resolved-toggle-single strong,
.sqd-app.sqd-single-v05 .sqd-v05-progress-card .sqd-resolved-toggle-single strong,
body.sqd-single-preview-template .sqd-v05-progress-card .sqd-resolved-toggle-single strong {
  display: inline-flex !important;
  align-items: center !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  line-height: 1.15 !important;
}

/* v0.6.0.4 — Filtro Cadernos exibido por capability e detecção CBX ampliada. */
.sqd-side-icon-bookmark svg {
  stroke-width: 2.1;
}
.sqd-side-icon-bookmark {
  color: #2563eb;
  background: #eff6ff !important;
  border: 1px solid rgba(37, 99, 235, .16);
}
.sqd-theme-dark .sqd-side-icon-bookmark,
.sqd-app.sqd-theme-dark .sqd-side-icon-bookmark,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-side-icon-bookmark {
  background: rgba(30, 64, 175, .28) !important;
  border-color: rgba(96, 165, 250, .26) !important;
  color: #93c5fd !important;
}

/* SQD v0.7.0.0 — base visual para recursos bloqueados */
.sqd-v05-locked-resource {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(23, 60, 82, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(23, 60, 82, 0.06), rgba(255,255,255,0.72));
  color: #173c52;
}
.sqd-v05-locked-resource strong {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: #173c52;
}
.sqd-v05-locked-resource p {
  margin: 0;
  color: #526475;
  line-height: 1.55;
}
.sqd-v05-locked-resource a {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #173c52;
  color: #fff !important;
  font-weight: 800;
  text-decoration: none !important;
}
.sqd-v05-locked-resource a:hover { filter: brightness(1.08); }
.sqd-theme-dark .sqd-v05-locked-resource {
  border-color: rgba(162, 197, 219, 0.22);
  background: linear-gradient(135deg, rgba(162, 197, 219, 0.12), rgba(12, 24, 34, 0.78));
  color: #e7f2f8;
}
.sqd-theme-dark .sqd-v05-locked-resource strong { color: #f1f8fc; }
.sqd-theme-dark .sqd-v05-locked-resource p { color: #b7c7d3; }
.sqd-theme-dark .sqd-v05-locked-resource a {
  background: #d8eef9;
  color: #102b3d !important;
}
.sqd-v05-resource.is-locked summary .sqd-badge {
  background: rgba(23, 60, 82, 0.10);
  color: #173c52;
}
.sqd-theme-dark .sqd-v05-resource.is-locked summary .sqd-badge {
  background: rgba(216, 238, 249, 0.15);
  color: #d8eef9;
}

/* SQD v0.7.0.1 — medidor de enunciados para visitantes */
.sqd-v05-anonymous-meter-lock {
  margin: 8px 0 0;
}
.sqd-v05-locked-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.sqd-v05-locked-resource .sqd-v05-locked-secondary {
  background: transparent;
  color: #173c52 !important;
  border: 1px solid rgba(23, 60, 82, 0.24);
}
.sqd-theme-dark .sqd-v05-locked-resource .sqd-v05-locked-secondary {
  background: transparent;
  color: #d8eef9 !important;
  border-color: rgba(216, 238, 249, 0.28);
}

/* v0.7.0.2 — Medidor de enunciados na Home/listagem -------------------- */
.sqd-anonymous-meter-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid rgba(15, 76, 129, .16);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(235, 246, 255, .94), rgba(255, 255, 255, .96));
  box-shadow: 0 12px 32px rgba(15, 33, 66, .055);
  padding: 16px 18px;
  margin: 0 0 18px;
}
.sqd-anonymous-meter-panel strong {
  display: block;
  color: #173452;
  font-size: 15px;
  font-weight: 900;
  margin: 0 0 4px;
}
.sqd-anonymous-meter-panel p {
  margin: 0 !important;
  color: #41506c;
  font-size: 13px;
  line-height: 1.45;
}
.sqd-anonymous-meter-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}
.sqd-anonymous-meter-actions span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid rgba(15, 76, 129, .14);
  color: #234064;
  font-size: 12px;
  font-weight: 900;
  padding: 0 13px;
}
.sqd-anonymous-meter-primary,
.sqd-anonymous-meter-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  padding: 0 14px;
  text-decoration: none !important;
}
.sqd-anonymous-meter-primary {
  background: linear-gradient(135deg, var(--sqd-blue-800), var(--sqd-blue-600));
  color: #fff !important;
  box-shadow: 0 9px 22px rgba(11, 106, 243, .18);
}
.sqd-anonymous-meter-secondary {
  background: #fff;
  border: 1px solid rgba(15, 76, 129, .18);
  color: var(--sqd-blue-700) !important;
}
.sqd-anonymous-meter-panel.is-exhausted {
  background: linear-gradient(135deg, rgba(255, 246, 232, .96), rgba(255, 255, 255, .96));
  border-color: rgba(210, 126, 22, .24);
}
.sqd-badge-meter {
  background: #eef7ff;
  color: #105a9d;
}
.sqd-badge-locked {
  background: #fff2dd;
  color: #9a5200;
}
.sqd-question-card.is-anonymous-locked {
  border-color: rgba(210, 126, 22, .24);
}
.sqd-card-primary-locked {
  background: linear-gradient(135deg, #9a5a00, #d98119) !important;
  box-shadow: 0 10px 24px rgba(217, 129, 25, .20) !important;
}
.sqd-theme-dark .sqd-anonymous-meter-panel {
  background: linear-gradient(135deg, rgba(15, 33, 58, .96), rgba(11, 24, 43, .96));
  border-color: #30486c;
  box-shadow: 0 16px 44px rgba(0, 0, 0, .22);
}
.sqd-theme-dark .sqd-anonymous-meter-panel strong {
  color: #eaf2ff;
}
.sqd-theme-dark .sqd-anonymous-meter-panel p {
  color: #b9c8df;
}
.sqd-theme-dark .sqd-anonymous-meter-actions span,
.sqd-theme-dark .sqd-anonymous-meter-secondary {
  background: #101d33;
  border-color: #30486c;
  color: #d7e4ff !important;
}
.sqd-theme-dark .sqd-anonymous-meter-panel.is-exhausted {
  background: linear-gradient(135deg, rgba(55, 35, 16, .92), rgba(16, 29, 51, .96));
  border-color: rgba(217, 129, 25, .36);
}
.sqd-theme-dark .sqd-badge-meter {
  background: #102a45;
  color: #8bc8ff;
}
.sqd-theme-dark .sqd-badge-locked {
  background: #3b2812;
  color: #ffca80;
}
@media (max-width: 720px) {
  .sqd-anonymous-meter-panel {
    align-items: stretch;
    flex-direction: column;
  }
  .sqd-anonymous-meter-actions {
    flex-wrap: wrap;
  }
  .sqd-anonymous-meter-primary,
  .sqd-anonymous-meter-secondary,
  .sqd-anonymous-meter-actions span {
    width: 100%;
  }
}


/* v0.7.0.7 — Corrige hierarquia do modal de filtros na single nova.
   O índice lateral e o card de dados usam sticky/fixed com z-index alto;
   quando os filtros completos abrem, o overlay e o painel precisam ficar acima deles. */
.sqd-app.sqd-single-v05 .sqd-v05-filter-overlay,
body.sqd-single-preview-template .sqd-v05-filter-overlay {
  z-index: 2147482500 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion,
body.sqd-single-preview-template .sqd-v05-filter-accordion {
  z-index: 2147482501 !important;
}

.sqd-app.sqd-single-v05.sqd-single-filters-open .sqd-v05-index,
.sqd-app.sqd-single-v05.sqd-single-filters-open .sqd-v05-aside,
.sqd-app.sqd-single-v05.sqd-single-filters-open .sqd-v05-side-group,
body.sqd-single-preview-template .sqd-app.sqd-single-filters-open .sqd-v05-index,
body.sqd-single-preview-template .sqd-app.sqd-single-filters-open .sqd-v05-aside,
body.sqd-single-preview-template .sqd-app.sqd-single-filters-open .sqd-v05-side-group {
  pointer-events: none !important;
}

/* SQD v0.7.0.8 — acesso deslogado, login/registro e cards bloqueados */
.sqd-auth-bar {
  gap: 8px;
  padding: 5px;
}
.sqd-auth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 15px;
  border-radius: 13px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none !important;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.sqd-auth-login {
  border: 1px solid rgba(151, 196, 246, .78);
  background: rgba(255,255,255,.82);
  color: #0b4f85 !important;
}
.sqd-auth-register {
  border: 1px solid rgba(9, 133, 219, .16);
  background: linear-gradient(135deg, #0b86db, #0998ef);
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(9, 133, 219, .20);
}
.sqd-auth-button:hover,
.sqd-auth-button:focus-visible {
  transform: translateY(-1px);
  text-decoration: none !important;
  outline: none;
}
.sqd-auth-login:hover,
.sqd-auth-login:focus-visible {
  border-color: rgba(9, 133, 219, .38);
  background: #ffffff;
  color: #073f6d !important;
}
.sqd-auth-register:hover,
.sqd-auth-register:focus-visible {
  box-shadow: 0 10px 22px rgba(9, 133, 219, .28);
}
.sqd-theme-dark .sqd-auth-login {
  border-color: rgba(96, 165, 250, .32);
  background: rgba(16, 30, 51, .84);
  color: #dfeaff !important;
}
.sqd-theme-dark .sqd-auth-login:hover,
.sqd-theme-dark .sqd-auth-login:focus-visible {
  background: rgba(30, 48, 76, .94);
  color: #ffffff !important;
}
.sqd-theme-dark .sqd-auth-register {
  background: linear-gradient(135deg, #0d66db, #2383ff);
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.sqd-v05-locked-login-note {
  display: block;
  margin-top: -2px;
  color: #526475;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
}
.sqd-v05-locked-resource .sqd-v05-locked-login-note a {
  display: inline-flex;
  min-height: 0;
  padding: 0;
  border-radius: 0;
  background: transparent;
  color: #0b67b3 !important;
  font-weight: 850;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
.sqd-v05-locked-resource .sqd-v05-locked-login-note a:hover,
.sqd-v05-locked-resource .sqd-v05-locked-login-note a:focus-visible {
  filter: none;
  color: #084f86 !important;
}
.sqd-theme-dark .sqd-v05-locked-login-note {
  color: #b7c7d3;
}
.sqd-theme-dark .sqd-v05-locked-resource .sqd-v05-locked-login-note a {
  color: #9ed4ff !important;
}
.sqd-theme-dark .sqd-v05-locked-resource .sqd-v05-locked-login-note a:hover,
.sqd-theme-dark .sqd-v05-locked-resource .sqd-v05-locked-login-note a:focus-visible {
  color: #d8eef9 !important;
}
@media (max-width: 1080px) {
  .sqd-auth-bar::before {
    content: "Acesso" !important;
  }
  .sqd-auth-bar {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px !important;
  }
  .sqd-auth-bar::before {
    grid-column: 1 / -1;
  }
  .sqd-auth-button {
    width: 100%;
    min-height: 42px;
  }
}

/* v0.7.0.10 — Cadernos/Meu progresso bloqueados com modal fora do dock e visual refinado */
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-action,
body.sqd-single-preview-template .sqd-v05-locked-org-action,
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-link,
body.sqd-single-preview-template .sqd-v05-locked-org-link {
  width: 100%;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  font: inherit;
}

.sqd-app.sqd-single-v05 .sqd-v05-locked-org-link,
body.sqd-single-preview-template .sqd-v05-locked-org-link {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 13px 14px;
  border-radius: 18px;
}

.sqd-app.sqd-single-v05 .sqd-v05-locked-org-link span,
body.sqd-single-preview-template .sqd-v05-locked-org-link span {
  color: #64748b;
  font-size: 12px;
  line-height: 1.3;
}

.sqd-app.sqd-single-v05 .sqd-v05-locked-progress-toggle,
body.sqd-single-preview-template .sqd-v05-locked-progress-toggle {
  cursor: pointer;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal,
body.sqd-single-preview-template .sqd-v05-access-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: grid;
  place-items: center;
  padding: 22px;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal[hidden],
body.sqd-single-preview-template .sqd-v05-access-modal[hidden] {
  display: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-backdrop,
body.sqd-single-preview-template .sqd-v05-access-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog,
body.sqd-single-preview-template .sqd-v05-access-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.24);
  padding: 30px;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-close,
body.sqd-single-preview-template .sqd-v05-access-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-kicker,
body.sqd-single-preview-template .sqd-v05-access-modal-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(0, 87, 184, 0.08);
  color: #0057b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 10px;
  margin-bottom: 14px;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog h3,
body.sqd-single-preview-template .sqd-v05-access-modal-dialog h3 {
  margin: 0 36px 10px 0;
  font-size: 25px;
  line-height: 1.15;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog p,
body.sqd-single-preview-template .sqd-v05-access-modal-dialog p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.55;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-actions,
body.sqd-single-preview-template .sqd-v05-access-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-actions a,
body.sqd-single-preview-template .sqd-v05-access-modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-primary,
body.sqd-single-preview-template .sqd-v05-access-modal-primary {
  background: #062b6f;
  color: #ffffff;
}

.sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template .sqd-v05-access-modal-secondary {
  background: #eef6ff;
  color: #0057b8;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-action,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-action,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-link,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-link {
  border-color: rgba(148, 163, 184, 0.22);
  background: rgba(15, 23, 42, 0.92);
  color: #e5edf7;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-link span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-link span {
  color: #94a3b8;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-dialog {
  border-color: rgba(148, 163, 184, 0.22);
  background: #0f172a;
  color: #f8fafc;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-close,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-close {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(30, 41, 59, 0.9);
  color: #f8fafc;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog p,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-dialog p {
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .sqd-app.sqd-single-v05 .sqd-v05-access-modal,
  body.sqd-single-preview-template .sqd-v05-access-modal {
    align-items: end;
    padding: 14px;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog,
  body.sqd-single-preview-template .sqd-v05-access-modal-dialog {
    padding: 26px 20px 20px;
    border-radius: 24px;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-access-modal-actions,
  body.sqd-single-preview-template .sqd-v05-access-modal-actions {
    flex-direction: column;
  }
}


/* v0.7.0.10 — ícones nos botões de autenticação do topo */
.sqd-auth-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}
.sqd-auth-button .sqd-auth-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
  flex: 0 0 auto;
}
.sqd-auth-button .sqd-auth-button-icon svg {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sqd-auth-login .sqd-auth-button-icon {
  background: rgba(6, 43, 111, .08);
}
.sqd-auth-register .sqd-auth-button-icon {
  background: rgba(255,255,255,.18);
}

/* v0.7.0.10 — cards bloqueados de organização mais harmônicos */
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-card,
body.sqd-single-preview-template .sqd-v05-locked-org-card {
  width: 100%;
  min-height: 76px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 13px 14px;
  border: 1px solid rgba(15, 23, 42, .09);
  border-radius: 18px;
  background: linear-gradient(135deg, #ffffff, #f8fbff);
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  font: inherit;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .055);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-card + .sqd-v05-locked-org-card,
body.sqd-single-preview-template .sqd-v05-locked-org-card + .sqd-v05-locked-org-card {
  margin-top: 10px;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-card:hover,
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-card:focus-visible,
body.sqd-single-preview-template .sqd-v05-locked-org-card:hover,
body.sqd-single-preview-template .sqd-v05-locked-org-card:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(0, 87, 184, .22);
  box-shadow: 0 16px 34px rgba(15, 23, 42, .08);
  outline: none;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-icon,
body.sqd-single-preview-template .sqd-v05-locked-org-icon {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #eef6ff;
  color: #0057b8;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-progress-card .sqd-v05-locked-org-icon,
body.sqd-single-preview-template .sqd-v05-locked-progress-card .sqd-v05-locked-org-icon {
  background: #ecfdf3;
  color: #087443;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy,
body.sqd-single-preview-template .sqd-v05-locked-org-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy strong,
body.sqd-single-preview-template .sqd-v05-locked-org-copy strong {
  display: block;
  color: #0f172a;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.15;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy span,
body.sqd-single-preview-template .sqd-v05-locked-org-copy span {
  display: block;
  color: #64748b;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.28;
}
.sqd-app.sqd-single-v05 .sqd-v05-locked-org-arrow,
body.sqd-single-preview-template .sqd-v05-locked-org-arrow {
  justify-self: end;
  color: #94a3b8;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
}
.sqd-app.sqd-single-v05 .sqd-v05-bookmark-card,
.sqd-app.sqd-single-v05 .sqd-v05-progress-card,
body.sqd-single-preview-template .sqd-v05-bookmark-card,
body.sqd-single-preview-template .sqd-v05-progress-card {
  border-color: rgba(15, 23, 42, .08) !important;
  background: rgba(255, 255, 255, .94) !important;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-card,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-card,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-card {
  border-color: rgba(148, 163, 184, .20);
  background: linear-gradient(135deg, rgba(15,23,42,.98), rgba(30,41,59,.92));
  color: #e5edf7;
  box-shadow: none;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-copy strong,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy strong {
  color: #f8fafc;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-copy span,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-copy span {
  color: #a8b8cd;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-icon,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-icon,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-icon {
  background: rgba(37, 99, 235, .20);
  color: #93c5fd;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-progress-card .sqd-v05-locked-org-icon,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-progress-card .sqd-v05-locked-org-icon,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-progress-card .sqd-v05-locked-org-icon {
  background: rgba(16, 185, 129, .18);
  color: #86efac;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-arrow,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-locked-org-arrow,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-locked-org-arrow {
  color: #64748b;
}


/* v0.7.0.11 — ajustes de contraste dos modais LRM no modo escuro */
html.sqd-theme-dark .lrm-main.lrm-user-modal,
body.sqd-theme-dark .lrm-main.lrm-user-modal,
.sqd-theme-dark .lrm-main.lrm-user-modal {
  background: rgba(2, 6, 23, .74) !important;
  color: #e5edf7 !important;
}
html.sqd-theme-dark .lrm-user-modal-container,
body.sqd-theme-dark .lrm-user-modal-container,
.sqd-theme-dark .lrm-user-modal-container,
html.sqd-theme-dark .lrm-user-modal-container-inner,
body.sqd-theme-dark .lrm-user-modal-container-inner,
.sqd-theme-dark .lrm-user-modal-container-inner {
  background: #0f172a !important;
  color: #e5edf7 !important;
  border-color: rgba(148, 163, 184, .20) !important;
  box-shadow: 0 28px 90px rgba(0, 0, 0, .48) !important;
}
html.sqd-theme-dark .lrm-switcher,
body.sqd-theme-dark .lrm-switcher,
.sqd-theme-dark .lrm-switcher {
  background: #111c2f !important;
  border-bottom: 1px solid rgba(148, 163, 184, .18) !important;
}
html.sqd-theme-dark .lrm-switcher a,
body.sqd-theme-dark .lrm-switcher a,
.sqd-theme-dark .lrm-switcher a {
  background: rgba(15, 23, 42, .86) !important;
  color: #a8b8cd !important;
  border-color: rgba(148, 163, 184, .16) !important;
}
html.sqd-theme-dark .lrm-switcher a.selected,
body.sqd-theme-dark .lrm-switcher a.selected,
.sqd-theme-dark .lrm-switcher a.selected {
  background: #17243a !important;
  color: #f8fafc !important;
}
html.sqd-theme-dark .lrm-form,
body.sqd-theme-dark .lrm-form,
.sqd-theme-dark .lrm-form,
html.sqd-theme-dark .lrm-fieldset-wrap,
body.sqd-theme-dark .lrm-fieldset-wrap,
.sqd-theme-dark .lrm-fieldset-wrap,
html.sqd-theme-dark .lrm-form-message,
body.sqd-theme-dark .lrm-form-message,
.sqd-theme-dark .lrm-form-message,
html.sqd-theme-dark .lrm-form-bottom-message,
body.sqd-theme-dark .lrm-form-bottom-message,
.sqd-theme-dark .lrm-form-bottom-message,
html.sqd-theme-dark .lrm-nice-checkbox__label,
body.sqd-theme-dark .lrm-nice-checkbox__label,
.sqd-theme-dark .lrm-nice-checkbox__label {
  color: #d6e1ef !important;
}
html.sqd-theme-dark .lrm-main input.full-width.has-padding,
body.sqd-theme-dark .lrm-main input.full-width.has-padding,
.sqd-theme-dark .lrm-main input.full-width.has-padding {
  background: #08111f !important;
  border-color: rgba(148, 163, 184, .28) !important;
  color: #f8fafc !important;
  box-shadow: none !important;
}
html.sqd-theme-dark .lrm-main input.full-width.has-padding::placeholder,
body.sqd-theme-dark .lrm-main input.full-width.has-padding::placeholder,
.sqd-theme-dark .lrm-main input.full-width.has-padding::placeholder {
  color: #8ea0b7 !important;
  opacity: 1 !important;
}
html.sqd-theme-dark .lrm-main .image-replace,
body.sqd-theme-dark .lrm-main .image-replace,
.sqd-theme-dark .lrm-main .image-replace,
html.sqd-theme-dark .lrm-main .hide-password,
body.sqd-theme-dark .lrm-main .hide-password,
.sqd-theme-dark .lrm-main .hide-password {
  color: #9fb2ca !important;
  border-color: rgba(148, 163, 184, .24) !important;
}
html.sqd-theme-dark .lrm-main a,
body.sqd-theme-dark .lrm-main a,
.sqd-theme-dark .lrm-main a {
  color: #93c5fd !important;
}
html.sqd-theme-dark .lrm-main button.full-width.has-padding,
body.sqd-theme-dark .lrm-main button.full-width.has-padding,
.sqd-theme-dark .lrm-main button.full-width.has-padding {
  background: #1d8bea !important;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, .10) !important;
  box-shadow: 0 16px 34px rgba(29, 139, 234, .22) !important;
}
html.sqd-theme-dark .lrm-main .lrm-close-form,
body.sqd-theme-dark .lrm-main .lrm-close-form,
.sqd-theme-dark .lrm-main .lrm-close-form {
  color: #f8fafc !important;
  opacity: .95 !important;
}
html.sqd-theme-dark .lrm-nice-checkbox__indicator,
body.sqd-theme-dark .lrm-nice-checkbox__indicator,
.sqd-theme-dark .lrm-nice-checkbox__indicator {
  background: #08111f !important;
  border-color: rgba(148, 163, 184, .34) !important;
}
html.sqd-theme-dark .lrm-grecaptcha,
body.sqd-theme-dark .lrm-grecaptcha,
.sqd-theme-dark .lrm-grecaptcha {
  filter: brightness(.92) contrast(1.06);
}

/* v0.7.0.11 — contraste do link secundário dos modais do SQD */
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template .sqd-v05-access-modal-secondary {
  border: 1px solid rgba(0, 87, 184, .22) !important;
  background: #e8f3ff !important;
  color: #063f8e !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45) !important;
}
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary:hover,
body.sqd-single-preview-template .sqd-v05-access-modal-secondary:hover {
  background: #dceeff !important;
  color: #062b6f !important;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-kicker,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-kicker {
  background: rgba(59, 130, 246, .18) !important;
  color: #bfdbfe !important;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-secondary,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary {
  border-color: rgba(147, 197, 253, .32) !important;
  background: rgba(59, 130, 246, .18) !important;
  color: #dbeafe !important;
  box-shadow: none !important;
}
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary:hover,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-secondary:hover,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary:hover,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary:hover {
  background: rgba(59, 130, 246, .26) !important;
  color: #ffffff !important;
}


/* v0.7.0.12 — correção do fundo do painel de filtros mobile no modo escuro */
@media (max-width: 980px) {
  .sqd-app.sqd-theme-dark .sqd-filter-sidebar,
  .sqd-theme-dark .sqd-filter-sidebar,
  body.sqd-theme-dark .sqd-filter-sidebar,
  html.sqd-theme-dark .sqd-filter-sidebar {
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(8, 18, 34, .96)) !important;
    border-color: rgba(59, 130, 246, .22) !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, .28), inset 0 1px 0 rgba(255, 255, 255, .04) !important;
    color: #dce8fb !important;
  }
  .sqd-app.sqd-theme-dark .sqd-filter-title,
  .sqd-theme-dark .sqd-filter-title,
  body.sqd-theme-dark .sqd-filter-title,
  html.sqd-theme-dark .sqd-filter-title {
    border-bottom-color: rgba(148, 163, 184, .14) !important;
  }
  .sqd-app.sqd-theme-dark .sqd-filter-collapse,
  .sqd-theme-dark .sqd-filter-collapse,
  body.sqd-theme-dark .sqd-filter-collapse,
  html.sqd-theme-dark .sqd-filter-collapse {
    background: rgba(15, 23, 42, .92) !important;
    border-color: rgba(96, 165, 250, .24) !important;
    color: #bfdbfe !important;
  }
  .sqd-app.sqd-theme-dark .sqd-mobile-filter-toggle,
  .sqd-theme-dark .sqd-mobile-filter-toggle,
  body.sqd-theme-dark .sqd-mobile-filter-toggle,
  html.sqd-theme-dark .sqd-mobile-filter-toggle {
    background: linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(12, 28, 50, .96)) !important;
    border-color: rgba(96, 165, 250, .30) !important;
    color: #eaf2ff !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, .26) !important;
  }
  .sqd-app.sqd-theme-dark .sqd-mobile-filter-toggle span,
  .sqd-theme-dark .sqd-mobile-filter-toggle span,
  body.sqd-theme-dark .sqd-mobile-filter-toggle span,
  html.sqd-theme-dark .sqd-mobile-filter-toggle span {
    background: rgba(37, 99, 235, .22) !important;
    color: #bfdbfe !important;
  }
}


/* v0.7.0.13 — aprimoramento do quadro "Mais filtros" no modo escuro */
.sqd-theme-dark .sqd-sidebar-advanced,
.sqd-app.sqd-theme-dark .sqd-sidebar-advanced,
body.sqd-theme-dark .sqd-sidebar-advanced,
html.sqd-theme-dark .sqd-sidebar-advanced {
  background: linear-gradient(180deg, rgba(15, 23, 42, .96), rgba(8, 18, 34, .94)) !important;
  border-color: rgba(96, 165, 250, .24) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .04), 0 12px 32px rgba(0, 0, 0, .18) !important;
  color: #dce8fb !important;
}
.sqd-theme-dark .sqd-sidebar-advanced label,
.sqd-app.sqd-theme-dark .sqd-sidebar-advanced label,
body.sqd-theme-dark .sqd-sidebar-advanced label,
html.sqd-theme-dark .sqd-sidebar-advanced label {
  color: #d5e3f6 !important;
  background: rgba(15, 23, 42, .42) !important;
  border: 1px solid rgba(148, 163, 184, .14) !important;
  border-radius: 10px !important;
  padding: 7px 9px !important;
  line-height: 1.25 !important;
}
.sqd-theme-dark .sqd-sidebar-advanced label:hover,
.sqd-app.sqd-theme-dark .sqd-sidebar-advanced label:hover,
body.sqd-theme-dark .sqd-sidebar-advanced label:hover,
html.sqd-theme-dark .sqd-sidebar-advanced label:hover {
  background: rgba(30, 41, 59, .72) !important;
  border-color: rgba(96, 165, 250, .26) !important;
}
.sqd-theme-dark .sqd-sidebar-advanced input[type="checkbox"],
.sqd-app.sqd-theme-dark .sqd-sidebar-advanced input[type="checkbox"],
body.sqd-theme-dark .sqd-sidebar-advanced input[type="checkbox"],
html.sqd-theme-dark .sqd-sidebar-advanced input[type="checkbox"] {
  accent-color: #60a5fa !important;
  background: #08111f !important;
  border-color: rgba(148, 163, 184, .42) !important;
}
@media (max-width: 980px) {
  .sqd-theme-dark .sqd-sidebar-advanced,
  .sqd-app.sqd-theme-dark .sqd-sidebar-advanced,
  body.sqd-theme-dark .sqd-sidebar-advanced,
  html.sqd-theme-dark .sqd-sidebar-advanced {
    margin-top: 8px !important;
    margin-bottom: 14px !important;
    padding: 12px !important;
    gap: 8px !important;
    border-radius: 14px !important;
  }
  .sqd-theme-dark .sqd-sidebar-advanced label,
  .sqd-app.sqd-theme-dark .sqd-sidebar-advanced label,
  body.sqd-theme-dark .sqd-sidebar-advanced label,
  html.sqd-theme-dark .sqd-sidebar-advanced label {
    min-height: 34px !important;
    font-size: 13px !important;
  }
}


/* v0.7.0.15 / v0.7.0.23 — Modo escuro: tratamento conservador de HTML herdado do Microsoft Word.
   Corrige parágrafos textuais típicos (.MsoNormal), sem forçar cor em spans com cor semântica inline.
   Isso preserva as cores das resoluções com tooltips e evita pintar tudo de #dbe7f5. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-statement .sqd-single-richtext > p.MsoNormal,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-textbase .sqd-single-richtext > p.MsoNormal,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-command .sqd-single-richtext > p.MsoNormal,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span {
  background: transparent !important;
  background-color: transparent !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal b,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal strong,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal i,
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal em,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal b,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal strong,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal i,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal em,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal b,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal strong,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal i,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal em {
  color: #dbe7f5 !important;
}

/* Tons neutros típicos do Word/Office, restritos a spans dentro de p.MsoNormal direto. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: black" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color:#000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: #000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color:#000000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: #000000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: windowtext" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: black" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color:#000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: #000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color:#000000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: #000000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal span[style*="color: windowtext" i],
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span[style*="color: black" i],
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span[style*="color:#000" i],
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span[style*="color: #000" i],
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span[style*="color:#000000" i],
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span[style*="color: #000000" i],
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal span[style*="color: windowtext" i] {
  color: #dbe7f5 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-single-richtext > p.MsoNormal:empty,
body.sqd-single-preview-template.sqd-theme-dark .sqd-single-richtext > p.MsoNormal:empty,
body.sqd-dark.sqd-single-preview-template .sqd-single-richtext > p.MsoNormal:empty {
  display: none !important;
}


/* v0.7.0.17 — lightbox de resoluções de alunos, modais específicos de correção, login mobile e overflow mobile */
.sqd-v05-student-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 100080;
  display: grid;
  place-items: center;
  padding: 20px;
}
.sqd-v05-student-lightbox-modal[hidden] {
  display: none !important;
}
.sqd-v05-student-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, .72);
  backdrop-filter: blur(7px);
}
.sqd-v05-student-lightbox-dialog {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.14);
  background: #0f172a;
  color: #f8fafc;
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
  overflow: hidden;
}
.sqd-v05-student-lightbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 58px 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.sqd-v05-student-lightbox-head strong {
  font-size: 14px;
  line-height: 1.2;
}
.sqd-v05-student-lightbox-head a {
  color: #bfdbfe;
  font-weight: 800;
  font-size: 12px;
  text-decoration: none;
}
.sqd-v05-student-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}
.sqd-v05-student-lightbox-stage {
  min-height: 0;
  overflow: auto;
  padding: 16px;
  text-align: center;
}
.sqd-v05-student-lightbox-stage img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 34px rgba(0,0,0,.28);
}
.sqd-v05-student-files a[data-sqd-v05-student-lightbox]::after {
  content: " Ver";
  opacity: .78;
  font-weight: 700;
}


/* v0.7.0.25 — modal premium de upgrade para correções, fiel ao mock aprovado */
.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal,
body.sqd-single-preview-template .sqd-v05-correction-offer-modal {
  padding: 28px !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-backdrop,
body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-backdrop {
  background: rgba(3, 10, 25, .68) !important;
  backdrop-filter: blur(12px) saturate(120%) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog,
body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog {
  width: min(760px, calc(100vw - 56px)) !important;
  max-width: 760px !important;
  padding: 36px 42px 28px !important;
  border-radius: 24px !important;
  overflow: hidden !important;
  border: 1px solid rgba(28, 86, 184, .25) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(52, 119, 255, .16), transparent 34%),
    linear-gradient(145deg, #ffffff 0%, #f7fbff 100%) !important;
  color: #0f172a !important;
  box-shadow: 0 30px 90px rgba(15, 23, 42, .24), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog {
  border-color: rgba(116, 154, 235, .30) !important;
  background:
    radial-gradient(circle at 18% 0%, rgba(52, 119, 255, .22), transparent 34%),
    radial-gradient(circle at 90% 8%, rgba(45, 212, 255, .08), transparent 28%),
    linear-gradient(145deg, #071326 0%, #0b172e 56%, #091528 100%) !important;
  color: #f8fbff !important;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .50), inset 0 1px 0 rgba(255,255,255,.07) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-close,
body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-close {
  top: 18px !important;
  right: 18px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(100, 116, 139, .20) !important;
  background: rgba(255, 255, 255, .82) !important;
  color: #0f172a !important;
  box-shadow: 0 12px 26px rgba(15,23,42,.12) !important;
  font-size: 26px !important;
  line-height: 1 !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-close,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-correction-offer-modal .sqd-v05-access-modal-close,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-close,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-close {
  border-color: rgba(148, 163, 184, .26) !important;
  background: rgba(18, 32, 57, .82) !important;
  color: #f8fbff !important;
  box-shadow: none !important;
}

.sqd-v05-correction-offer-topline {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 14px !important;
  flex-wrap: wrap !important;
  margin: 0 46px 22px 0 !important;
  padding: 0 !important;
}

.sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker,
.sqd-v05-correction-offer-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-height: 36px !important;
  margin: 0 !important;
  padding: 8px 18px !important;
  border-radius: 999px !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  letter-spacing: .04em !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
}

.sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker::before {
  content: "▣";
  font-size: 13px;
  opacity: .9;
}

.sqd-v05-correction-offer-badge::before {
  content: "★";
  font-size: 13px;
  opacity: .92;
}

.sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker {
  border: 1px solid rgba(37, 99, 235, .26) !important;
  background: rgba(37, 99, 235, .08) !important;
  color: #155bd6 !important;
}

.sqd-v05-correction-offer-badge {
  border: 1px solid rgba(204, 146, 34, .35) !important;
  background: rgba(255, 210, 88, .14) !important;
  color: #875a0c !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker,
body.sqd-theme-dark .sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker,
html.sqd-theme-dark .sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker {
  border-color: rgba(96, 165, 250, .36) !important;
  background: rgba(37, 99, 235, .13) !important;
  color: #9fc4ff !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-badge,
body.sqd-theme-dark .sqd-v05-correction-offer-badge,
html.sqd-theme-dark .sqd-v05-correction-offer-badge {
  border-color: rgba(230, 174, 84, .40) !important;
  background: rgba(246, 189, 73, .12) !important;
  color: #f7d487 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog h3,
body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog h3 {
  max-width: 660px !important;
  margin: 0 auto 14px !important;
  text-align: center !important;
  font-size: clamp(28px, 4vw, 38px) !important;
  line-height: 1.12 !important;
  letter-spacing: -.035em !important;
  font-weight: 950 !important;
  color: inherit !important;
}

.sqd-v05-correction-offer-highlight {
  color: #2e82ff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p,
body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p {
  max-width: 620px !important;
  margin: 0 auto 24px !important;
  text-align: center !important;
  font-size: 17px !important;
  line-height: 1.6 !important;
  color: #51617a !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p {
  color: #d3deef !important;
}

.sqd-v05-correction-offer-coupon {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 124px minmax(0, 1fr) 190px !important;
  align-items: center !important;
  gap: 20px !important;
  width: 100% !important;
  margin: 0 auto 18px !important;
  padding: 26px 26px 24px !important;
  border-radius: 15px !important;
  border: 1px solid rgba(37, 99, 235, .34) !important;
  background:
    radial-gradient(circle at 18% 50%, rgba(46, 130, 255, .10), transparent 28%),
    linear-gradient(135deg, rgba(240,247,255,.98), rgba(249,252,255,.98)) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.72), 0 16px 42px rgba(37, 99, 235, .10) !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-coupon,
body.sqd-theme-dark .sqd-v05-correction-offer-coupon,
html.sqd-theme-dark .sqd-v05-correction-offer-coupon {
  border-color: rgba(55, 139, 255, .72) !important;
  background:
    radial-gradient(circle at 15% 50%, rgba(46, 130, 255, .18), transparent 30%),
    linear-gradient(135deg, rgba(5, 16, 36, .88), rgba(8, 26, 58, .92)) !important;
  box-shadow: inset 0 0 0 1px rgba(118, 168, 255, .08), 0 0 0 1px rgba(37, 99, 235, .06), 0 20px 48px rgba(0, 0, 0, .28) !important;
}

.sqd-v05-correction-offer-coupon::before {
  content: "" !important;
  position: absolute !important;
  left: 150px !important;
  top: 22px !important;
  bottom: 22px !important;
  width: 1px !important;
  background: linear-gradient(to bottom, transparent, rgba(37, 99, 235, .32), transparent) !important;
}

.sqd-v05-correction-offer-coupon-icon {
  position: relative !important;
  width: 96px !important;
  height: 78px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: center !important;
  border: 0 !important;
  background: transparent !important;
  color: #2e82ff !important;
}

.sqd-v05-correction-offer-coupon-icon svg {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  fill: rgba(46, 130, 255, .06) !important;
  stroke: #2e82ff !important;
  stroke-width: 3.2 !important;
  filter: drop-shadow(0 0 10px rgba(46,130,255,.45)) !important;
}

.sqd-v05-correction-offer-coupon-icon span {
  position: relative !important;
  z-index: 1 !important;
  font-size: 42px !important;
  line-height: 1 !important;
  font-weight: 800 !important;
  color: #2e82ff !important;
  text-shadow: 0 0 16px rgba(46,130,255,.42) !important;
}

.sqd-v05-correction-offer-coupon-main {
  min-width: 0 !important;
}

.sqd-v05-correction-offer-coupon-label {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 0 8px !important;
  color: #56657b !important;
  font-size: 16px !important;
  font-weight: 750 !important;
}

.sqd-v05-correction-offer-coupon-label span {
  color: #2e82ff !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-coupon-label,
body.sqd-theme-dark .sqd-v05-correction-offer-coupon-label,
html.sqd-theme-dark .sqd-v05-correction-offer-coupon-label {
  color: #cdd9eb !important;
}

.sqd-v05-correction-offer-coupon-code {
  display: inline-block !important;
  color: #0f172a !important;
  font-size: clamp(48px, 6vw, 66px) !important;
  line-height: .9 !important;
  font-weight: 950 !important;
  letter-spacing: -.045em !important;
  padding-bottom: 14px !important;
  border-bottom: 2px dashed rgba(37, 99, 235, .45) !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-coupon-code,
body.sqd-theme-dark .sqd-v05-correction-offer-coupon-code,
html.sqd-theme-dark .sqd-v05-correction-offer-coupon-code {
  color: #ffffff !important;
}

.sqd-v05-correction-offer-coupon-help {
  margin-top: 16px !important;
  color: #51617a !important;
  font-size: 17px !important;
  line-height: 1.35 !important;
}

.sqd-v05-correction-offer-coupon-help strong {
  color: #2e82ff !important;
  font-weight: 950 !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-coupon-help,
body.sqd-theme-dark .sqd-v05-correction-offer-coupon-help,
html.sqd-theme-dark .sqd-v05-correction-offer-coupon-help {
  color: #d3deef !important;
}

.sqd-v05-correction-offer-copy {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  min-height: 58px !important;
  padding: 0 18px !important;
  border-radius: 10px !important;
  border: 1px solid rgba(37, 99, 235, .38) !important;
  background: rgba(255, 255, 255, .76) !important;
  color: #163f97 !important;
  font-size: 18px !important;
  font-weight: 850 !important;
  cursor: pointer !important;
  box-shadow: 0 12px 26px rgba(37, 99, 235, .10) !important;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease !important;
}

.sqd-v05-correction-offer-copy:hover,
.sqd-v05-correction-offer-copy:focus-visible {
  transform: translateY(-1px) !important;
  outline: none !important;
  box-shadow: 0 16px 32px rgba(37, 99, 235, .14) !important;
}

.sqd-v05-correction-offer-copy.is-copied {
  background: #246bff !important;
  color: #fff !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-copy,
body.sqd-theme-dark .sqd-v05-correction-offer-copy,
html.sqd-theme-dark .sqd-v05-correction-offer-copy {
  background: rgba(9, 28, 62, .90) !important;
  color: #ffffff !important;
  border-color: rgba(96, 165, 250, .46) !important;
  box-shadow: none !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-copy.is-copied,
body.sqd-theme-dark .sqd-v05-correction-offer-copy.is-copied,
html.sqd-theme-dark .sqd-v05-correction-offer-copy.is-copied {
  background: #246bff !important;
  color: #fff !important;
}

.sqd-v05-copy-icon {
  font-size: 20px !important;
  line-height: 1 !important;
}

.sqd-v05-correction-offer-chip {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  margin: 0 auto 22px !important;
  padding: 11px 24px !important;
  border-radius: 999px !important;
  border: 1px solid rgba(204, 146, 34, .18) !important;
  background: rgba(246, 189, 73, .15) !important;
  color: #8a5a11 !important;
  font-size: 15px !important;
  font-weight: 850 !important;
}

.sqd-v05-correction-offer-chip::before {
  content: "◷";
  font-size: 15px;
}

.sqd-theme-dark .sqd-v05-correction-offer-chip,
body.sqd-theme-dark .sqd-v05-correction-offer-chip,
html.sqd-theme-dark .sqd-v05-correction-offer-chip {
  color: #f7d487 !important;
  border-color: rgba(246, 189, 73, .20) !important;
  background: rgba(246, 189, 73, .11) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions,
body.sqd-single-preview-template .sqd-v05-correction-offer-actions {
  justify-content: center !important;
  gap: 16px !important;
  margin-top: 0 !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions a,
body.sqd-single-preview-template .sqd-v05-correction-offer-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 306px !important;
  min-height: 60px !important;
  border-radius: 10px !important;
  padding: 0 24px !important;
  font-size: 18px !important;
  font-weight: 900 !important;
  letter-spacing: -.01em !important;
  text-decoration: none !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions .sqd-v05-access-modal-primary,
body.sqd-single-preview-template .sqd-v05-correction-offer-actions .sqd-v05-access-modal-primary {
  border: 1px solid rgba(37, 99, 235, .28) !important;
  background: linear-gradient(180deg, #2f84ff, #1161f4) !important;
  color: #fff !important;
  box-shadow: 0 14px 30px rgba(37, 99, 235, .24) !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template .sqd-v05-correction-offer-actions .sqd-v05-access-modal-secondary {
  border: 1px solid rgba(37, 99, 235, .34) !important;
  background: rgba(255,255,255,.65) !important;
  color: #163f97 !important;
  box-shadow: none !important;
}

.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-correction-offer-actions .sqd-v05-access-modal-secondary,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions .sqd-v05-access-modal-secondary,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions .sqd-v05-access-modal-secondary {
  background: rgba(255,255,255,.018) !important;
  color: #ffffff !important;
  border-color: rgba(129, 164, 241, .46) !important;
}

.sqd-v05-correction-offer-footnote {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px !important;
  max-width: 630px !important;
  margin: 22px auto 0 !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(148, 163, 184, .20) !important;
  text-align: center !important;
  color: #61738b !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

.sqd-v05-footnote-icon {
  color: #2e82ff !important;
  font-size: 22px !important;
  flex: 0 0 auto !important;
}

.sqd-v05-correction-offer-footnote strong {
  font-weight: 700 !important;
}

.sqd-v05-correction-offer-footnote a {
  color: #0b57c7 !important;
  font-weight: 900 !important;
  text-decoration: none !important;
}

.sqd-v05-correction-offer-footnote a:hover,
.sqd-v05-correction-offer-footnote a:focus-visible {
  text-decoration: underline !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-footnote,
body.sqd-theme-dark .sqd-v05-correction-offer-footnote,
html.sqd-theme-dark .sqd-v05-correction-offer-footnote {
  color: #d0dbeb !important;
  border-top-color: rgba(148, 163, 184, .15) !important;
}

.sqd-theme-dark .sqd-v05-correction-offer-footnote a,
body.sqd-theme-dark .sqd-v05-correction-offer-footnote a,
html.sqd-theme-dark .sqd-v05-correction-offer-footnote a {
  color: #8fc1ff !important;
}

/* v0.7.0.26 — restaura os cards/botões de envio para correção.
   A classe .is-subscriber-offer deve apenas abrir o modal especial; não deve mudar
   a aparência original dos botões de Especialista e IA. */
.sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-specialist.is-subscriber-offer,
body.sqd-single-preview-template .sqd-v05-correction-option.is-specialist.is-subscriber-offer,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-specialist.is-subscriber-offer,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-specialist.is-subscriber-offer,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-specialist.is-subscriber-offer {
  border: 0 !important;
  background: linear-gradient(135deg, #e85935 0%, #ef9621 100%) !important;
  color: #fff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-ai.is-subscriber-offer,
body.sqd-single-preview-template .sqd-v05-correction-option.is-ai.is-subscriber-offer,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-ai.is-subscriber-offer,
body.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-ai.is-subscriber-offer,
html.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-ai.is-subscriber-offer {
  border: 0 !important;
  background: linear-gradient(135deg, #009bff 0%, #00508e 100%) !important;
  color: #fff !important;
}

.sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-subscriber-offer strong,
.sqd-app.sqd-single-v05 .sqd-v05-correction-option.is-subscriber-offer small,
body.sqd-single-preview-template .sqd-v05-correction-option.is-subscriber-offer strong,
body.sqd-single-preview-template .sqd-v05-correction-option.is-subscriber-offer small {
  color: #fff !important;
}

@media (max-width: 760px) {
  .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal,
  body.sqd-single-preview-template .sqd-v05-correction-offer-modal {
    padding: 14px !important;
    align-items: center !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog,
  body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog {
    width: 100% !important;
    padding: 24px 18px 18px !important;
    border-radius: 22px !important;
  }

  .sqd-v05-correction-offer-topline {
    justify-content: flex-start !important;
    gap: 8px !important;
    margin-right: 38px !important;
    margin-bottom: 16px !important;
  }

  .sqd-v05-correction-offer-modal .sqd-v05-access-modal-kicker,
  .sqd-v05-correction-offer-badge {
    min-height: 32px !important;
    padding: 7px 10px !important;
    font-size: 11px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog h3,
  body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog h3 {
    font-size: 25px !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p,
  body.sqd-single-preview-template .sqd-v05-correction-offer-modal .sqd-v05-access-modal-dialog p {
    font-size: 15px !important;
  }

  .sqd-v05-correction-offer-coupon {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    text-align: center !important;
    padding: 18px 16px !important;
  }

  .sqd-v05-correction-offer-coupon::before {
    display: none !important;
  }

  .sqd-v05-correction-offer-coupon-icon {
    margin: 0 auto !important;
    width: 82px !important;
    height: 66px !important;
  }

  .sqd-v05-correction-offer-coupon-code {
    font-size: 44px !important;
  }

  .sqd-v05-correction-offer-coupon-label {
    justify-content: center !important;
  }

  .sqd-v05-correction-offer-copy {
    width: 100% !important;
    min-width: 0 !important;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-correction-offer-actions a,
  body.sqd-single-preview-template .sqd-v05-correction-offer-actions a {
    width: 100% !important;
    min-width: 0 !important;
    font-size: 16px !important;
  }

  .sqd-v05-correction-offer-footnote {
    align-items: flex-start !important;
    font-size: 14px !important;
  }
}

.sqd-mobile-auth-strip {
  display: none;
}
@media (max-width: 782px) {
  .sqd-mobile-auth-strip {
    display: flex;
    gap: 10px;
    padding: 10px 12px 12px;
    border-top: 1px solid rgba(15, 23, 42, .08);
    border-bottom: 1px solid rgba(15, 23, 42, .08);
    background: rgba(248, 250, 252, .96);
  }
  .sqd-mobile-auth-strip .sqd-auth-button {
    flex: 1 1 0;
    min-height: 42px;
    border-radius: 14px !important;
  }
  .sqd-theme-dark .sqd-mobile-auth-strip,
  body.sqd-theme-dark .sqd-mobile-auth-strip,
  html.sqd-theme-dark .sqd-mobile-auth-strip {
    border-color: rgba(148, 163, 184, .16);
    background: rgba(15, 23, 42, .95);
  }
  .sqd-app.sqd-single-v05 .sqd-topline-nav .sqd-auth-bar,
  body.sqd-single-preview-template .sqd-topline-nav .sqd-auth-bar {
    display: none !important;
  }
}

@media (max-width: 782px) {
  /* v0.7.0.18 — rollback do ajuste agressivo de overflow da single mobile.
     Mantém o layout responsivo original e corrige apenas limites internos evidentes. */
  .sqd-app.sqd-single-v05,
  body.sqd-single-preview-template .sqd-app.sqd-single-v05 {
    padding-right: 0 !important;
    min-width: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-layout,
  body.sqd-single-preview-template .sqd-app.sqd-single-v05 .sqd-v05-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .sqd-app.sqd-single-v05 .sqd-v05-main,
  .sqd-app.sqd-single-v05 .sqd-v05-index,
  .sqd-app.sqd-single-v05 .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-app.sqd-single-v05 .sqd-v05-main,
  body.sqd-single-preview-template .sqd-app.sqd-single-v05 .sqd-v05-index,
  body.sqd-single-preview-template .sqd-app.sqd-single-v05 .sqd-v05-aside {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .sqd-mobile-auth-strip {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .sqd-v05-student-lightbox-modal {
    padding: 10px;
  }
  .sqd-v05-student-lightbox-dialog {
    width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 18px;
  }
  .sqd-v05-student-lightbox-head {
    align-items: flex-start;
    flex-direction: column;
    padding: 13px 54px 12px 14px;
  }
  .sqd-v05-student-lightbox-stage {
    padding: 10px;
  }
}



/* v0.7.0.20 — single mobile: guard raiz contra scroll/largura fantasma.
   Diagnóstico validado no Chrome mobile: os blocos internos .sqd-v05-* cabiam na viewport,
   mas html/body ficavam com scrollWidth maior que a tela. Portanto, esta versão remove
   a tentativa estrutural da v0.7.0.19 e aplica apenas o limite raiz que corrigiu o teste. */
@media (max-width: 782px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
  }

  .sqd-app,
  .sqd-app *,
  .sqd-single-v05,
  .sqd-single-v05 * {
    box-sizing: border-box !important;
  }
}


/* v0.7.0.21 — modo escuro dos paywalls Popup Maker de correção especialista e IA */
html.sqd-theme-dark #pum-207359.pum-overlay,
html.sqd-theme-dark #pum-452488.pum-overlay,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359.pum-overlay,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488.pum-overlay,
body.sqd-single-preview-template.sqd-dark #pum-207359.pum-overlay,
body.sqd-single-preview-template.sqd-dark #pum-452488.pum-overlay,
body.sqd-theme-dark #pum-207359.pum-overlay,
body.sqd-theme-dark #pum-452488.pum-overlay,
body.sqd-dark #pum-207359.pum-overlay,
body.sqd-dark #pum-452488.pum-overlay {
  background: rgba(2, 6, 23, .82) !important;
  backdrop-filter: blur(10px) saturate(1.08) !important;
  -webkit-backdrop-filter: blur(10px) saturate(1.08) !important;
}

html.sqd-theme-dark #pum-207359 .pum-container,
html.sqd-theme-dark #pum-452488 .pum-container,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .pum-container,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .pum-container,
body.sqd-single-preview-template.sqd-dark #pum-207359 .pum-container,
body.sqd-single-preview-template.sqd-dark #pum-452488 .pum-container,
body.sqd-theme-dark #pum-207359 .pum-container,
body.sqd-theme-dark #pum-452488 .pum-container,
body.sqd-dark #pum-207359 .pum-container,
body.sqd-dark #pum-452488 .pum-container {
  border: 1px solid rgba(51, 65, 85, .95) !important;
  background: transparent !important;
  box-shadow: 0 34px 100px rgba(0, 0, 0, .62), 0 0 0 1px rgba(148, 163, 184, .08) inset !important;
  overflow: visible !important;
}

html.sqd-theme-dark #pum-207359 .pum-content.popmake-content,
html.sqd-theme-dark #pum-452488 .pum-content.popmake-content,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .pum-content.popmake-content,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .pum-content.popmake-content,
body.sqd-single-preview-template.sqd-dark #pum-207359 .pum-content.popmake-content,
body.sqd-single-preview-template.sqd-dark #pum-452488 .pum-content.popmake-content,
body.sqd-theme-dark #pum-207359 .pum-content.popmake-content,
body.sqd-theme-dark #pum-452488 .pum-content.popmake-content,
body.sqd-dark #pum-207359 .pum-content.popmake-content,
body.sqd-dark #pum-452488 .pum-content.popmake-content {
  background: transparent !important;
  color: #dbeafe !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-wrap,
html.sqd-theme-dark #pum-452488 .vc-paywall-wrap,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-wrap,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-wrap,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-wrap,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-wrap,
body.sqd-theme-dark #pum-207359 .vc-paywall-wrap,
body.sqd-theme-dark #pum-452488 .vc-paywall-wrap,
body.sqd-dark #pum-207359 .vc-paywall-wrap,
body.sqd-dark #pum-452488 .vc-paywall-wrap {
  color: #dbeafe !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-card,
html.sqd-theme-dark #pum-452488 .vc-paywall-card,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card,
body.sqd-theme-dark #pum-207359 .vc-paywall-card,
body.sqd-theme-dark #pum-452488 .vc-paywall-card,
body.sqd-dark #pum-207359 .vc-paywall-card,
body.sqd-dark #pum-452488 .vc-paywall-card {
  border: 1px solid rgba(51, 65, 85, .92) !important;
  background: radial-gradient(circle at 50% 0%, rgba(37, 99, 235, .18) 0%, rgba(15, 23, 42, 0) 42%), linear-gradient(180deg, #0f172a 0%, #111827 100%) !important;
  color: #dbeafe !important;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .46) !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-head,
html.sqd-theme-dark #pum-452488 .vc-paywall-head,
html.sqd-theme-dark #pum-207359 .vc-paywall-body,
html.sqd-theme-dark #pum-452488 .vc-paywall-body,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-head,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-head,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-body,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-body,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-head,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-head,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-body,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-body,
body.sqd-theme-dark #pum-207359 .vc-paywall-head,
body.sqd-theme-dark #pum-452488 .vc-paywall-head,
body.sqd-theme-dark #pum-207359 .vc-paywall-body,
body.sqd-theme-dark #pum-452488 .vc-paywall-body,
body.sqd-dark #pum-207359 .vc-paywall-head,
body.sqd-dark #pum-452488 .vc-paywall-head,
body.sqd-dark #pum-207359 .vc-paywall-body,
body.sqd-dark #pum-452488 .vc-paywall-body {
  background: transparent !important;
  color: inherit !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-card h2,
html.sqd-theme-dark #pum-452488 .vc-paywall-card h2,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card h2,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card h2,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card h2,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card h2,
body.sqd-theme-dark #pum-207359 .vc-paywall-card h2,
body.sqd-theme-dark #pum-452488 .vc-paywall-card h2,
body.sqd-dark #pum-207359 .vc-paywall-card h2,
body.sqd-dark #pum-452488 .vc-paywall-card h2 {
  color: #93c5fd !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-card p,
html.sqd-theme-dark #pum-452488 .vc-paywall-card p,
html.sqd-theme-dark #pum-207359 .vc-paywall-card li,
html.sqd-theme-dark #pum-452488 .vc-paywall-card li,
html.sqd-theme-dark #pum-207359 .vc-paywall-note,
html.sqd-theme-dark #pum-452488 .vc-paywall-note,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card p,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card p,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card li,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card li,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-note,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-note,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card p,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card p,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card li,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card li,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-note,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-note,
body.sqd-theme-dark #pum-207359 .vc-paywall-card p,
body.sqd-theme-dark #pum-452488 .vc-paywall-card p,
body.sqd-theme-dark #pum-207359 .vc-paywall-card li,
body.sqd-theme-dark #pum-452488 .vc-paywall-card li,
body.sqd-theme-dark #pum-207359 .vc-paywall-note,
body.sqd-theme-dark #pum-452488 .vc-paywall-note,
body.sqd-dark #pum-207359 .vc-paywall-card p,
body.sqd-dark #pum-452488 .vc-paywall-card p,
body.sqd-dark #pum-207359 .vc-paywall-card li,
body.sqd-dark #pum-452488 .vc-paywall-card li,
body.sqd-dark #pum-207359 .vc-paywall-note,
body.sqd-dark #pum-452488 .vc-paywall-note {
  color: #cbd5e1 !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-card strong,
html.sqd-theme-dark #pum-452488 .vc-paywall-card strong,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card strong,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card strong,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card strong,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card strong,
body.sqd-theme-dark #pum-207359 .vc-paywall-card strong,
body.sqd-theme-dark #pum-452488 .vc-paywall-card strong,
body.sqd-dark #pum-207359 .vc-paywall-card strong,
body.sqd-dark #pum-452488 .vc-paywall-card strong {
  color: #f8fafc !important;
}

html.sqd-theme-dark #pum-207359 .vc-benefits li,
html.sqd-theme-dark #pum-452488 .vc-benefits li,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-benefits li,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-benefits li,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-benefits li,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-benefits li,
body.sqd-theme-dark #pum-207359 .vc-benefits li,
body.sqd-theme-dark #pum-452488 .vc-benefits li,
body.sqd-dark #pum-207359 .vc-benefits li,
body.sqd-dark #pum-452488 .vc-benefits li {
  border-color: rgba(51, 65, 85, .92) !important;
  background: rgba(15, 23, 42, .76) !important;
  color: #dbeafe !important;
}

html.sqd-theme-dark #pum-207359 .vc-benefits li::before,
html.sqd-theme-dark #pum-452488 .vc-benefits li::before,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-benefits li::before,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-benefits li::before,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-benefits li::before,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-benefits li::before,
body.sqd-theme-dark #pum-207359 .vc-benefits li::before,
body.sqd-theme-dark #pum-452488 .vc-benefits li::before,
body.sqd-dark #pum-207359 .vc-benefits li::before,
body.sqd-dark #pum-452488 .vc-benefits li::before {
  color: #a78bfa !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-card a,
html.sqd-theme-dark #pum-452488 .vc-paywall-card a,
html.sqd-theme-dark #pum-207359 .vc-paywall-card .lrm-login,
html.sqd-theme-dark #pum-452488 .vc-paywall-card .lrm-login,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card a,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card a,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card .lrm-login,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card .lrm-login,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card a,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card a,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card .lrm-login,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card .lrm-login,
body.sqd-theme-dark #pum-207359 .vc-paywall-card a,
body.sqd-theme-dark #pum-452488 .vc-paywall-card a,
body.sqd-theme-dark #pum-207359 .vc-paywall-card .lrm-login,
body.sqd-theme-dark #pum-452488 .vc-paywall-card .lrm-login,
body.sqd-dark #pum-207359 .vc-paywall-card a,
body.sqd-dark #pum-452488 .vc-paywall-card a,
body.sqd-dark #pum-207359 .vc-paywall-card .lrm-login,
body.sqd-dark #pum-452488 .vc-paywall-card .lrm-login {
  color: #93c5fd !important;
  text-decoration-color: rgba(147, 197, 253, .46) !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-card a:hover,
html.sqd-theme-dark #pum-452488 .vc-paywall-card a:hover,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-card a:hover,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-card a:hover,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-card a:hover,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-card a:hover,
body.sqd-theme-dark #pum-207359 .vc-paywall-card a:hover,
body.sqd-theme-dark #pum-452488 .vc-paywall-card a:hover,
body.sqd-dark #pum-207359 .vc-paywall-card a:hover,
body.sqd-dark #pum-452488 .vc-paywall-card a:hover {
  color: #bfdbfe !important;
}

html.sqd-theme-dark #pum-207359 .vc-btn.vc-btn-primary,
html.sqd-theme-dark #pum-452488 .vc-btn.vc-btn-primary,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-btn.vc-btn-primary,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-btn.vc-btn-primary,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-btn.vc-btn-primary,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-btn.vc-btn-primary,
body.sqd-theme-dark #pum-207359 .vc-btn.vc-btn-primary,
body.sqd-theme-dark #pum-452488 .vc-btn.vc-btn-primary,
body.sqd-dark #pum-207359 .vc-btn.vc-btn-primary,
body.sqd-dark #pum-452488 .vc-btn.vc-btn-primary {
  border-color: rgba(96, 165, 250, .56) !important;
  background: linear-gradient(135deg, #2563eb 0%, #0ea5e9 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 18px 34px rgba(14, 165, 233, .24) !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-note,
html.sqd-theme-dark #pum-452488 .vc-paywall-note,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-note,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-note,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-note,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-note,
body.sqd-theme-dark #pum-207359 .vc-paywall-note,
body.sqd-theme-dark #pum-452488 .vc-paywall-note,
body.sqd-dark #pum-207359 .vc-paywall-note,
body.sqd-dark #pum-452488 .vc-paywall-note {
  border-color: rgba(51, 65, 85, .9) !important;
  background: rgba(2, 6, 23, .34) !important;
}

html.sqd-theme-dark #pum-207359 .vc-paywall-badge,
html.sqd-theme-dark #pum-452488 .vc-paywall-badge,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .vc-paywall-badge,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .vc-paywall-badge,
body.sqd-single-preview-template.sqd-dark #pum-207359 .vc-paywall-badge,
body.sqd-single-preview-template.sqd-dark #pum-452488 .vc-paywall-badge,
body.sqd-theme-dark #pum-207359 .vc-paywall-badge,
body.sqd-theme-dark #pum-452488 .vc-paywall-badge,
body.sqd-dark #pum-207359 .vc-paywall-badge,
body.sqd-dark #pum-452488 .vc-paywall-badge {
  background: linear-gradient(135deg, #f97316 0%, #ef4444 100%) !important;
  color: #fff7ed !important;
  box-shadow: 0 12px 22px rgba(239, 68, 68, .22) !important;
}

html.sqd-theme-dark #pum-207359 .pum-close.popmake-close,
html.sqd-theme-dark #pum-452488 .pum-close.popmake-close,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .pum-close.popmake-close,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .pum-close.popmake-close,
body.sqd-single-preview-template.sqd-dark #pum-207359 .pum-close.popmake-close,
body.sqd-single-preview-template.sqd-dark #pum-452488 .pum-close.popmake-close,
body.sqd-theme-dark #pum-207359 .pum-close.popmake-close,
body.sqd-theme-dark #pum-452488 .pum-close.popmake-close,
body.sqd-dark #pum-207359 .pum-close.popmake-close,
body.sqd-dark #pum-452488 .pum-close.popmake-close {
  border: 1px solid rgba(148, 163, 184, .28) !important;
  background: rgba(15, 23, 42, .92) !important;
  color: #e2e8f0 !important;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .36) !important;
}

html.sqd-theme-dark #pum-207359 .pum-close.popmake-close:hover,
html.sqd-theme-dark #pum-452488 .pum-close.popmake-close:hover,
body.sqd-single-preview-template.sqd-theme-dark #pum-207359 .pum-close.popmake-close:hover,
body.sqd-single-preview-template.sqd-theme-dark #pum-452488 .pum-close.popmake-close:hover,
body.sqd-single-preview-template.sqd-dark #pum-207359 .pum-close.popmake-close:hover,
body.sqd-single-preview-template.sqd-dark #pum-452488 .pum-close.popmake-close:hover,
body.sqd-theme-dark #pum-207359 .pum-close.popmake-close:hover,
body.sqd-theme-dark #pum-452488 .pum-close.popmake-close:hover,
body.sqd-dark #pum-207359 .pum-close.popmake-close:hover,
body.sqd-dark #pum-452488 .pum-close.popmake-close:hover {
  background: rgba(30, 41, 59, .98) !important;
  color: #ffffff !important;
}


/* v0.7.0.22 — modo escuro: preserva cores semânticas das resoluções em texto.
   A regra genérica de HTML herdado do Word (.MsoNormal) clareava todos os spans no final do CSS.
   Este bloco final, mais específico e posterior, recolore apenas a resolução do professor,
   mantendo os tooltips e adaptando as cores originais para contraste adequado no dark mode. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: red" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:red" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ee0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ee0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ff0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ff0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(238, 0, 0)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(255, 0, 0)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: red" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:red" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ee0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ee0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #ff0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#ff0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(238, 0, 0)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(255, 0, 0)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: red" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:red" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #ee0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#ee0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #ff0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#ff0000" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(238, 0, 0)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(255, 0, 0)" i] {
  color: #ff8a8a !important;
  text-decoration-color: rgba(255, 138, 138, .58) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #0070c0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#0070c0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 112, 192)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #0070c0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#0070c0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 112, 192)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #0070c0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#0070c0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(0, 112, 192)" i] {
  color: #67d4ff !important;
  text-decoration-color: rgba(103, 212, 255, .56) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #00b050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#00b050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 176, 80)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #00b050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#00b050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(0, 176, 80)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #00b050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#00b050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(0, 176, 80)" i] {
  color: #6ee7b7 !important;
  text-decoration-color: rgba(110, 231, 183, .50) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #7030a0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#7030a0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #772bb0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#772bb0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(112, 48, 160)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(119, 43, 176)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #7030a0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#7030a0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #772bb0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#772bb0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(112, 48, 160)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(119, 43, 176)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #7030a0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#7030a0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #772bb0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#772bb0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(112, 48, 160)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(119, 43, 176)" i] {
  color: #d8b4fe !important;
  text-decoration-color: rgba(216, 180, 254, .52) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #92d050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#92d050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #8ec157" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#8ec157" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(146, 208, 80)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(142, 193, 87)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #92d050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#92d050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #8ec157" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#8ec157" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(146, 208, 80)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(142, 193, 87)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #92d050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#92d050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #8ec157" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#8ec157" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(146, 208, 80)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(142, 193, 87)" i] {
  color: #bef264 !important;
  text-decoration-color: rgba(190, 242, 100, .42) !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: gray" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: grey" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #808080" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#808080" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #aeaaaa" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#aeaaaa" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #767171" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#767171" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #44546a" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#44546a" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(128, 128, 128)" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(174, 170, 170)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: gray" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: grey" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #808080" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#808080" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #aeaaaa" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#aeaaaa" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #767171" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#767171" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color: #44546a" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="color:#44546a" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(128, 128, 128)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body span[style*="rgb(174, 170, 170)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: gray" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: grey" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #808080" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#808080" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #aeaaaa" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#aeaaaa" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #767171" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#767171" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color: #44546a" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="color:#44546a" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(128, 128, 128)" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body span[style*="rgb(174, 170, 170)" i] {
  color: #d3dce8 !important;
  text-decoration-color: rgba(211, 220, 232, .42) !important;
}


/* v0.7.0.23 — reforço final: spans coloridos da resolução vencem regras genéricas de MsoNormal. */
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: red" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:red" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #ee0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#ee0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #ff0000" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#ff0000" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: red" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:red" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: red" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:red" i] {
  color: #ff8a8a !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #0070c0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#0070c0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="rgb(0, 112, 192)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #0070c0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#0070c0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #0070c0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#0070c0" i] {
  color: #67d4ff !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #00b050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#00b050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="rgb(0, 176, 80)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #00b050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#00b050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #00b050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#00b050" i] {
  color: #6ee7b7 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #7030a0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#7030a0" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="rgb(112, 48, 160)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #7030a0" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#7030a0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #7030a0" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#7030a0" i] {
  color: #d8b4fe !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #92d050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#92d050" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="rgb(146, 208, 80)" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #92d050" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#92d050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #92d050" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:#92d050" i] {
  color: #bef264 !important;
}

.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: gray" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:grey" i],
.sqd-app.sqd-single-v05.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: #808080" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: gray" i],
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:grey" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color: gray" i],
body.sqd-dark.sqd-single-preview-template .sqd-v05-resolution-resource-body.sqd-single-richtext > p.MsoNormal span[style*="color:grey" i] {
  color: #cbd5e1 !important;
}


/* v0.8.2.2 — correção do dropdown Ano no filtro completo da single/Home */
.sqd-multi-select-ano .sqd-multi-panel {
  width: max(100%, 248px);
  min-width: 248px;
  max-width: min(320px, calc(100vw - 32px));
}

.sqd-multi-select-ano .sqd-check-group {
  grid-template-columns: repeat(2, minmax(92px, 1fr));
  align-items: stretch;
}

.sqd-multi-select-ano .sqd-check-option {
  justify-content: flex-start;
  gap: 8px;
  padding: 7px 10px;
  min-width: 0;
}

.sqd-multi-select-ano .sqd-check-option span {
  min-width: 4ch;
  overflow: visible;
  text-overflow: clip;
  white-space: nowrap;
}

.sqd-multi-select-ano .sqd-list-search input[type="search"] {
  box-sizing: border-box;
}

@media (max-width: 640px) {
  .sqd-multi-select-ano .sqd-multi-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .sqd-multi-select-ano .sqd-check-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}


/* v0.8.2.3 — correção do dropdown Banca no filtro completo da single/Home */
.sqd-banca-picker .sqd-multi-panel {
  width: max(100%, 340px);
  min-width: 340px;
  max-width: min(460px, calc(100vw - 32px));
}

.sqd-banca-picker .sqd-check-group {
  grid-template-columns: 1fr;
}

.sqd-banca-picker .sqd-check-option {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
  min-height: 36px;
  padding: 8px 10px;
}

.sqd-banca-picker .sqd-check-option input {
  margin-top: 2px;
}

.sqd-banca-picker .sqd-check-option span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.28;
}

.sqd-banca-picker .sqd-check-group:last-child {
  max-height: 230px;
  overflow: auto;
  padding-right: 4px;
}

@media (max-width: 640px) {
  .sqd-banca-picker .sqd-multi-panel {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}


/* v0.9.3 — dropdowns largos para Banca, Órgão e Cargo + single sempre em lista */
.sqd-multi-select-banca .sqd-multi-panel,
.sqd-multi-select-orgao .sqd-multi-panel,
.sqd-multi-select-cargo .sqd-multi-panel {
  right: auto;
  width: max(100%, 460px);
  min-width: 460px;
  max-width: min(620px, calc(100vw - 32px));
}

.sqd-multi-select-banca .sqd-check-group,
.sqd-multi-select-orgao .sqd-check-group,
.sqd-multi-select-cargo .sqd-check-group {
  grid-template-columns: 1fr;
}

.sqd-multi-select-banca .sqd-check-option,
.sqd-multi-select-orgao .sqd-check-option,
.sqd-multi-select-cargo .sqd-check-option {
  align-items: flex-start;
  justify-content: flex-start;
  gap: 9px;
  min-height: 36px;
  padding: 8px 10px;
}

.sqd-multi-select-banca .sqd-check-option input,
.sqd-multi-select-orgao .sqd-check-option input,
.sqd-multi-select-cargo .sqd-check-option input {
  margin-top: 2px;
}

.sqd-multi-select-banca .sqd-check-option span,
.sqd-multi-select-orgao .sqd-check-option span,
.sqd-multi-select-cargo .sqd-check-option span {
  min-width: 0;
  overflow: visible;
  text-overflow: clip;
  white-space: normal;
  line-height: 1.28;
}

.sqd-multi-select-banca .sqd-check-group-rest,
.sqd-multi-select-orgao .sqd-check-group-rest,
.sqd-multi-select-cargo .sqd-check-group-rest {
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.sqd-app.sqd-single-v05 .sqd-v05-filter-accordion .sqd-view-switch-single-list-only,
body.sqd-single-preview-template .sqd-v05-filter-accordion .sqd-view-switch-single-list-only {
  display: none !important;
}

@media (max-width: 640px) {
  .sqd-multi-select-banca .sqd-multi-panel,
  .sqd-multi-select-orgao .sqd-multi-panel,
  .sqd-multi-select-cargo .sqd-multi-panel {
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }
}

/* v0.9.4 — dropdowns dos filtros acima da busca principal */
.sqd-filter-sidebar.has-open-multi,
.sqd-filter-sidebar:has(.sqd-multi-select.is-open),
.sqd-v05-filter-accordion .sqd-filter-sidebar.has-open-multi,
.sqd-v05-filter-accordion .sqd-filter-sidebar:has(.sqd-multi-select.is-open) {
  z-index: 100500 !important;
  overflow: visible !important;
}

.sqd-workspace-main,
.sqd-v05-filter-accordion .sqd-workspace-main {
  position: relative;
  z-index: 1;
}

.sqd-side-filter {
  position: relative;
}

.sqd-side-filter.is-multi-open,
.sqd-side-filter:has(.sqd-multi-select.is-open) {
  z-index: 100510 !important;
  overflow: visible !important;
}

.sqd-multi-select.is-open {
  z-index: 100520 !important;
}

.sqd-multi-select.is-open .sqd-multi-panel,
.sqd-multi-select-banca.is-open .sqd-multi-panel,
.sqd-multi-select-orgao.is-open .sqd-multi-panel,
.sqd-multi-select-cargo.is-open .sqd-multi-panel {
  z-index: 100530 !important;
}


/* 30. Ajustes v0.9.6 — H1 integrado ao layout da Home do SQD --------- */
.sqd-home-seo-intro {
  margin: 0 0 14px;
  padding: 14px 16px 15px;
  border: 1px solid rgba(27, 86, 181, .10);
  border-radius: 16px;
  background: rgba(255, 255, 255, .70);
  box-shadow: none;
}
.sqd-home-seo-intro h1 {
  margin: 0 0 6px;
  color: #13233d;
  font-size: clamp(20px, 2.1vw, 26px);
  line-height: 1.18;
  letter-spacing: -.025em;
  font-weight: 800;
  text-transform: none;
}
.sqd-home-seo-intro p {
  margin: 0;
  max-width: 900px;
  color: #5c6a80;
  font-size: 14.5px;
  line-height: 1.55;
}
.sqd-home-seo-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}
.sqd-home-seo-chips span {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 4px 10px;
  border: 1px solid rgba(31, 100, 204, .13);
  border-radius: 999px;
  background: rgba(31, 100, 204, .055);
  color: #24528f;
  font-size: 12.5px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}
.sqd-theme-dark .sqd-home-seo-intro {
  border-color: rgba(126, 166, 255, .13);
  background: rgba(13, 28, 50, .62);
  box-shadow: none;
}
.sqd-theme-dark .sqd-home-seo-intro h1 {
  color: #f2f7ff;
}
.sqd-theme-dark .sqd-home-seo-intro p {
  color: #c4d2e6;
}
.sqd-theme-dark .sqd-home-seo-chips span {
  border-color: rgba(125, 182, 255, .18);
  background: rgba(64, 139, 255, .10);
  color: #cfe4ff;
}
@media (max-width: 760px) {
  .sqd-home-seo-intro {
    padding: 14px;
    border-radius: 15px;
  }
  .sqd-home-seo-intro h1 {
    font-size: 21px;
  }
  .sqd-home-seo-intro p {
    font-size: 14px;
    line-height: 1.5;
  }
  .sqd-home-seo-chips {
    gap: 6px;
    margin-top: 10px;
  }
  .sqd-home-seo-chips span {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 12px;
  }
}


/* 31. Ajustes v0.9.8.2 — cabeçalho mais compacto e sem sobrepor a logo ----- */
.sqd-workspace-header {
  gap: 16px;
}
.sqd-workspace-header .sqd-workspace-logo {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  min-width: 0;
  max-width: 218px;
}
.sqd-workspace-header .sqd-workspace-logo img {
  width: clamp(170px, 20vw, 218px);
  max-width: 100% !important;
}
.sqd-workspace-header .sqd-workspace-actions {
  flex: 1 1 0;
  min-width: 0;
  max-width: calc(100% - 234px);
  justify-content: flex-end;
  gap: 8px;
  row-gap: 8px;
  overflow: visible;
}
.sqd-workspace-header .sqd-work-action,
.sqd-v05-header .sqd-work-action {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  gap: 7px;
  font-size: 13px;
  line-height: 1.1;
  white-space: nowrap;
}
.sqd-workspace-header .sqd-theme-toggle,
.sqd-v05-header .sqd-theme-toggle {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  gap: 7px;
  white-space: nowrap;
}
.sqd-workspace-header .sqd-theme-toggle span,
.sqd-v05-header .sqd-theme-toggle span {
  width: 22px;
  height: 22px;
}
.sqd-workspace-header .sqd-work-action-ai em,
.sqd-v05-header .sqd-work-action-ai em {
  padding: 3px 6px;
  font-size: 10px;
}
.sqd-v05-header .sqd-workspace-logo {
  min-width: 0;
}
.sqd-v05-header .sqd-workspace-actions {
  min-width: 0;
  gap: 8px;
  row-gap: 8px;
}

@media (max-width: 1280px) {
  .sqd-workspace-header .sqd-workspace-logo {
    max-width: 198px;
  }
  .sqd-workspace-header .sqd-workspace-logo img {
    width: clamp(160px, 18vw, 198px);
  }
  .sqd-workspace-header .sqd-workspace-actions {
    max-width: calc(100% - 214px);
  }
  .sqd-workspace-header .sqd-work-action,
  .sqd-v05-header .sqd-work-action {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 980px) {
  .sqd-workspace-header .sqd-workspace-logo,
  .sqd-workspace-header .sqd-workspace-actions {
    max-width: 100%;
  }
  .sqd-workspace-header .sqd-workspace-actions {
    width: 100%;
    justify-content: flex-start;
  }
}


/* 32. Ajustes v0.9.8.3 — modal de Matéria acima da logo ------------------
   A v0.9.8.2 protegeu a logo contra o menu, mas o z-index da logo podia
   aparecer sobre o modal de seleção de Matéria e assunto. Mantemos o topo
   compacto sem elevar a logo acima dos overlays. */
.sqd-workspace-header .sqd-workspace-logo {
  position: static !important;
  z-index: auto !important;
  flex: 0 0 clamp(166px, 18vw, 205px);
  max-width: clamp(166px, 18vw, 205px);
}
.sqd-workspace-header .sqd-workspace-logo img {
  width: 100% !important;
  max-width: 100% !important;
}
.sqd-workspace-header .sqd-workspace-actions {
  max-width: none !important;
}
.sqd-taxonomy-dock.sqd-modal {
  z-index: 2147483002 !important;
}
.sqd-taxonomy-dock .sqd-modal-backdrop {
  z-index: 0 !important;
}
.sqd-taxonomy-dock .sqd-modal-dialog {
  z-index: 1 !important;
}
html.sqd-modal-open .sqd-workspace-header,
html.sqd-modal-open .sqd-workspace-header .sqd-workspace-logo {
  z-index: auto !important;
}

@media (max-width: 1280px) {
  .sqd-workspace-header .sqd-workspace-logo {
    flex-basis: clamp(158px, 17vw, 190px);
    max-width: clamp(158px, 17vw, 190px);
  }
}

@media (max-width: 980px) {
  .sqd-workspace-header .sqd-workspace-logo {
    flex-basis: auto;
    max-width: 100%;
  }
}


/* v0.9.8.5.1 — teaser persuasivo do enunciado bloqueado */
.sqd-v05-statement-locked-preview {
  position: relative;
}
.sqd-v05-statement-teaser {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(23, 60, 82, 0.12);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,253,.98));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.8);
}
.sqd-v05-statement-teaser-visible,
.sqd-v05-statement-teaser-blur {
  padding: 24px 26px;
}
.sqd-v05-statement-teaser-visible {
  padding-bottom: 16px;
}
.sqd-v05-statement-teaser-visible p,
.sqd-v05-statement-teaser-blur p {
  margin: 0;
  color: #173452;
  font-size: 16px;
  line-height: 1.8;
}
.sqd-v05-statement-teaser-blur {
  min-height: 170px;
  filter: blur(7px);
  opacity: .75;
  user-select: none;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.88), rgba(0,0,0,.42));
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,.88), rgba(0,0,0,.42));
}
.sqd-v05-statement-teaser-overlay {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  display: flex;
  justify-content: center;
}
.sqd-v05-locked-resource-overlay {
  width: min(100%, 760px);
  box-shadow: 0 22px 50px rgba(15, 33, 66, .12);
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(255,255,255,.96), rgba(246,250,253,.94));
}
.sqd-v05-locked-resource-overlay p {
  max-width: 68ch;
}
.sqd-theme-dark .sqd-v05-statement-teaser {
  border-color: rgba(162, 197, 219, 0.18);
  background: linear-gradient(180deg, rgba(13, 24, 36, .95), rgba(12, 21, 31, .98));
}
.sqd-theme-dark .sqd-v05-statement-teaser-visible p,
.sqd-theme-dark .sqd-v05-statement-teaser-blur p {
  color: #d9e6ef;
}
.sqd-theme-dark .sqd-v05-locked-resource-overlay {
  background: linear-gradient(135deg, rgba(14, 28, 40, .94), rgba(18, 38, 52, .92));
  box-shadow: 0 22px 50px rgba(0, 0, 0, .34);
}
@media (max-width: 767px) {
  .sqd-v05-statement-teaser-visible,
  .sqd-v05-statement-teaser-blur {
    padding: 18px 18px;
  }
  .sqd-v05-statement-teaser-visible {
    padding-bottom: 12px;
  }
  .sqd-v05-statement-teaser-blur {
    min-height: 210px;
  }
  .sqd-v05-statement-teaser-overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
  }
  .sqd-v05-locked-resource-overlay {
    border-radius: 16px;
    padding: 16px;
  }
}

/* v0.9.8.5.2 — selos Inédita/Adaptada */
.sqd-v05-question-type-pill,
.sqd-badge-question-type {
  background: #fff2dd;
  color: #9a5200;
  border-color: rgba(217, 129, 25, .24);
}
.sqd-v05-question-type-adaptada,
.sqd-badge-question-type-adaptada {
  background: #f2edff;
  color: #5a31d1;
  border-color: rgba(90, 49, 209, .22);
}
.sqd-v05-question-type-inedita,
.sqd-badge-question-type-inedita {
  background: #eaf3ff;
  color: #0b56c7;
  border-color: rgba(11, 86, 199, .20);
}
.sqd-theme-dark .sqd-v05-question-type-pill,
.sqd-theme-dark .sqd-badge-question-type {
  background: rgba(217, 129, 25, .16);
  color: #ffd69a;
  border-color: rgba(255, 214, 154, .24);
}
.sqd-theme-dark .sqd-v05-question-type-adaptada,
.sqd-theme-dark .sqd-badge-question-type-adaptada {
  background: rgba(139, 92, 246, .18);
  color: #d8c8ff;
  border-color: rgba(216, 200, 255, .22);
}
.sqd-theme-dark .sqd-v05-question-type-inedita,
.sqd-theme-dark .sqd-badge-question-type-inedita {
  background: rgba(59, 130, 246, .18);
  color: #bfdbfe;
  border-color: rgba(191, 219, 254, .22);
}


/* v0.9.8.5.4 — Single: lateral direita com rolagem interna no desktop.
   Corrige o caso em que a coluna lateral fica maior que a viewport e a parte
   inferior deixa de ser acessível durante o sticky JS. */
@media (min-width: 1001px) {
  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside {
    max-height: calc(100dvh - var(--sqd-v05-aside-sticky-top, 12px) - 14px) !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    overscroll-behavior: contain !important;
    scrollbar-width: thin;
    padding-right: 4px;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar {
    width: 8px;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar-track,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar-track {
    background: transparent;
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar-thumb,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, .32);
  }

  .sqd-app.sqd-single-v05 .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar-thumb:hover,
  body.sqd-single-preview-template .sqd-v05-layout.is-aside-js-sticky .sqd-v05-aside::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 65, 85, .44);
  }
}


/* v0.9.8.5.6 — atalhos pagos bloqueados na Home */
button.sqd-work-action {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.sqd-work-action-locked {
  opacity: .92;
}
.sqd-work-action-locked span::after {
  content: " • Assinantes";
  font-size: .82em;
  font-weight: 900;
  opacity: .78;
}
.sqd-theme-dark .sqd-work-action-locked {
  opacity: .96;
}


/* v0.9.8.5.7 — acabamento de lançamento: modal Home, status e mobile */
.sqd-app.sqd-app-workspace .sqd-v05-access-modal,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal,
body.sqd-single-preview-template .sqd-v05-access-modal {
  position: fixed;
  inset: 0;
  z-index: 100050;
  display: grid;
  place-items: center;
  padding: 22px;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal[hidden],
.sqd-app.sqd-single-v05 .sqd-v05-access-modal[hidden],
body.sqd-single-preview-template .sqd-v05-access-modal[hidden] {
  display: none !important;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-backdrop,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-backdrop,
body.sqd-single-preview-template .sqd-v05-access-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.58);
  backdrop-filter: blur(6px);
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog,
body.sqd-single-preview-template .sqd-v05-access-modal-dialog {
  position: relative;
  width: min(520px, 100%);
  border-radius: 28px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 26px 80px rgba(15, 23, 42, 0.24);
  padding: 30px;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-close,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-close,
body.sqd-single-preview-template .sqd-v05-access-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(15, 23, 42, 0.10);
  border-radius: 999px;
  background: #f8fafc;
  color: #0f172a;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-kicker,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-kicker,
body.sqd-single-preview-template .sqd-v05-access-modal-kicker {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(0, 87, 184, 0.08);
  color: #0057b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 10px;
  margin-bottom: 14px;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog h3,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog h3,
body.sqd-single-preview-template .sqd-v05-access-modal-dialog h3 {
  margin: 0 36px 10px 0;
  font-size: 25px;
  line-height: 1.15;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog p,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog p,
body.sqd-single-preview-template .sqd-v05-access-modal-dialog p {
  margin: 0 0 22px;
  color: #475569;
  line-height: 1.55;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-actions,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-actions,
body.sqd-single-preview-template .sqd-v05-access-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-actions a,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-actions a,
body.sqd-single-preview-template .sqd-v05-access-modal-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border-radius: 999px;
  padding: 0 18px;
  font-weight: 800;
  text-decoration: none;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-primary,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-primary,
body.sqd-single-preview-template .sqd-v05-access-modal-primary {
  background: #062b6f;
  color: #ffffff;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-secondary,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template .sqd-v05-access-modal-secondary {
  background: #eef6ff;
  color: #0057b8;
}
.sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-dialog {
  border-color: rgba(148, 163, 184, 0.22);
  background: #0f172a;
  color: #f8fafc;
}
.sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-v05-access-modal-close,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-close,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-close {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(30, 41, 59, 0.9);
  color: #f8fafc;
}
.sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog p,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog p,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-dialog p {
  color: #cbd5e1;
}
.sqd-work-action-locked span::after {
  content: none !important;
}
.sqd-student-status {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: 1px solid rgba(10, 81, 165, .16);
  background: #eef6ff;
  color: #0b56c7;
}
.sqd-student-status-assinante {
  border-color: rgba(8, 112, 68, .18);
  background: #e8f8ef;
  color: #087044;
}
.sqd-student-status-free {
  border-color: rgba(10, 81, 165, .16);
  background: #eef6ff;
  color: #0b56c7;
}
.sqd-workspace-logo img {
  width: var(--sqd-logo-width, 218px) !important;
  max-width: min(var(--sqd-logo-width, 218px), 42vw) !important;
  max-height: var(--sqd-logo-max-height, 72px) !important;
  height: auto !important;
  object-fit: contain;
}
.sqd-mobile-results-toast {
  display: none;
}
@media (max-width: 1080px) {
  .sqd-workspace-main {
    display: flex;
    flex-direction: column;
  }
  .sqd-home-seo-intro { order: 1; }
  .sqd-search-strip { order: 2; }
  .sqd-active-line { order: 3; }
  .sqd-mobile-results-toast { order: 4; }
  .sqd-taxonomy-dock { order: 5; }
  .sqd-results-shell { order: 6; }
  .sqd-popular-panels { order: 7; margin-top: 18px; }
  .sqd-mobile-results-toast {
    position: sticky;
    top: 10px;
    z-index: 25;
    align-self: stretch;
    min-height: 42px;
    border: 1px solid rgba(11, 106, 243, .24);
    border-radius: 999px;
    background: linear-gradient(135deg, #0d6efd, #004ebd);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 14px 28px rgba(11, 106, 243, .22);
    cursor: pointer;
    margin: 10px 0 14px;
  }
  .sqd-mobile-results-toast:not([hidden]) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .sqd-filter-collapse {
    font-size: 18px;
    line-height: 1;
  }
}
@media (max-width: 640px) {
  .sqd-app.sqd-app-workspace .sqd-v05-access-modal,
  .sqd-app.sqd-single-v05 .sqd-v05-access-modal,
  body.sqd-single-preview-template .sqd-v05-access-modal {
    align-items: end;
    padding: 14px;
  }
  .sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog,
  .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog,
  body.sqd-single-preview-template .sqd-v05-access-modal-dialog {
    padding: 26px 20px 20px;
    border-radius: 24px;
  }
  .sqd-app.sqd-app-workspace .sqd-v05-access-modal-actions,
  .sqd-app.sqd-single-v05 .sqd-v05-access-modal-actions,
  body.sqd-single-preview-template .sqd-v05-access-modal-actions {
    flex-direction: column;
  }
  .sqd-workspace-logo img {
    max-width: min(var(--sqd-logo-width, 218px), 58vw) !important;
  }
}


/* v0.9.8.5.8 — correções finas: atalhos, modal, teaser e mobile */
button.sqd-work-action,
.sqd-work-action-locked {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--sqd-line) !important;
  border-radius: 10px !important;
  background: #fff !important;
  color: #18243c !important;
  font: inherit !important;
  font-weight: 750 !important;
  box-shadow: 0 7px 22px rgba(15,33,66,.05) !important;
}
button.sqd-work-action:hover,
.sqd-work-action-locked:hover {
  transform: translateY(-1px);
  border-color: #bfd0ea !important;
  box-shadow: 0 13px 28px rgba(15,33,66,.09) !important;
}
.sqd-theme-dark button.sqd-work-action,
.sqd-theme-dark .sqd-work-action-locked {
  background: rgba(15, 23, 42, .88) !important;
  border-color: rgba(148, 163, 184, .22) !important;
  color: #eaf2ff !important;
  box-shadow: 0 10px 24px rgba(0,0,0,.18) !important;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-secondary,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template .sqd-v05-access-modal-secondary {
  background: #eaf3ff !important;
  color: #063b82 !important;
  border: 1px solid rgba(6, 59, 130, .16) !important;
}
.sqd-app.sqd-app-workspace .sqd-v05-access-modal-secondary:hover,
.sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary:hover,
body.sqd-single-preview-template .sqd-v05-access-modal-secondary:hover {
  background: #dcecff !important;
  color: #042c61 !important;
}
.sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-v05-access-modal-dialog h3,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-dialog h3,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-dialog h3 {
  color: #f8fafc !important;
}
.sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-v05-access-modal-secondary,
.sqd-theme-dark .sqd-app.sqd-single-v05 .sqd-v05-access-modal-secondary,
body.sqd-single-preview-template.sqd-theme-dark .sqd-v05-access-modal-secondary {
  background: #dcecff !important;
  color: #062b6f !important;
  border-color: rgba(220, 236, 255, .35) !important;
}
.sqd-v05-locked-resource-overlay p strong {
  display: inline !important;
  white-space: normal !important;
  font-size: inherit !important;
  color: inherit !important;
  font-weight: 900 !important;
}
@media (max-width: 1080px) {
  .sqd-workspace-layout {
    display: flex !important;
    flex-direction: column !important;
  }
  .sqd-filter-sidebar {
    order: 3 !important;
    position: static !important;
    width: 100% !important;
  }
  .sqd-workspace-main {
    order: 2 !important;
  }
  .sqd-mobile-filter-toggle {
    order: 4 !important;
  }
  .sqd-workspace-main {
    display: flex !important;
    flex-direction: column !important;
  }
  .sqd-home-seo-intro {
    order: 1 !important;
  }
  .sqd-search-strip {
    order: 2 !important;
  }
  .sqd-active-line {
    order: 4 !important;
  }
  .sqd-mobile-results-toast {
    order: 5 !important;
  }
  .sqd-results-shell {
    order: 6 !important;
  }
  .sqd-popular-panels {
    order: 7 !important;
    margin-top: 18px !important;
  }
}
@media (max-width: 640px) {
  .sqd-v05-locked-resource-overlay p {
    line-height: 1.55;
  }
}


/* v0.9.8.5.9 — mobile: filtros entre busca e resultados + overlay de resultados */
@media (max-width: 1080px) {
  .sqd-app.sqd-app-workspace .sqd-workspace-form > .sqd-workspace-layout {
    display: flex !important;
    flex-direction: column !important;
  }

  .sqd-app.sqd-app-workspace .sqd-workspace-form > .sqd-workspace-layout > .sqd-workspace-main {
    display: contents !important;
  }

  .sqd-app.sqd-app-workspace .sqd-home-seo-intro {
    order: 1 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-search-strip {
    order: 2 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-workspace-form > .sqd-workspace-layout > .sqd-mobile-filter-toggle {
    order: 3 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-workspace-form > .sqd-workspace-layout > .sqd-filter-sidebar {
    order: 4 !important;
    position: static !important;
    width: 100% !important;
    max-width: none !important;
  }

  .sqd-app.sqd-app-workspace .sqd-active-line {
    order: 5 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-taxonomy-dock {
    order: 6 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-results-shell {
    order: 7 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-popular-panels {
    order: 8 !important;
    margin-top: 18px !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    position: fixed !important;
    left: 14px !important;
    right: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    z-index: 100060 !important;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    min-height: 62px;
    padding: 12px 16px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: linear-gradient(135deg, #062b6f, #005bd7);
    color: #ffffff;
    box-shadow: 0 18px 46px rgba(0, 46, 128, .28);
    text-align: left;
    cursor: pointer;
    font-family: inherit;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast:not([hidden]) {
    display: flex !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast strong {
    display: block;
    color: #ffffff;
    font-size: 12px;
    line-height: 1.15;
    letter-spacing: .08em;
    font-weight: 950;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast span {
    display: block;
    color: rgba(255,255,255,.88);
    font-size: 13px;
    line-height: 1.32;
    font-weight: 700;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast em {
    color: #ffffff;
    font-style: normal;
    font-weight: 950;
      text-underline-offset: 3px;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    background: linear-gradient(135deg, #0b3d91, #0073ff);
    box-shadow: 0 18px 46px rgba(0, 0, 0, .44);
  }
}

@media (min-width: 1081px) {
  .sqd-mobile-results-toast {
    display: none !important;
  }
}


/* v0.9.8.5.10 — aviso mobile como faixa inferior em degradê */
@media (max-width: 1080px) {
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    position: fixed !important;
    top: auto !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 100060 !important;
    width: 100% !important;
    height: min(25vh, 220px) !important;
    min-height: 138px !important;
    max-height: 240px !important;
    margin: 0 !important;
    padding: 54px 22px max(22px, env(safe-area-inset-bottom)) !important;
    border: 0 !important;
    border-radius: 0 !important;
    background:
      linear-gradient(
        180deg,
        rgba(4, 22, 52, 0) 0%,
        rgba(5, 42, 101, .56) 34%,
        rgba(0, 91, 215, .88) 100%
      ) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    text-align: left !important;
    cursor: pointer;
    font-family: inherit;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    gap: 4px !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast:not([hidden]) {
    display: flex !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast strong {
    display: block !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.15 !important;
    letter-spacing: .11em !important;
    font-weight: 950 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast span {
    display: block !important;
    max-width: 520px;
    color: rgba(255,255,255,.92) !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
    font-weight: 750 !important;
    text-shadow: 0 1px 2px rgba(0,0,0,.18);
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast em {
    color: #ffffff !important;
    font-style: normal !important;
    font-weight: 950 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    background:
      linear-gradient(
        180deg,
        rgba(3, 11, 26, 0) 0%,
        rgba(7, 31, 74, .66) 34%,
        rgba(0, 73, 171, .92) 100%
      ) !important;
  }
}


/* v0.9.8.5.11 — aviso mobile refinado e acima dos filtros */
@media (max-width: 1080px) {
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    position: fixed !important;
    top: auto !important;
    left: 14px !important;
    right: 14px !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    z-index: 2147483000 !important;
    width: auto !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    margin: 0 !important;
    padding: 13px 14px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(10, 81, 165, .14) !important;
    background:
      linear-gradient(135deg, rgba(255,255,255,.96), rgba(242,247,255,.94)) !important;
    color: #11233f !important;
    box-shadow:
      0 20px 48px rgba(15, 33, 66, .18),
      0 0 0 1px rgba(255,255,255,.72) inset !important;
    backdrop-filter: blur(14px) saturate(1.15) !important;
    -webkit-backdrop-filter: blur(14px) saturate(1.15) !important;
    text-align: left !important;
    cursor: pointer;
    font-family: inherit;
    align-items: center !important;
    justify-content: flex-start !important;
    flex-direction: row !important;
    gap: 12px !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast:not([hidden]) {
    display: flex !important;
    animation: sqdMobileResultsToastIn .22s ease-out both;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 42px !important;
    width: 42px !important;
    height: 42px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #e7f8ef, #d8f3e3) !important;
    color: #087044 !important;
    font-size: 20px !important;
    font-weight: 950 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(8,112,68,.12) !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-copy {
    display: grid !important;
    gap: 3px !important;
    min-width: 0 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast strong {
    display: block !important;
    color: #10213c !important;
    font-size: 14px !important;
    line-height: 1.18 !important;
    letter-spacing: -.01em !important;
    text-transform: none !important;
    font-weight: 950 !important;
    text-shadow: none !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast span {
    text-shadow: none !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-copy > span {
    display: block !important;
    max-width: 560px !important;
    color: #52647d !important;
    font-size: 13px !important;
    line-height: 1.34 !important;
    font-weight: 700 !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast em {
    color: #005bd7 !important;
    font-style: normal !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(0,91,215,.35) !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast:hover,
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast:focus-visible {
    transform: translateY(-1px) !important;
    box-shadow:
      0 24px 54px rgba(15, 33, 66, .22),
      0 0 0 1px rgba(255,255,255,.74) inset !important;
    outline: none !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    border-color: rgba(125, 170, 230, .22) !important;
    background:
      linear-gradient(135deg, rgba(13, 27, 43, .96), rgba(10, 37, 70, .94)) !important;
    color: #eef6ff !important;
    box-shadow:
      0 22px 52px rgba(0,0,0,.52),
      0 0 0 1px rgba(255,255,255,.05) inset !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon {
    background: linear-gradient(135deg, rgba(25, 135, 84, .24), rgba(26, 188, 114, .16)) !important;
    color: #82efb3 !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.18) !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast strong,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast strong {
    color: #f4f9ff !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast-copy > span,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-copy > span {
    color: #bfd0e5 !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast em,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast em {
    color: #8ec8ff !important;
    border-bottom-color: rgba(142,200,255,.45) !important;
  }

  @keyframes sqdMobileResultsToastIn {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
  }
}


/* v0.9.8.5.12 — ajustes finais mobile: topo, busca, uma coluna e toast */
@media (max-width: 1080px) {
  .sqd-app.sqd-app-workspace .sqd-view-switch {
    display: none !important;
  }
  .sqd-app.sqd-app-workspace .sqd-results.sqd-results-masonry {
    display: grid !important;
    grid-template-columns: 1fr !important;
    columns: auto !important;
  }
  .sqd-app.sqd-app-workspace .sqd-results.sqd-results-masonry .sqd-question-card {
    display: grid !important;
    grid-template-columns: 1fr !important;
    margin: 0 !important;
  }
  .sqd-app.sqd-app-workspace .sqd-search-strip {
    width: 100% !important;
    margin: 0 0 16px !important;
    border-radius: 18px !important;
    border: 1px solid rgba(11, 106, 243, .34) !important;
    overflow: hidden !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 12px 30px rgba(11,106,243,.10) !important;
  }
  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-search-strip,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-search-strip {
    border-color: rgba(84, 145, 232, .38) !important;
    background: rgba(12, 25, 43, .94) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.22) !important;
  }
  .sqd-app.sqd-app-workspace .sqd-work-search {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 42px minmax(104px, 32%) !important;
    align-items: stretch !important;
    min-height: 58px !important;
    width: 100% !important;
  }
  .sqd-app.sqd-app-workspace .sqd-work-search::before {
    left: 22px !important;
    top: 50% !important;
    margin: 0 !important;
    transform: translateY(-50%) !important;
    font-size: 24px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-work-search input {
    height: 58px !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 0 10px 0 58px !important;
    font-size: 15px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-search-clear {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 58px !important;
    border-left: 1px solid rgba(148, 163, 184, .24) !important;
    border-right: 1px solid rgba(148, 163, 184, .24) !important;
    font-size: 20px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-work-search button[type="submit"] {
    min-width: 104px !important;
    min-height: 58px !important;
    border-radius: 0 !important;
    padding: 0 14px !important;
    font-size: 14px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast {
    left: 14px !important;
    right: 14px !important;
    bottom: max(16px, env(safe-area-inset-bottom)) !important;
    z-index: 2147483646 !important;
    padding: 12px 13px !important;
    border-radius: 18px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon {
    flex-basis: 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 999px !important;
    font-size: 16px !important;
    background: rgba(8, 112, 68, .11) !important;
    border: 1px solid rgba(8, 112, 68, .18) !important;
    color: #087044 !important;
    box-shadow: none !important;
  }
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-copy strong {
    font-size: 13px !important;
    letter-spacing: .01em !important;
  }
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-copy > span {
    font-size: 12.5px !important;
  }
  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon {
    background: rgba(130, 239, 179, .10) !important;
    border-color: rgba(130, 239, 179, .20) !important;
    color: #82efb3 !important;
  }
}
@media (max-width: 390px) {
  .sqd-app.sqd-app-workspace .sqd-work-search {
    grid-template-columns: minmax(0, 1fr) 36px 92px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-work-search button[type="submit"] {
    min-width: 92px !important;
    padding: 0 10px !important;
  }
  .sqd-app.sqd-app-workspace .sqd-search-clear {
    width: 36px !important;
  }
}


/* v0.9.8.5.13 — restaura comportamento correto dos filtros mobile/desktop */
@media (min-width: 981px) {
  .sqd-app.sqd-sidebar-collapsed .sqd-workspace-layout {
    grid-template-columns: 84px minmax(0, 1fr);
  }
}

@media (max-width: 980px) {
  .sqd-app.sqd-sidebar-collapsed .sqd-workspace-layout {
    grid-template-columns: 1fr !important;
  }

  .sqd-app.sqd-sidebar-collapsed .sqd-filter-sidebar {
    display: block !important;
    padding: 18px !important;
  }

  .sqd-app.sqd-sidebar-collapsed .sqd-filter-title {
    justify-content: space-between !important;
    padding-bottom: 18px !important;
  }

  .sqd-app.sqd-sidebar-collapsed .sqd-filter-title strong,
  .sqd-app.sqd-sidebar-collapsed .sqd-side-filter > span:not(.sqd-side-icon),
  .sqd-app.sqd-sidebar-collapsed .sqd-side-filter > em,
  .sqd-app.sqd-sidebar-collapsed .sqd-side-toggles,
  .sqd-app.sqd-sidebar-collapsed .sqd-sidebar-advanced,
  .sqd-app.sqd-sidebar-collapsed .sqd-sidebar-link,
  .sqd-app.sqd-sidebar-collapsed .sqd-sidebar-clear,
  .sqd-app.sqd-sidebar-collapsed .sqd-sidebar-save {
    display: revert !important;
  }

  .sqd-app.sqd-sidebar-collapsed .sqd-side-filter {
    display: grid !important;
    grid-template-columns: 42px minmax(0,1fr) 14px !important;
    justify-content: initial !important;
    width: 100% !important;
    min-height: 74px !important;
    margin: 0 !important;
    padding: 13px 14px !important;
    border-radius: 0 !important;
  }

  .sqd-app.sqd-sidebar-collapsed .sqd-side-filter-featured {
    border: 1px solid #bfddff !important;
    border-radius: 12px !important;
    background: #f7fbff !important;
    margin-bottom: 14px !important;
  }

  .sqd-app.sqd-sidebar-collapsed .sqd-side-icon {
    width: 34px !important;
    height: 34px !important;
  }

  .sqd-app.sqd-mobile-filters-closed .sqd-filter-sidebar {
    display: none !important;
  }

  .sqd-app.sqd-mobile-filters-open .sqd-filter-sidebar {
    display: block !important;
  }

  .sqd-app.sqd-mobile-filters-closed .sqd-mobile-filter-toggle,
  .sqd-app.sqd-mobile-filters-open .sqd-mobile-filter-toggle {
    display: inline-flex !important;
  }
}

/* v0.9.8.5.13 — ícone do aviso de resultados */
@media (max-width: 1080px) {
  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon {
    display: inline-grid !important;
    place-items: center !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    height: 38px !important;
    border-radius: 14px !important;
    background: linear-gradient(135deg, rgba(232,248,239,.96), rgba(216,243,227,.96)) !important;
    color: #087044 !important;
    font-size: 0 !important;
    line-height: 1 !important;
    box-shadow: 0 8px 18px rgba(8,112,68,.12) !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon svg {
    display: block !important;
    width: 22px !important;
    height: 22px !important;
  }

  .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon svg path {
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 3 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
  }

  .sqd-theme-dark.sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon,
  .sqd-theme-dark .sqd-app.sqd-app-workspace .sqd-mobile-results-toast-icon {
    background: linear-gradient(135deg, rgba(25, 135, 84, .24), rgba(26, 188, 114, .16)) !important;
    color: #82efb3 !important;
  }
}


/* v0.9.8.5.14 — busca resiliente quando filtros mudam rapidamente */
.sqd-app.sqd-search-pending [data-sqd-summary] {
  color: #005bd7;
  font-weight: 850;
}

.sqd-theme-dark.sqd-app.sqd-search-pending [data-sqd-summary],
.sqd-theme-dark .sqd-app.sqd-search-pending [data-sqd-summary] {
  color: #8ec8ff;
}


/* v0.9.8.5.17 — single com filtros lazy-loaded */
.sqd-results.is-updating {
  opacity: .68;
  transition: opacity .16s ease;
  pointer-events: none;
}
.sqd-app.sqd-search-pending [data-sqd-summary] {
  color: #005bd7;
  font-weight: 850;
}
.sqd-theme-dark.sqd-app.sqd-search-pending [data-sqd-summary],
.sqd-theme-dark .sqd-app.sqd-search-pending [data-sqd-summary] {
  color: #8ec8ff;
}

/* Single lazy filters: mantém o HTML inicial leve e carrega a busca completa sob demanda. */
.sqd-v05-filter-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 96px;
  padding: 22px;
  color: #475569;
  font-size: 13px;
  font-weight: 850;
}
.sqd-theme-dark .sqd-v05-filter-loading {
  color: #cbd5e1;
}

/* v0.9.8.5.23 — opções pesadas da single carregadas sob demanda. */
.sqd-multi-select-lazy .sqd-filter-lazy-loading,
.sqd-multi-select-lazy .sqd-filter-lazy-error,
.sqd-multi-select-lazy .sqd-filter-lazy-empty {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  color: #64748b;
  font-size: 12px;
  font-weight: 750;
}
.sqd-multi-select-lazy .sqd-filter-lazy-error {
  justify-content: space-between;
  color: #b42318;
}
.sqd-multi-select-lazy .sqd-filter-lazy-error button {
  border: 0;
  border-radius: 999px;
  padding: 5px 10px;
  background: #eef4ff;
  color: #005bd7;
  cursor: pointer;
  font-weight: 850;
}
.sqd-multi-select-lazy.is-loading-options [data-sqd-multi-trigger] {
  opacity: .78;
}
.sqd-theme-dark .sqd-multi-select-lazy .sqd-filter-lazy-loading,
.sqd-theme-dark .sqd-multi-select-lazy .sqd-filter-lazy-empty {
  color: #cbd5e1;
}
.sqd-theme-dark .sqd-multi-select-lazy .sqd-filter-lazy-error {
  color: #fecaca;
}


/* Destaque transitório dos resultados após aplicação de filtros na home */
.sqd-results-shell.sqd-results-filter-highlight {
  animation: sqdResultsFilterHighlight 2.15s ease-out;
  border-radius: 18px;
}

@keyframes sqdResultsFilterHighlight {
  0% {
    box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.62), 0 10px 28px rgba(37, 99, 235, 0.18);
    background: rgba(37, 99, 235, 0.18);
    outline: 2px solid rgba(37, 99, 235, 0.68);
  }
  42% {
    box-shadow: 0 0 0 10px rgba(37, 99, 235, 0.18), 0 14px 34px rgba(37, 99, 235, 0.16);
    background: rgba(37, 99, 235, 0.12);
    outline: 2px solid rgba(37, 99, 235, 0.42);
  }
  100% {
    box-shadow: none;
    background: transparent;
    outline: 2px solid transparent;
  }
}

.sqd-theme-dark .sqd-results-shell.sqd-results-filter-highlight {
  animation-name: sqdResultsFilterHighlightDark;
}

@keyframes sqdResultsFilterHighlightDark {
  0% {
    box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.70), 0 10px 28px rgba(59, 130, 246, 0.22);
    background: rgba(59, 130, 246, 0.20);
    outline: 2px solid rgba(96, 165, 250, 0.74);
  }
  42% {
    box-shadow: 0 0 0 10px rgba(59, 130, 246, 0.22), 0 14px 34px rgba(59, 130, 246, 0.18);
    background: rgba(59, 130, 246, 0.14);
    outline: 2px solid rgba(96, 165, 250, 0.46);
  }
  100% {
    box-shadow: none;
    background: transparent;
    outline: 2px solid transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sqd-results-shell.sqd-results-filter-highlight {
    animation: none;
  }
}

/* Cards: hierarquia compacta de assuntos com expansão local */
.sqd-card-subject-hierarchy {
  max-width: 100%;
}
.sqd-card-main-subject {
  gap: 6px;
}
.sqd-card-subject-primary,
.sqd-card-subject-chip em {
  display: inline-flex;
  align-items: center;
  padding: 1px 6px;
  border-radius: 999px;
  background: rgba(17,24,39,.08);
  color: #111827;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .03em;
  line-height: 1.35;
  text-transform: uppercase;
}
.sqd-card-subjects-toggle {
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 9px;
  border: 1px solid #d7dde8;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}
.sqd-card-subjects-toggle:hover,
.sqd-card-subjects-toggle:focus-visible {
  border-color: #b9c3d3;
  background: #eef2f7;
  color: #1f2937;
  outline: none;
  transform: translateY(-1px);
}
.sqd-card-subjects-extra {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  min-width: 0;
}
.sqd-card-subjects-extra[hidden] {
  display: none !important;
}

.sqd-card-subject-hierarchy.is-card-subjects-expanded .sqd-card-subjects-extra {
  display: inline-flex;
}
.sqd-card-subject-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 25px;
  max-width: 520px;
  padding: 0 9px;
  border: 1px solid #d7dde8;
  border-radius: 999px;
  background: #f3f4f6;
  color: #374151 !important;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  overflow: hidden;
  text-decoration: none !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sqd-card-subject-chip:hover,
.sqd-card-subject-chip:focus-visible {
  border-color: #b9c3d3;
  background: #e5e7eb;
  color: #111827 !important;
  outline: none;
}
.sqd-theme-dark .sqd-card-subject-primary,
.sqd-theme-dark .sqd-card-subject-chip em {
  background: rgba(248,250,252,.12);
  color: #f8fafc;
}
.sqd-theme-dark .sqd-card-subjects-toggle,
.sqd-theme-dark .sqd-card-subject-chip {
  border-color: rgba(148,163,184,.28);
  background: rgba(148,163,184,.12);
  color: #e5e7eb !important;
}
.sqd-theme-dark .sqd-card-subjects-toggle:hover,
.sqd-theme-dark .sqd-card-subjects-toggle:focus-visible,
.sqd-theme-dark .sqd-card-subject-chip:hover,
.sqd-theme-dark .sqd-card-subject-chip:focus-visible {
  border-color: rgba(203,213,225,.42);
  background: rgba(148,163,184,.18);
  color: #f8fafc !important;
}
@media (max-width: 760px) {
  .sqd-card-subject-hierarchy {
    gap: 6px;
  }
  .sqd-card-subjects-extra {
    width: 100%;
  }
  .sqd-card-subject-chip {
    max-width: 100%;
  }
}

/* v0.9.8.5.34 - Filtros salvos no SQD ---------------------------------- */
.sqd-saved-filters-box {
  position: relative;
  margin: 0 0 14px;
}
.sqd-saved-filters-toggle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 14px;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 12px 14px;
  border: 1px solid #dbe5f2;
  border-radius: 13px;
  background: #ffffff;
  color: #1f2d46;
  text-align: left;
  box-shadow: 0 8px 22px rgba(15, 33, 66, .045);
}
.sqd-saved-filters-toggle:hover,
.sqd-saved-filters-toggle[aria-expanded="true"] {
  border-color: #c5d5e9;
  background: #f8fafc;
}
.sqd-saved-filters-toggle-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #eef2f7;
  color: #475569;
  font-size: 14px;
}
.sqd-saved-filters-toggle strong,
.sqd-saved-filters-toggle small {
  display: block;
  line-height: 1.25;
}
.sqd-saved-filters-toggle strong { font-size: 15px; font-weight: 850; }
.sqd-saved-filters-toggle small { margin-top: 3px; color: #64748b; font-size: 12px; }
.sqd-saved-filters-toggle em { color: #64748b; font-style: normal; }
.sqd-saved-filters-panel {
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #dbe5f2;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(15, 33, 66, .08);
}
.sqd-saved-filters-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}
.sqd-saved-filters-panel-head strong {
  font-size: 14px;
  color: #1f2d46;
}
.sqd-saved-filters-panel-head button {
  width: 28px;
  height: 28px;
  border: 1px solid #dbe5f2;
  border-radius: 9px;
  background: #fff;
  color: #475569;
  font-weight: 900;
}
.sqd-saved-filters-status {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 10px 11px;
  border-radius: 11px;
  border: 1px solid #dbe5f2;
  background: #f8fafc;
  color: #334155;
  font-size: 12px;
  line-height: 1.35;
}
.sqd-saved-filters-status:empty,
.sqd-saved-filters-status[hidden] { display: none; }
.sqd-saved-filters-status strong { font-size: 13px; color: #1f2d46; }
.sqd-saved-filters-status span { display: block; }
.sqd-saved-filters-status.is-success {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.sqd-saved-filters-status.is-success strong { color: #14532d; }
.sqd-saved-filters-status.is-warning {
  border-color: #fde68a;
  background: #fffbeb;
  color: #92400e;
}
.sqd-saved-filters-status.is-warning strong { color: #78350f; }
.sqd-saved-filters-status.is-error,
.sqd-saved-filters-status.is-locked {
  border-color: #fecaca;
  background: #fef2f2;
  color: #991b1b;
}
.sqd-saved-filters-status.is-error strong,
.sqd-saved-filters-status.is-locked strong { color: #7f1d1d; }
.sqd-saved-cta {
  justify-self: start;
  margin-top: 5px;
  padding: 7px 10px;
  border-radius: 9px;
  background: #16a34a;
  color: #fff !important;
  font-weight: 850;
  text-decoration: none !important;
}
.sqd-saved-filters-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}
.sqd-saved-filters-list .sqd-saved-item {
  width: 100%;
  min-width: 0;
  flex: none;
  padding: 10px 11px;
  border-radius: 11px;
  background: #f8fafc;
}
.sqd-saved-filters-list .sqd-saved-actions button:first-child {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.sqd-saved-filters-list .sqd-saved-actions button:last-child {
  color: #7f1d1d;
}
.sqd-sidebar-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  margin-top: 10px;
}
.sqd-sidebar-actions .sqd-sidebar-save,
.sqd-sidebar-actions .sqd-sidebar-clear {
  margin-top: 0;
}
.sqd-sidebar-save {
  border: 1px solid #16a34a;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 12px 28px rgba(22, 163, 74, .24);
}
.sqd-sidebar-save:hover {
  background: linear-gradient(135deg, #15803d, #16a34a);
}
.sqd-sidebar-save.is-loading {
  opacity: .76;
  cursor: wait;
}
.sqd-sidebar-save-glow {
  animation: sqdSavedFilterGlow 2.4s ease-out 3;
}
@keyframes sqdSavedFilterGlow {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .55), 0 12px 28px rgba(22, 163, 74, .24); }
  50% { box-shadow: 0 0 0 8px rgba(34, 197, 94, .16), 0 16px 34px rgba(22, 163, 74, .32); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0), 0 12px 28px rgba(22, 163, 74, .24); }
}
.sqd-theme-dark .sqd-saved-filters-toggle,
.sqd-theme-dark .sqd-saved-filters-panel,
body.sqd-theme-dark .sqd-saved-filters-toggle,
body.sqd-theme-dark .sqd-saved-filters-panel {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .96);
  color: #e5edf8;
}
.sqd-theme-dark .sqd-saved-filters-toggle:hover,
.sqd-theme-dark .sqd-saved-filters-toggle[aria-expanded="true"] {
  background: rgba(30, 41, 59, .96);
}
.sqd-theme-dark .sqd-saved-filters-toggle-icon {
  background: rgba(148, 163, 184, .14);
  color: #cbd5e1;
}
.sqd-theme-dark .sqd-saved-filters-toggle small,
.sqd-theme-dark .sqd-saved-filters-toggle em,
.sqd-theme-dark .sqd-saved-item small {
  color: #94a3b8;
}
.sqd-theme-dark .sqd-saved-filters-panel-head strong,
.sqd-theme-dark .sqd-saved-filters-status strong {
  color: #e5edf8;
}
.sqd-theme-dark .sqd-saved-filters-list .sqd-saved-item,
body.sqd-theme-dark .sqd-saved-filters-list .sqd-saved-item {
  border-color: rgba(148, 163, 184, .24);
  background: rgba(30, 41, 59, .86);
  color: #e5edf8;
}
@media (max-width: 520px) {
  .sqd-sidebar-actions { grid-template-columns: 1fr; }
}

/* v0.9.8.5.36 — ajustes de filtros salvos */
.sqd-saved-filters-toggle-icon svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sqd-active-filter-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.sqd-chip-save-filter {
  border-color: #16a34a !important;
  background: #ecfdf5 !important;
  color: #166534 !important;
  font-weight: 850;
}
.sqd-chip-save-filter:hover,
.sqd-chip-save-filter:focus-visible {
  border-color: #15803d !important;
  background: #dcfce7 !important;
  color: #14532d !important;
}
.sqd-chip-save-filter.is-loading {
  opacity: .74;
  cursor: wait;
}
.sqd-saved-filters-list .sqd-saved-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  justify-content: flex-start;
  margin-top: 8px;
}
.sqd-saved-filters-list .sqd-saved-actions button {
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid #dbe5f2;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-size: 12px;
  font-weight: 750;
}
.sqd-saved-filters-list .sqd-saved-actions button:hover,
.sqd-saved-filters-list .sqd-saved-actions button:focus-visible {
  border-color: #c5d5e9;
  background: #f8fafc;
}
.sqd-saved-filters-list .sqd-saved-actions button[data-sqd-load-saved] {
  border-color: #bbf7d0;
  background: #f0fdf4;
  color: #166534;
}
.sqd-saved-filters-list .sqd-saved-actions button[data-sqd-delete-saved] {
  color: #7f1d1d;
}
.sqd-theme-dark .sqd-chip-save-filter,
body.sqd-theme-dark .sqd-chip-save-filter {
  border-color: rgba(74, 222, 128, .42) !important;
  background: rgba(22, 101, 52, .26) !important;
  color: #bbf7d0 !important;
}
.sqd-theme-dark .sqd-saved-filters-list .sqd-saved-actions button,
body.sqd-theme-dark .sqd-saved-filters-list .sqd-saved-actions button {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .86);
  color: #e5edf8;
}
.sqd-theme-dark .sqd-saved-filters-list .sqd-saved-actions button[data-sqd-load-saved],
body.sqd-theme-dark .sqd-saved-filters-list .sqd-saved-actions button[data-sqd-load-saved] {
  border-color: rgba(74, 222, 128, .38);
  background: rgba(22, 101, 52, .22);
  color: #bbf7d0;
}
@media (max-width: 520px) {
  .sqd-active-filter-actions { width: 100%; }
  .sqd-active-filter-actions .sqd-chip { flex: 1 1 auto; justify-content: center; }
}

/* v0.9.8.5.37 — refinamentos visuais de filtros salvos */
.sqd-sidebar-link + .sqd-saved-filters-box,
.sqd-saved-filters-box {
  margin-top: 12px;
}
.sqd-chip-save-filter.is-saved {
  border-color: #cbd5e1 !important;
  background: #f8fafc !important;
  color: #334155 !important;
  box-shadow: none !important;
  animation: none !important;
}
.sqd-chip-save-filter.is-saved:hover,
.sqd-chip-save-filter.is-saved:focus-visible {
  border-color: #94a3b8 !important;
  background: #f1f5f9 !important;
  color: #0f172a !important;
}
.sqd-saved-dialog-open {
  overflow: hidden;
}
.sqd-saved-dialog-backdrop {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(15, 23, 42, .42);
  backdrop-filter: blur(6px);
}
.sqd-saved-dialog-backdrop[hidden] {
  display: none !important;
}
.sqd-saved-dialog {
  position: relative;
  width: min(440px, 100%);
  padding: 22px;
  border: 1px solid rgba(203, 213, 225, .95);
  border-radius: 22px;
  background: #ffffff;
  box-shadow: 0 28px 80px rgba(15, 23, 42, .24);
  color: #1f2d46;
}
.sqd-saved-dialog-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  border-radius: 11px;
  background: #fff;
  color: #64748b;
  font-size: 20px;
  font-weight: 850;
  line-height: 1;
}
.sqd-saved-dialog-x:hover,
.sqd-saved-dialog-x:focus-visible {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #0f172a;
}
.sqd-saved-dialog-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: #ecfdf5;
  color: #15803d;
  font-size: 20px;
  font-weight: 900;
}
.sqd-saved-dialog-backdrop.is-danger .sqd-saved-dialog-icon {
  background: #fef2f2;
  color: #b91c1c;
}
.sqd-saved-dialog-backdrop.is-warning .sqd-saved-dialog-icon {
  background: #fffbeb;
  color: #b45309;
}
.sqd-saved-dialog-copy {
  display: grid;
  gap: 6px;
  padding-right: 34px;
}
.sqd-saved-dialog-copy strong {
  color: #0f2346;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.sqd-saved-dialog-copy p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.45;
}
.sqd-saved-dialog-field {
  display: grid;
  gap: 7px;
  margin-top: 16px;
}
.sqd-saved-dialog-field[hidden] {
  display: none !important;
}
.sqd-saved-dialog-field span {
  color: #334155;
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.sqd-saved-dialog-field input {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #cbd5e1;
  border-radius: 13px;
  background: #fff;
  color: #0f172a;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}
.sqd-saved-dialog-field input:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, .12);
}
.sqd-saved-dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 18px;
}
.sqd-saved-dialog-actions button {
  min-height: 42px;
  padding: 9px 15px;
  border-radius: 12px;
  font-weight: 850;
  cursor: pointer;
}
.sqd-saved-dialog-secondary {
  border: 1px solid #dbe5f2;
  background: #fff;
  color: #334155;
}
.sqd-saved-dialog-secondary:hover,
.sqd-saved-dialog-secondary:focus-visible {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.sqd-saved-dialog-primary {
  border: 1px solid #16a34a;
  background: linear-gradient(135deg, #16a34a, #22c55e);
  color: #fff;
  box-shadow: 0 12px 26px rgba(22, 163, 74, .22);
}
.sqd-saved-dialog-primary:hover,
.sqd-saved-dialog-primary:focus-visible {
  background: linear-gradient(135deg, #15803d, #16a34a);
}
.sqd-saved-dialog-backdrop.is-danger .sqd-saved-dialog-primary {
  border-color: #dc2626;
  background: linear-gradient(135deg, #dc2626, #ef4444);
  box-shadow: 0 12px 26px rgba(220, 38, 38, .2);
}
.sqd-saved-dialog-backdrop.is-warning .sqd-saved-dialog-primary {
  border-color: #2563eb;
  background: linear-gradient(135deg, #174ea6, #2563eb);
  box-shadow: 0 12px 26px rgba(37, 99, 235, .18);
}
.sqd-theme-dark .sqd-chip-save-filter.is-saved,
body.sqd-theme-dark .sqd-chip-save-filter.is-saved {
  border-color: rgba(148, 163, 184, .32) !important;
  background: rgba(30, 41, 59, .82) !important;
  color: #e2e8f0 !important;
}
.sqd-theme-dark .sqd-saved-dialog,
body.sqd-theme-dark .sqd-saved-dialog {
  border-color: rgba(148, 163, 184, .28);
  background: #0f172a;
  color: #e5edf8;
}
.sqd-theme-dark .sqd-saved-dialog-copy strong,
body.sqd-theme-dark .sqd-saved-dialog-copy strong,
.sqd-theme-dark .sqd-saved-dialog-field span,
body.sqd-theme-dark .sqd-saved-dialog-field span {
  color: #e5edf8;
}
.sqd-theme-dark .sqd-saved-dialog-copy p,
body.sqd-theme-dark .sqd-saved-dialog-copy p {
  color: #94a3b8;
}
.sqd-theme-dark .sqd-saved-dialog-field input,
body.sqd-theme-dark .sqd-saved-dialog-field input,
.sqd-theme-dark .sqd-saved-dialog-x,
body.sqd-theme-dark .sqd-saved-dialog-x,
.sqd-theme-dark .sqd-saved-dialog-secondary,
body.sqd-theme-dark .sqd-saved-dialog-secondary {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .96);
  color: #e5edf8;
}
@media (max-width: 520px) {
  .sqd-saved-dialog-backdrop { padding: 14px; }
  .sqd-saved-dialog { padding: 18px; border-radius: 18px; }
  .sqd-saved-dialog-actions { flex-direction: column-reverse; }
  .sqd-saved-dialog-actions button { width: 100%; }
}


/* v0.9.8.5.38 — lista de filtros salvos mais navegável */
.sqd-saved-filters-panel-head strong span {
  display: inline-block;
  margin-left: 4px;
  color: #64748b;
  font-size: 12px;
  font-weight: 800;
}
.sqd-saved-filters-search {
  display: block;
  margin: -2px 0 10px;
}
.sqd-saved-filters-search[hidden] {
  display: none !important;
}
.sqd-saved-filters-search input {
  width: 100%;
  min-height: 38px;
  padding: 9px 11px;
  border: 1px solid #dbe5f2;
  border-radius: 11px;
  background: #f8fafc;
  color: #1f2d46;
  font-size: 13px;
  font-weight: 650;
  outline: none;
}
.sqd-saved-filters-search input::placeholder {
  color: #94a3b8;
}
.sqd-saved-filters-search input:focus {
  border-color: #93c5fd;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .10);
}
.sqd-saved-filters-list {
  scrollbar-width: thin;
  scrollbar-color: #cbd5e1 transparent;
}
.sqd-saved-filters-list::-webkit-scrollbar {
  width: 8px;
}
.sqd-saved-filters-list::-webkit-scrollbar-track {
  background: transparent;
}
.sqd-saved-filters-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #cbd5e1;
}
.sqd-saved-filters-scroll-hint {
  position: sticky;
  bottom: -12px;
  display: grid;
  place-items: center;
  width: calc(100% + 24px);
  height: 34px;
  margin: -12px -12px -12px;
  border: 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,0), #ffffff 42%, #f8fafc 100%);
  color: #64748b;
  font-weight: 900;
  cursor: pointer;
}
.sqd-saved-filters-scroll-hint[hidden] {
  display: none !important;
}
.sqd-saved-filters-scroll-hint span {
  display: grid;
  place-items: center;
  width: 26px;
  height: 20px;
  border-top: 1px solid #dbe5f2;
  color: #64748b;
  line-height: 1;
}
.sqd-saved-filters-scroll-hint:hover span,
.sqd-saved-filters-scroll-hint:focus-visible span {
  color: #1f2d46;
}
.sqd-theme-dark .sqd-saved-filters-panel-head strong span,
body.sqd-theme-dark .sqd-saved-filters-panel-head strong span {
  color: #94a3b8;
}
.sqd-theme-dark .sqd-saved-filters-search input,
body.sqd-theme-dark .sqd-saved-filters-search input {
  border-color: rgba(148, 163, 184, .28);
  background: rgba(15, 23, 42, .78);
  color: #e5edf8;
}
.sqd-theme-dark .sqd-saved-filters-search input:focus,
body.sqd-theme-dark .sqd-saved-filters-search input:focus {
  border-color: rgba(96, 165, 250, .6);
  background: rgba(15, 23, 42, .96);
  box-shadow: 0 0 0 3px rgba(96, 165, 250, .13);
}
.sqd-theme-dark .sqd-saved-filters-scroll-hint,
body.sqd-theme-dark .sqd-saved-filters-scroll-hint {
  background: linear-gradient(180deg, rgba(15,23,42,0), rgba(15,23,42,.98) 42%, rgba(30,41,59,.98) 100%);
  color: #94a3b8;
}
.sqd-theme-dark .sqd-saved-filters-scroll-hint span,
body.sqd-theme-dark .sqd-saved-filters-scroll-hint span {
  border-top-color: rgba(148, 163, 184, .28);
  color: #94a3b8;
}
