/* ============================================================================
 *  cv-select-anchor-fix — extraido do index.html em 14/08/2026.
 *
 *  Nao e estilo novo: e o bloco <style> que morava dentro do index.html,
 *  movido para fora SEM UMA LINHA ALTERADA (27,333 bytes). E o conserto de ancoragem do select (CV_SELECT_SEARCH_ANCHOR_FIX).
 *
 *  ⚠️ A TAG <link> FICOU NA MESMA POSICAO do <style> original. A cascata do CSS
 *  depende da ORDEM no documento: mover a tag muda qual regra vence, mesmo com
 *  o conteudo identico.
 *
 *  ⚠️ Se um dia entrar url(...) com caminho RELATIVO aqui, ele passa a resolver
 *  contra ESTE arquivo (assets/), e nao contra o documento — a mesma armadilha
 *  que o import() causou na primeira extracao de script. Medido em 14/08: os 13
 *  blocos <style> tinham ZERO url() relativo e ZERO @import.
 * ============================================================================ */

/* CV_SELECT_SEARCH_ANCHOR_FIX */
.custom-select-shell,
.custom-select,
.custom-select-wrapper,
.select-wrapper,
.select-field,
.select-box {
  position: relative !important;
}
.custom-select-menu,
.custom-select-options,
.select-options,
.select-dropdown,
.dropdown-options {
  z-index: 999999 !important;
}
.custom-select-shell > .custom-select-menu,
.custom-select > .custom-select-menu,
.custom-select-wrapper > .custom-select-menu,
.select-wrapper > .custom-select-menu,
.select-field > .custom-select-menu,
.select-box > .custom-select-menu {
  position: absolute !important;
  left: 0 !important;
  top: calc(100% + 4px) !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  max-width: min(92vw, 360px) !important;
}
.custom-select-menu .cv-vacancy-search-wrap {
  position: sticky !important;
  top: 0 !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  transform: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  z-index: 2 !important;
}
.cv-vacancy-search,
.custom-select-menu input[type="search"] {
  width: 100% !important;
  box-sizing: border-box !important;
}
/* HORUS_LAYOUT_RECOVERY_20260701_START
   Recuperacao cirurgica: estabiliza apenas cabecalhos e containers.
   Nao sobrescreve grids internos de formacao, cursos, experiencia ou foto 3x4.
*/
#sourcePage .section-heading-row,
.resume .section-heading-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  align-items: center !important;
  column-gap: 8px !important;
  row-gap: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 3mm !important;
  clear: both !important;
}

#sourcePage .section-heading-row h2,
.resume .section-heading-row h2 {
  margin: 0 !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100% !important;
}

#sourcePage .section-heading-row .section-inline-controls,
#sourcePage .section-heading-row .formation-controls,
.resume .section-heading-row .section-inline-controls,
.resume .section-heading-row .formation-controls {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-end !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  max-width: 100% !important;
  white-space: nowrap !important;
}

#sourcePage .section-heading-row .section-inline-controls button,
#sourcePage .section-heading-row .formation-controls button,
.resume .section-heading-row .section-inline-controls button,
.resume .section-heading-row .formation-controls button {
  white-space: nowrap !important;
  flex: 0 0 auto !important;
}

#sourcePage #formationList,
#sourcePage #courseList,
#sourcePage #experienceList,
#sourcePage #customSectionsList,
.resume #formationList,
.resume #courseList,
.resume #experienceList,
.resume #customSectionsList {
  display: grid !important;
  grid-template-columns: 1fr !important;
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  clear: both !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#sourcePage #formationList,
.resume #formationList {
  gap: 3mm !important;
}

#sourcePage #courseList,
.resume #courseList {
  gap: 2mm !important;
}

#sourcePage #experienceList,
.resume #experienceList {
  gap: 4mm !important;
}

#sourcePage .section-heading-row + #formationList,
#sourcePage .section-heading-row + #courseList,
#sourcePage .section-heading-row + #experienceList,
.resume .section-heading-row + #formationList,
.resume .section-heading-row + #courseList,
.resume .section-heading-row + #experienceList {
  margin-top: 0 !important;
}
/* HORUS_LAYOUT_RECOVERY_20260701_END */
/* HORUS_SAFE_MAINTENANCE_20260701_START */
#settingsPanel,
#configPanel,
.settings-panel,
.config-panel,
.settings-popover {
  z-index: 1200;
  overflow: visible;
}

#settingsPanel *,
#configPanel *,
.settings-panel *,
.config-panel *,
.settings-popover * {
  box-sizing: border-box;
}

#settingsPanel .settings-card,
#settingsPanel .config-card,
#settingsPanel .settings-block,
#settingsPanel .config-section,
#configPanel .settings-card,
#configPanel .config-card,
#configPanel .settings-block,
#configPanel .config-section,
.settings-panel .settings-card,
.settings-panel .config-card,
.settings-panel .settings-block,
.settings-panel .config-section,
.config-panel .settings-card,
.config-panel .config-card,
.config-panel .settings-block,
.config-panel .config-section {
  overflow: visible;
  opacity: 1;
}

#settingsPanel input.settings-field,
#settingsPanel select.settings-field:not(.custom-select-native),
.settings-panel input.settings-field,
.settings-panel select.settings-field:not(.custom-select-native) {
  opacity: 1 !important;
  color: #0f172a !important;
  background: #f8fbff !important;
  min-height: 28px;
  width: 100%;
  max-width: 100%;
}

#settingsPanel button,
#configPanel button,
.settings-panel button,
.config-panel button {
  opacity: 1;
  white-space: nowrap;
}

#settingsPanel .settings-actions,
#settingsPanel .config-actions,
#settingsPanel .action-row,
#settingsPanel .settings-action-row,
#settingsPanel .button-row,
#configPanel .settings-actions,
#configPanel .config-actions,
#configPanel .action-row,
#configPanel .settings-action-row,
#configPanel .button-row,
.settings-panel .settings-actions,
.settings-panel .config-actions,
.settings-panel .action-row,
.settings-panel .settings-action-row,
.settings-panel .button-row,
.config-panel .settings-actions,
.config-panel .config-actions,
.config-panel .action-row,
.config-panel .settings-action-row,
.config-panel .button-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
}

#settingsPanel .settings-actions > *,
#settingsPanel .config-actions > *,
#settingsPanel .action-row > *,
#settingsPanel .settings-action-row > *,
#settingsPanel .button-row > *,
#configPanel .settings-actions > *,
#configPanel .config-actions > *,
#configPanel .action-row > *,
#configPanel .settings-action-row > *,
#configPanel .button-row > *,
.settings-panel .settings-actions > *,
.settings-panel .config-actions > *,
.settings-panel .action-row > *,
.settings-panel .settings-action-row > *,
.settings-panel .button-row > *,
.config-panel .settings-actions > *,
.config-panel .config-actions > *,
.config-panel .action-row > *,
.config-panel .settings-action-row > *,
.config-panel .button-row > * {
  min-width: 0;
  width: 100%;
}

#settingsPanel .btn,
#configPanel .btn,
.settings-panel .btn,
.config-panel .btn {
  min-height: 30px;
  padding-left: 10px;
  padding-right: 10px;
  font-size: 11px;
  line-height: 1.15;
}
/* HORUS_SAFE_MAINTENANCE_20260701_END */
/* HORUS_HIDE_NATIVE_CHECKBOXES_20260701_START */
.settings-panel input[type="checkbox"],
.config-panel input[type="checkbox"],
.settings-popover input[type="checkbox"],
.config-popover input[type="checkbox"],
#settingsPanel input[type="checkbox"],
#configPanel input[type="checkbox"],
#settings-panel input[type="checkbox"],
#config-panel input[type="checkbox"] {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  pointer-events: none !important;
}
/* HORUS_HIDE_NATIVE_CHECKBOXES_20260701_END */
/* CV_WRAP_FIELDS_START: campos de texto livre quebram para a segunda linha no limite projetado */
textarea.cv-wrap-field {
  field-sizing: content;
  width: auto;
  min-width: 12px;
  max-width: 100%;
  height: auto;
  min-height: 24px;
  resize: none;
  overflow: hidden;
  white-space: pre-wrap;
  overflow-wrap: break-word;
  word-break: normal;
  display: inline-block;
  vertical-align: baseline;
  align-content: center;
}

.experience-block .line {
  display: flex;
  align-items: center;
  gap: 2px;
  width: 100%;
  min-width: 0;
}

.experience-block .line textarea.company,
.experience-block .line textarea.role {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
}

.formation-line textarea.cv-wrap-field {
  margin-right: 3px;
}

/* HORUS_COURSE_GRID_CAP_20260703_START: limita apenas cursos longos sem trocar a estrutura do documento */
#sourcePage #courseList .course {
  grid-template-columns: fit-content(57%) 16px fit-content(31%) 16px fit-content(12ch);
  max-width: 100%;
}

#sourcePage #courseList .course textarea.cv-wrap-field {
  box-sizing: border-box;
  min-width: 0;
  max-width: 100%;
  overflow-wrap: break-word;
}

#sourcePage #courseList .course .year-field {
  min-width: 8ch;
  max-width: 12ch;
}
/* HORUS_COURSE_GRID_CAP_20260703_END */

/* HORUS_RODADA23_FORMACAO_CURSOS_START */
#sourcePage #formationList,
.resume #formationList,
#sourcePage #courseList,
.resume #courseList {
  gap: max(5.5mm, 20px) !important;
}

.preview-content .formation + .formation,
.print-pages .formation + .formation,
.pdf-render-stage .formation + .formation,
.preview-content .course + .course,
.print-pages .course + .course,
.pdf-render-stage .course + .course {
  margin-top: max(5.5mm, 20px) !important;
}

#sourcePage #courseList .course .cv-course-flow-editor {
  display: none !important;
}

/* Final document flow: the editor keeps its compact controls, while preview,
   print and PDF become normal text blocks that can use the whole official
   line and safely wrap long pasted values. */
.preview-content .course,
.print-pages .course,
.pdf-render-stage .course,
.preview-content .formation-line,
.print-pages .formation-line,
.pdf-render-stage .formation-line {
  display: block !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  break-inside: auto !important;
  page-break-inside: auto !important;
  line-height: 1.4 !important;
}

/* Revisao do PDF padrao (ago/2026): o documento IMPRESSO respira com 1,4 de
   entrelinha. "Muito pressionado, ruim de visualizar" era o corpo em 1,28 e os
   blocos achatados herdando ~1,12. O editor nao muda; so as saidas. */
.preview-content .summary,
.print-pages .summary,
.pdf-render-stage .summary,
.preview-content .responsibility-field,
.print-pages .responsibility-field,
.pdf-render-stage .responsibility-field,
.preview-content .experience-block .line,
.print-pages .experience-block .line,
.pdf-render-stage .experience-block .line,
.preview-content .experience-block .period-range,
.print-pages .experience-block .period-range,
.pdf-render-stage .experience-block .period-range {
  line-height: 1.4 !important;
}

/* Rotulo de Empresa/Cargo com coluna fixa de 24mm: a versao achatada colava o
   valor no rotulo ("Empresa:Escola Celus") enquanto o PDF direto usa coluna.
   As duas rotas passam a casar. */
.preview-content .experience-block .line strong,
.print-pages .experience-block .line strong,
.pdf-render-stage .experience-block .line strong {
  flex: 0 0 24mm !important;
}

/* A normalized final value may contain a medium-length continuous fragment.
   In preview/print/PDF it must use the remaining line width before dropping
   the whole fragment to the next line. This class is added only to cloned
   output nodes; the editable document keeps its independent field layout. */
.preview-content .cv-output-packed-flow,
.print-pages .cv-output-packed-flow,
.pdf-render-stage .cv-output-packed-flow {
  white-space: normal !important;
  overflow-wrap: anywhere !important;
  word-break: break-all !important;
}

.preview-content .cv-output-text-continuation,
.print-pages .cv-output-text-continuation,
.pdf-render-stage .cv-output-text-continuation {
  margin-top: 0 !important;
  break-before: auto !important;
  page-break-before: auto !important;
}

.preview-content .course.cv-output-text-fragment + .course.cv-output-text-fragment,
.print-pages .course.cv-output-text-fragment + .course.cv-output-text-fragment,
.pdf-render-stage .course.cv-output-text-fragment + .course.cv-output-text-fragment {
  margin-top: 0 !important;
}
/* HORUS_RODADA23_FORMACAO_CURSOS_END */

/* Padrão dos seletores: opção compacta de 1 linha; nome extenso quebra para a linha de baixo */
.custom-select-menu .custom-select-option,
.custom-select-menu[data-cv-vacancy-select="1"] .custom-select-option,
.custom-select-menu[data-cv-long-options="1"] .custom-select-option,
.custom-select-menu[data-cv-degree-select="1"] .custom-select-option {
  white-space: normal !important;
  overflow: visible !important;
  overflow-wrap: break-word !important;
  word-break: normal !important;
  text-overflow: clip !important;
  line-height: 1.2 !important;
  padding: 3px 8px !important;
  min-height: 0 !important;
  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

#incorporateFileInput {
  display: none !important;
}

/* ===== Personalização (zoom + plano de fundo) ===== */
.cv-left-cluster {
  grid-column: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.cv-personalize-button,
.cv-personalize-button:hover,
.cv-personalize-button:active,
.cv-personalize-button:focus,
.cv-personalize-button:focus-visible {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(16, 38, 78, 0.16) !important;
  border-radius: 11px;
  padding: 8px 14px !important;
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%) !important;
  color: #10264e !important;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.7), 0 8px 18px rgba(16, 28, 53, 0.10);
  opacity: 1 !important;
}

.cv-personalize-button:hover,
.cv-personalize-button:focus,
.cv-personalize-button:focus-visible,
.cv-personalize-button:active {
  filter: brightness(1.03);
  transform: translateY(-1px);
}

body:not(.cv-profile-authenticated) .cv-mode-switch,
body.cv-profile-authenticated .cv-visitor-tour-button {
  display: none !important;
}

body.cv-profile-authenticated .cv-personalize-button,
body.cv-profile-authenticated .preview-launch-button,
body.cv-profile-authenticated .settings-button {
  display: none !important;
}

.cv-tour-button,
.cv-tour-panel-button,
.cv-tour-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  border: 0 !important;
  border-radius: 999px;
  padding: 8px 15px 8px 8px !important;
  background: linear-gradient(135deg, #1f6f8f 0%, #12335e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 10px 22px rgba(18, 51, 94, 0.18);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.cv-menu-button {
  position: relative;
  isolation: isolate;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px;
  height: 42px !important;
  min-height: 42px !important;
  min-width: 104px;
  border: 1px solid rgba(255, 255, 255, .24) !important;
  border-radius: 999px !important;
  padding: 9px 20px 9px 14px !important;
  color: #fff !important;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .26), transparent 26%),linear-gradient(135deg,#123b26 0%,#1c5f3a 52%,#37a366 100%) !important;
  box-shadow: 0 12px 24px rgba(12, 63, 38, .3) !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: .01em;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.cv-menu-button::before {
  content: '\2630';
  display: inline-grid;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  border-radius: 999px;
  color: #0c3f26;
  background: linear-gradient(135deg,#ffffff 0%,#dcffe9 100%);
  box-shadow: inset 0 0 0 1px rgba(12, 63, 38, .1), 0 6px 12px rgba(12, 63, 38, .18);
  font-size: 11px;
  font-weight: 950;
}

.cv-menu-wrap {
  position: relative;
  display: inline-flex;
}

body.cv-profile-authenticated .cv-menu-wrap {
  display: none !important;
}

.cv-menu-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 1500;
  min-width: 196px;
  background: #fff;
  border: 1px solid #d9e2f2;
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(13, 31, 76, .22);
  padding: 6px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cv-menu-dropdown[hidden] {
  display: none !important;
}

.cv-menu-dropdown button {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  border: 0 !important;
  background: transparent !important;
  border-radius: 10px !important;
  padding: 9px 12px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #1f2d47 !important;
  cursor: pointer;
  box-shadow: none !important;
}

.cv-menu-dropdown button:hover,
.cv-menu-dropdown button:focus,
.cv-menu-dropdown button:focus-visible,
.cv-menu-dropdown button:active {
  background: #eef3fb !important;
  color: #0d1f4c !important;
}

.cv-menu-dropdown svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: #123260;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

.cv-tour-button:hover,
.cv-tour-button:active,
.cv-tour-button:focus,
.cv-tour-button:focus-visible,
.cv-tour-panel-button:hover,
.cv-tour-panel-button:active,
.cv-tour-panel-button:focus,
.cv-tour-panel-button:focus-visible,
.cv-tour-action:hover,
.cv-tour-action:active,
.cv-tour-action:focus,
.cv-tour-action:focus-visible {
  filter: brightness(1.04) !important;
  transform: translateY(-1px) !important;
  background: linear-gradient(135deg, #1f6f8f 0%, #12335e 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(16, 28, 53, .28) !important;
}

.cv-menu-button:hover,
.cv-menu-button:focus,
.cv-menu-button:focus-visible,
.cv-menu-button:active {
  transform: translateY(-1px) !important;
  filter: saturate(1.05) !important;
  box-shadow: 0 14px 28px rgba(12, 63, 38, .4) !important;
  background: radial-gradient(circle at 20% 15%, rgba(255, 255, 255, .3), transparent 26%),linear-gradient(135deg,#164a30 0%,#227048 52%,#41b674 100%) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, .24) !important;
}

.cv-tour-button::before,
.cv-tour-panel-button::before {
  content: "?";
  width: 24px;
  height: 24px;
  min-width: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  font: 950 13px/1 Arial, sans-serif;
}

.cv-tour-panel-button {
  justify-self: start;
  margin-top: 4px;
}

.cv-auth-tour-group {
  display: none;
}

body.cv-profile-authenticated .cv-auth-tour-group {
  display: grid;
}

.cv-zoom-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 8px;
}

.cv-zoom-step {
  min-width: 32px;
  min-height: 32px;
  border-radius: 999px;
  padding: 2px 10px;
  font-weight: 900;
}

.cv-zoom-row input[type="range"] {
  width: 100%;
  min-height: 22px;
  accent-color: #102e60;
}

.cv-zoom-value {
  font-size: 12px;
  font-weight: 900;
  color: #10264e;
  text-align: right;
}

.cv-zoom-edit {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  font-weight: 900;
  color: #10264e;
}

.cv-zoom-edit input[type="number"] {
  width: 50px;
  min-height: 30px;
  padding: 2px 6px;
  border: 1px solid #b8c7e6;
  border-radius: 10px;
  background: #f7faff;
  color: #10264e;
  font-size: 12px;
  font-weight: 900;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}

.cv-zoom-edit input::-webkit-outer-spin-button,
.cv-zoom-edit input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cv-bg-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.cv-bg-swatch {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 7px 4px;
  border: 1px solid #d6ddea;
  border-radius: 10px;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
  color: #22314e;
  cursor: pointer;
}

.cv-bg-swatch span {
  display: block;
  width: 100%;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(16, 38, 78, 0.14);
  pointer-events: none;
}

.cv-bg-swatch.is-active {
  border-color: #102e60;
  box-shadow: 0 0 0 2px rgba(16, 46, 96, 0.22);
}

/* Botão Incorporar: mesmo modelo do Preencher, em amarelo, blindado contra o button:hover genérico */
.incorporate-button,
.incorporate-button:hover,
.incorporate-button:active,
.incorporate-button:focus,
.incorporate-button:focus-visible,
.incorporate-button[aria-disabled="true"],
.incorporate-button[data-horus-guard-disabled="1"] {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-width: 108px;
  min-height: 40px;
  border: 0 !important;
  border-radius: 999px;
  padding: 9px 16px 9px 11px !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.30), transparent 28%),
    linear-gradient(135deg, #8a5a06 0%, #c98b19 52%, #e7ae2e 100%) !important;
  box-shadow: 0 12px 24px rgba(138, 90, 6, 0.28);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  opacity: 1 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.incorporate-button::before,
.incorporate-button:hover::before,
.incorporate-button:active::before,
.incorporate-button:focus::before,
.incorporate-button:focus-visible::before,
.incorporate-button[aria-disabled="true"]::before,
.incorporate-button[data-horus-guard-disabled="1"]::before {
  content: "CV";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #ffedc4 100%) !important;
  color: #7a4d03 !important;
  font-size: 10px;
  font-weight: 900;
  box-shadow: inset 0 0 0 1px rgba(122, 77, 3, 0.12), 0 6px 12px rgba(122, 77, 3, 0.18);
}

.incorporate-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.18) 42%, transparent 70%);
  transform: translateX(-80%);
  transition: transform 0.45s ease;
}

.incorporate-button:hover {
  filter: saturate(1.05);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(138, 90, 6, 0.34);
}

.incorporate-button:hover::after,
.incorporate-button:focus::after,
.incorporate-button:focus-visible::after {
  transform: translateX(80%);
}

.incorporate-button:active,
.incorporate-button[aria-disabled="true"],
.incorporate-button[data-horus-guard-disabled="1"] {
  filter: none !important;
}

.incorporate-button:focus-visible {
  outline: 2px solid rgba(201, 139, 25, 0.4);
  outline-offset: 3px;
}

.job-analysis-button,
.job-analysis-button:hover,
.job-analysis-button:active,
.job-analysis-button:focus,
.job-analysis-button:focus-visible,
.job-analysis-button[aria-disabled="true"],
.job-analysis-button[data-horus-guard-disabled="1"] {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 96px;
  min-height: 36px;
  border: 0 !important;
  border-radius: 999px;
  padding: 7px 13px 7px 9px !important;
  color: #ffffff !important;
  background:
    radial-gradient(circle at 20% 15%, rgba(255, 255, 255, 0.30), transparent 28%),
    linear-gradient(135deg, #4b1b7a 0%, #7334a7 52%, #9d63d2 100%) !important;
  box-shadow: 0 12px 24px rgba(75, 27, 122, 0.28);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  overflow: hidden;
  opacity: 1 !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.job-analysis-button::before,
.job-analysis-button:hover::before,
.job-analysis-button:active::before,
.job-analysis-button:focus::before,
.job-analysis-button:focus-visible::before,
.job-analysis-button[aria-disabled="true"]::before,
.job-analysis-button[data-horus-guard-disabled="1"]::before {
  content: "ATS";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 22px;
  border-radius: 8px;
  background: linear-gradient(135deg, #ffffff 0%, #f1dcff 100%) !important;
  color: #4b1b7a !important;
  font-size: 9px;
  font-weight: 950;
  box-shadow: inset 0 0 0 1px rgba(75, 27, 122, 0.12), 0 6px 12px rgba(75, 27, 122, 0.18);
}

.job-analysis-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 0%, rgba(255, 255, 255, 0.20) 42%, transparent 70%);
  transform: translateX(-80%);
  transition: transform 0.45s ease;
}

.job-analysis-button:hover {
  filter: saturate(1.06);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(75, 27, 122, 0.34);
}

.job-analysis-button:hover::after,
.job-analysis-button:focus::after,
.job-analysis-button:focus-visible::after {
  transform: translateX(80%);
}

.job-analysis-button:active,
.job-analysis-button[aria-disabled="true"],
.job-analysis-button[data-horus-guard-disabled="1"] {
  filter: none !important;
}

.job-analysis-button:focus-visible {
  outline: 2px solid rgba(115, 52, 167, 0.38);
  outline-offset: 3px;
}

.prompt-import-button::before,
.incorporate-button::before,
.job-analysis-button::before,
.draft-reset-button::before {
  display: inline-grid !important;
  place-items: center !important;
  line-height: 1 !important;
  text-align: center !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  font-family: Arial, Helvetica, sans-serif !important;
}

.prompt-import-button::before,
.incorporate-button::before,
.draft-reset-button::before {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  min-height: 24px !important;
  border-radius: 999px !important;
}

.job-analysis-button::before {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  border-radius: 999px !important;
}

/* Moldura da busca dentro do documento: vence o "border: 0" do #sourcePage */
#sourcePage .custom-select-menu .cv-vacancy-search,
.settings-panel .custom-select-menu .cv-vacancy-search {
  border: 1px solid rgba(18, 50, 96, .26) !important;
  border-radius: 9px !important;
  background: #fff !important;
  height: 32px !important;
  padding: 6px 28px 6px 9px !important;
}

#sourcePage .custom-select-menu .cv-vacancy-search:focus,
.settings-panel .custom-select-menu .cv-vacancy-search:focus {
  border-color: #0f47a6 !important;
  box-shadow: 0 0 0 3px rgba(15, 71, 166, .13) !important;
}

textarea.name.cv-wrap-field {
  display: block;
  width: 100% !important;
  min-width: 0;
  height: auto;
  min-height: 36px;
  line-height: 1.12;
}
/* CV_WRAP_FIELDS_END */
