/* Wide chrome for /gerador-certificado-online/. Behavior stays in printables.js. */
body.page-gerador-certificado-online .ct-page,
body.page-gerador-certificado-online .ct-page *,
body.page-gerador-certificado-online .ct-page *::before,
body.page-gerador-certificado-online .ct-page *::after {
  box-sizing: border-box;
}
body.page-gerador-certificado-online .ct-page {
  position: relative;
  word-break: normal;
}
body.page-gerador-certificado-online .ct-page .conv-title {
  font-size: clamp(1.45rem, 1.7vw, 1.85rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
  hyphens: manual;
  word-break: normal;
  overflow-wrap: normal;
}
body.page-gerador-certificado-online .article .ct-page .conv-lede {
  margin: 0 0 18px;
  color: #4f63b8;
  font-size: 1.02rem;
  line-height: 1.4;
}
body.page-gerador-certificado-online .ct-page .conv-perks strong { color: #1d4ed8; }
body.page-gerador-certificado-online .ct-page .conv-perk.is-print,
body.page-gerador-certificado-online .ct-page .conv-perk.is-date {
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}
body.page-gerador-certificado-online .ct-page .conv-perk.is-print {
  background-color: #ede9fe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237c3aed' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9V3h12v6'/%3E%3Cpath d='M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M6 14h12v7H6z'/%3E%3C/svg%3E");
}
body.page-gerador-certificado-online .ct-page .conv-perk.is-date {
  background-color: #ffedd5;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ea580c' stroke-width='2' stroke-linecap='round'%3E%3Crect x='4' y='5' width='16' height='15' rx='2'/%3E%3Cpath d='M8 3v4M16 3v4M4 10h16'/%3E%3C/svg%3E");
}
body.page-gerador-certificado-online .article .ct-page img.conv-art {
  max-width: 100%;
  margin: 8px 0 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
body.page-gerador-certificado-online .ct-page .print-app {
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}
body.page-gerador-certificado-online .ct-page .ct-board {
  display: grid;
  gap: 12px;
  min-width: 0;
}
body.page-gerador-certificado-online .ct-page .ct-main,
body.page-gerador-certificado-online .ct-page .ct-side {
  display: grid;
  gap: 12px;
  min-width: 0;
  align-content: start;
}
body.page-gerador-certificado-online .ct-page .conv-steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.page-gerador-certificado-online .ct-page .conv-steps strong,
body.page-gerador-certificado-online .ct-page .conv-steps small {
  word-break: normal;
  overflow-wrap: normal;
}
body.page-gerador-certificado-online .ct-page .ct-card {
  min-width: 0;
  padding: 14px 16px 16px;
  border: 1px solid #e3e9f1;
  border-radius: 18px;
  background: #fff;
}
body.page-gerador-certificado-online .ct-page .ct-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
}
body.page-gerador-certificado-online .article .ct-page h2.ct-card-title {
  display: block;
  margin: 0;
  color: #172033;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
}
body.page-gerador-certificado-online .ct-page .ct-num {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #2563eb;
  color: #fff;
  font-size: 0.86rem;
  font-weight: 800;
}
body.page-gerador-certificado-online .ct-page .ct-num-doc {
  background-color: #dbeafe;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='2'%3E%3Cpath d='M7 3h7l5 5v13H7z'/%3E%3Cpath d='M14 3v5h5M8 13h8M8 17h5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px 16px;
  color: transparent;
  font-size: 0;
}
body.page-gerador-certificado-online .ct-page .print-tpl-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 8px !important;
}
body.page-gerador-certificado-online .ct-page .print-tpl {
  align-items: center !important;
  gap: 6px !important;
  padding: 8px !important;
  border: 1.5px solid #e3e9f1 !important;
  border-radius: 14px !important;
  background-color: #fff !important;
  background-image: none !important;
  color: #172033 !important;
  text-align: center;
  box-shadow: none !important;
  transition: none;
}
body.page-gerador-certificado-online .ct-page .print-tpl:hover { border-color: #93c5fd !important; }
body.page-gerador-certificado-online .ct-page .print-tpl.is-active {
  border-color: #2563eb !important;
  background-color: #f5f9ff !important;
  background-image: none !important;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12) !important;
}
body.page-gerador-certificado-online .ct-page .print-tpl-swatch {
  height: 68px !important;
  padding: 5px 6px !important;
  border-radius: 8px !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: inset 0 0 0 1px #e6ebf2 !important;
}
body.page-gerador-certificado-online .ct-page .print-tpl-swatch::before,
body.page-gerador-certificado-online .ct-page .print-tpl-swatch::after {
  content: none !important;
  display: none !important;
  background: none !important;
}
body.page-gerador-certificado-online .ct-page .ct-mini {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 3px;
  background: #fff;
  pointer-events: none;
}
body.page-gerador-certificado-online .ct-page .ct-mini i,
body.page-gerador-certificado-online .ct-page .ct-mini b {
  display: block;
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 800;
}
body.page-gerador-certificado-online .ct-page .ct-mini::before {
  content: "CERTIFICADO";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 16px;
  color: #8a6a2f;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: 0.03em;
  line-height: 1;
  text-align: center;
}
body.page-gerador-certificado-online .ct-page .ct-mini-classic {
  background:
    linear-gradient(225deg, #1a3358 0 22%, transparent 22.4%),
    linear-gradient(45deg, #1a3358 0 22%, transparent 22.4%),
    #fffaf0;
  box-shadow: inset 0 0 0 2px #c4a35a, inset 0 0 0 4px #fffaf0, inset 0 0 0 5px #e6d3a1;
}
body.page-gerador-certificado-online .ct-page .ct-mini-classic i {
  position: absolute;
  left: 58%;
  bottom: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff8e8 0 35%, #c4a35a 36% 48%, #fff8e8 49% 62%, #c4a35a 63%);
}
body.page-gerador-certificado-online .ct-page .ct-mini-moderno {
  background: radial-gradient(circle at -20% 55%, #1a478c 0 34%, #3b82f6 35% 42%, transparent 43%), #fff;
}
body.page-gerador-certificado-online .ct-page .ct-mini-moderno::before { left: 28px; color: #1a478c; text-align: left; }
body.page-gerador-certificado-online .ct-page .ct-mini-moderno i,
body.page-gerador-certificado-online .ct-page .ct-mini-moderno b { display: none; }
body.page-gerador-certificado-online .ct-page .ct-mini-elegante {
  background: #f8f1f3;
  box-shadow: inset 0 0 0 2px #6b1d32, inset 0 0 0 4px #f8f1f3, inset 0 0 0 5px #c08497;
}
body.page-gerador-certificado-online .ct-page .ct-mini-elegante::before { color: #6b1d32; }
body.page-gerador-certificado-online .ct-page .ct-mini-elegante i { display: none; }
body.page-gerador-certificado-online .ct-page .ct-mini-escolar {
  box-shadow: inset 0 0 0 3px #0d6b52, inset 0 0 0 5px #fff, inset 0 0 0 6px #6ee7b7;
}
body.page-gerador-certificado-online .ct-page .ct-mini-escolar::before { color: #0d6b52; top: 18px; }
body.page-gerador-certificado-online .ct-page .ct-mini-escolar b {
  position: absolute;
  left: 8px;
  right: 8px;
  top: 6px;
  height: 8px;
  background: #0d6b52;
}
body.page-gerador-certificado-online .ct-page .ct-mini-escolar i { display: none; }
body.page-gerador-certificado-online .ct-page .ct-mini-part {
  background: #fffaf0;
  box-shadow: inset 0 0 0 2px #c4a35a, inset 0 0 0 4px #fffaf0, inset 0 0 0 5px #e6d3a1;
}
body.page-gerador-certificado-online .ct-page .ct-mini-part::before { color: #1a3358; }
body.page-gerador-certificado-online .ct-page .ct-mini-part b {
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 8px;
  height: 10px;
  background: #1a3358;
}
body.page-gerador-certificado-online .ct-page .ct-mini-part i {
  position: absolute;
  right: 10px;
  bottom: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, #fff8e8 0 40%, #c4a35a 41%);
}
body.page-gerador-certificado-online .ct-page .ct-mini-premio {
  background: #fffaf0;
  box-shadow: inset 0 0 0 2px #c4a35a, inset 0 0 0 4px #fffaf0, inset 0 0 0 5px #e6d3a1;
}
body.page-gerador-certificado-online .ct-page .ct-mini-premio::before { top: 28px; }
body.page-gerador-certificado-online .ct-page .ct-mini-premio i {
  position: absolute;
  left: 50%;
  top: 6px;
  width: 8px;
  height: 8px;
  margin-left: -4px;
  border-radius: 50%;
  background: #c4a35a;
  box-shadow:
    7px 0 0 -2px #c4a35a,
    -7px 0 0 -2px #c4a35a,
    0 7px 0 -2px #c4a35a,
    0 -7px 0 -2px #e6d3a1,
    5px 5px 0 -2px #e6d3a1,
    -5px 5px 0 -2px #e6d3a1,
    5px -5px 0 -2px #e6d3a1,
    -5px -5px 0 -2px #c4a35a;
}
body.page-gerador-certificado-online .ct-page .ct-mini-corp {
  box-shadow: inset 0 8px 0 #14233f, inset 0 -8px 0 #14233f, inset 0 10px 0 #c4a35a, inset 0 -10px 0 #c4a35a;
}
body.page-gerador-certificado-online .ct-page .ct-mini-corp::before { color: #14233f; top: 20px; }
body.page-gerador-certificado-online .ct-page .ct-mini-corp i,
body.page-gerador-certificado-online .ct-page .ct-mini-corp b { display: none; }
body.page-gerador-certificado-online .ct-page .ct-mini-min {
  box-shadow: inset 0 0 0 1px #cbd5e1;
}
body.page-gerador-certificado-online .ct-page .ct-mini-min::before { color: #64748b; top: 14px; }
body.page-gerador-certificado-online .ct-page .ct-mini-min i {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1px;
  background: #172033;
}
body.page-gerador-certificado-online .ct-page .ct-mini-min i:first-child { top: 8px; }
body.page-gerador-certificado-online .ct-page .ct-mini-min i:last-child { top: 11px; background: #172033; }
body.page-gerador-certificado-online .ct-page .print-tpl-name {
  color: #172033 !important;
  font-size: 0.78rem !important;
  font-weight: 800 !important;
  line-height: 1.2;
  text-align: center;
  word-break: normal;
}
body.page-gerador-certificado-online .ct-page .print-tpl-hint {
  color: #64748b !important;
  font-size: 0.68rem !important;
  font-weight: 600 !important;
  line-height: 1.25;
  text-align: center;
  word-break: normal;
}
body.page-gerador-certificado-online .ct-page .ct-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}
body.page-gerador-certificado-online .ct-page .ct-span { grid-column: 1 / -1; }
body.page-gerador-certificado-online .ct-page .ct-field {
  display: block;
  min-width: 0;
  margin: 0;
  color: #172033;
  font-size: 0.82rem;
  font-weight: 700;
}
body.page-gerador-certificado-online .ct-page .ct-field input {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 46px;
  margin: 6px 0 0;
  padding: 8px 12px;
  border: 1px solid #e3e9f1;
  border-radius: 12px;
  background: #fff;
  color: #172033;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: none;
}
body.page-gerador-certificado-online .article .ct-page .ct-hint,
body.page-gerador-certificado-online .article .ct-page .ct-stale,
body.page-gerador-certificado-online .article .ct-page .print-status,
body.page-gerador-certificado-online .article .ct-page .print-meta {
  margin: 8px 0 0;
  color: #64748b;
  font-size: 0.78rem;
  line-height: 1.35;
  text-align: left;
}
body.page-gerador-certificado-online .ct-page .print-status.is-ok { color: #15803d; }
body.page-gerador-certificado-online .ct-page .print-status.is-error { color: #b91c1c; }
body.page-gerador-certificado-online .ct-page .print-status.is-loading { color: #2563eb; }
body.page-gerador-certificado-online .ct-page .ct-stale { color: #b45309; }
body.page-gerador-certificado-online .ct-page .ct-stage {
  padding: 12px;
  border-radius: 12px;
  background: #f4f7fb;
}
body.page-gerador-certificado-online .ct-page .ct-sheet {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 210 / 297;
  margin: 0 auto;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
  overflow: hidden;
}
body.page-gerador-certificado-online .ct-page .ct-sheet.is-land {
  width: min(100%, 520px);
  aspect-ratio: 297 / 210;
}
body.page-gerador-certificado-online .ct-page .ct-sheet canvas,
body.page-gerador-certificado-online .ct-page .ct-sheet iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  border: 0;
  background: #fff;
}
body.page-gerador-certificado-online .ct-page .ct-sheet canvas { z-index: 1; }
body.page-gerador-certificado-online .ct-page .ct-sheet iframe.ct-off {
  position: fixed;
  inset: auto;
  left: 0;
  top: 0;
  width: 794px;
  height: 1123px;
  transform: translateX(-120vw);
  pointer-events: none;
  z-index: 0;
}
body.page-gerador-certificado-online .ct-page #print-preview-empty { display: none !important; }
body.page-gerador-certificado-online .ct-page .ct-facts { margin: 0; }
body.page-gerador-certificado-online .ct-page .ct-facts div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid #e6ebf2;
}
body.page-gerador-certificado-online .ct-page .ct-facts div:last-child { border-bottom: 0; padding-bottom: 0; }
body.page-gerador-certificado-online .ct-page .ct-facts dt {
  color: #64748b;
  font-size: 0.82rem;
  font-weight: 600;
}
body.page-gerador-certificado-online .ct-page .ct-facts dd {
  margin: 0;
  max-width: 62%;
  color: #1e293b;
  font-size: 0.86rem;
  font-weight: 800;
  text-align: right;
  word-break: normal;
}
body.page-gerador-certificado-online .ct-page .ct-actions { display: grid; gap: 8px; min-width: 0; }
body.page-gerador-certificado-online .ct-page .ct-action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
body.page-gerador-certificado-online .ct-page .ct-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #e6ebf2;
  border-radius: 12px;
  background: #fff;
  color: #1e293b;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  transition: none;
}
body.page-gerador-certificado-online .ct-page .ct-btn svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
body.page-gerador-certificado-online .ct-page .ct-go,
body.page-gerador-certificado-online .article .ct-page button#print-btn-gen {
  min-height: 52px;
  border: 0 !important;
  border-radius: 14px;
  background-color: #f5b400 !important;
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
  font-size: 1rem;
  transition: none;
}
body.page-gerador-certificado-online .ct-page .ct-go svg { fill: currentColor; stroke: none; }
body.page-gerador-certificado-online .ct-page .ct-go:disabled,
body.page-gerador-certificado-online .article .ct-page button#print-btn-gen:disabled {
  background-color: #f3f0e4 !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
body.page-gerador-certificado-online .ct-page .ct-dl:disabled,
body.page-gerador-certificado-online .ct-page .ct-print:disabled {
  background: #f8fafc !important;
  color: #94a3b8 !important;
  -webkit-text-fill-color: #94a3b8 !important;
  opacity: 1 !important;
  cursor: not-allowed;
}
body.page-gerador-certificado-online .ct-page .ct-dl:not(:disabled),
body.page-gerador-certificado-online .ct-page .ct-print:not(:disabled) {
  border-color: #bfdbfe !important;
  background: #eff6ff !important;
  color: #1d4ed8 !important;
  -webkit-text-fill-color: #1d4ed8 !important;
  opacity: 1 !important;
}
body.page-gerador-certificado-online .ct-page .ct-sample {
  min-height: 40px;
  background: #fff;
  color: #475569;
  font-size: 0.84rem;
}
body.page-gerador-certificado-online .ct-page .ct-recents {
  display: none;
  width: auto;
  max-width: none;
  margin: 14px 0 0;
  padding: 0;
  background: transparent;
  border: 0;
  min-height: 0;
}
body.page-gerador-certificado-online .ct-page .ct-recents:has(.pdf-hist-host:not([hidden])) { display: block; }
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-host { width: 100%; margin: 0; padding: 0; }
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-title-wrap {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-label,
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-hint { display: block; }
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-list {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)) !important;
  gap: 10px;
}
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-name,
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-sub {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.page-gerador-certificado-online .article .ct-page .ct-recents .itool-hist-list > li,
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-list > li { margin: 0; }
body.page-gerador-certificado-online .article .ct-page .ct-recents .itool-hist-list > li::before,
body.page-gerador-certificado-online .ct-page .ct-recents .itool-hist-list > li::before {
  content: none;
  display: none;
}
body.page-gerador-certificado-online .ct-page [hidden] { display: none !important; }
body.page-gerador-certificado-online .ct-app > .cpdf-success {
  display: none;
  position: static;
  width: 100%;
  margin: 0 0 12px;
  padding: 12px 14px;
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  background: #f0fdf4;
}
body.page-gerador-certificado-online .ct-app > .cpdf-success.is-visible {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
}
body.page-gerador-certificado-online .ct-app .cpdf-success-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  flex: none;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
}
body.page-gerador-certificado-online .ct-app .cpdf-success-title {
  margin: 0;
  color: #14532d;
  font-size: 0.95rem;
  font-weight: 800;
}
body.page-gerador-certificado-online .ct-app .cpdf-success-msg,
body.page-gerador-certificado-online .ct-app .cpdf-success-stats {
  margin: 2px 0 0;
  color: #166534;
  font-size: 0.8rem;
}
body.page-gerador-certificado-online .ct-app .cpdf-success-dl {
  appearance: none;
  border: 0;
  border-radius: 10px;
  background: #16a34a;
  color: #fff;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  padding: 8px 12px;
  cursor: pointer;
}
body.page-gerador-certificado-online .ct-app .cpdf-success-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  width: 100%;
}
body.page-gerador-certificado-online .ct-app .cpdf-success-link {
  color: #1d4ed8;
  font-size: 0.8rem;
  font-weight: 700;
}
@media (min-width: 900px) {
  body.page-gerador-certificado-online .ct-page .print-tpl-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 720px) {
  body.page-gerador-certificado-online .ct-page .conv-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 640px) {
  body.page-gerador-certificado-online .ct-page .ct-fields { grid-template-columns: 1fr; }
}
@media (min-width: 981px) and (max-width: 1099px) {
  body.page-gerador-certificado-online .ct-page .conv-title { font-size: 1.28rem; }
}
@media (min-width: 1100px) {
  body.page-gerador-certificado-online .ct-page { --cv-aside: clamp(240px, 18vw, 300px); }
  body.page-gerador-certificado-online .ct-page .ct-board {
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.82fr);
    grid-template-areas:
      "steps steps"
      "main side";
  }
  body.page-gerador-certificado-online .ct-page .conv-steps { grid-area: steps; }
  body.page-gerador-certificado-online .ct-page .ct-main { grid-area: main; }
  body.page-gerador-certificado-online .ct-page .ct-side { grid-area: side; }
}
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-card,
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .print-tpl,
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-field input,
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-btn {
  background-color: #1e293b !important;
  background-image: none !important;
  border-color: #334155 !important;
  color: #e2e8f0 !important;
}
html[data-theme="dark"] body.page-gerador-certificado-online .article .ct-page h2.ct-card-title,
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .print-tpl-name,
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-facts dd,
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-field { color: #f1f5f9 !important; }
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .print-tpl-swatch {
  background-color: #fff !important;
  background-image: none !important;
}
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-stage { background: #0f172a; }
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .ct-go,
html[data-theme="dark"] body.page-gerador-certificado-online .article .ct-page button#print-btn-gen {
  background-color: #f5b400 !important;
  color: #1f2937 !important;
  -webkit-text-fill-color: #1f2937 !important;
}
html[data-theme="dark"] body.page-gerador-certificado-online .ct-page .print-tpl.is-active {
  background-color: #172554 !important;
  border-color: #60a5fa !important;
  color: #bfdbfe !important;
}
/* Batch fields stay within the certificate form on narrow screens. */
.ct-app #ct-batch-fields { margin-top: 14px; }
.ct-app #print-recipients { width: 100%; box-sizing: border-box; padding: 12px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; background: #fff; color: #172033; }
