/* AMZX Link v1.5.590 — runtime público final de widgets / contraste desktop real
   Escopo: somente conteúdo da Bio pública. Não altera dados, IDs ou URLs. */
:root{--amzx-runtime-accent:#7c3aed;--amzx-runtime-accent-rgb:124,58,237;--amzx-runtime-action-text:#fff;--amzx-runtime-text:#f8fafc;--amzx-runtime-muted:#cbd5e1;--amzx-runtime-surface:#0f172a;--amzx-runtime-surface-2:#111c31;--amzx-runtime-field-bg:#0b1324;--amzx-runtime-field-text:#f8fafc;--amzx-runtime-field-placeholder:#aebbd0;--amzx-runtime-border:rgba(148,163,184,.30)}

/* Geometria defensiva: nenhum widget pode ultrapassar a Bio ou esmagar texto. */
#content,#content>.amzx-widget-public-shell{min-width:0!important;max-width:100%!important;box-sizing:border-box!important}
#content>.amzx-widget-public-shell{width:100%!important;overflow:visible!important}
#content>.amzx-widget-public-shell :where(.card,.row,[class*="card"],[class*="panel"],[class*="content"],[class*="body"]){min-width:0;max-width:100%;box-sizing:border-box}
#content>.amzx-widget-public-shell :where(h1,h2,h3,h4,h5,h6,p,small,strong,em,label,legend,summary,a,button,.btn,.btn-custom){max-width:100%;overflow-wrap:anywhere;word-break:normal}
#content>.amzx-widget-public-shell :where(button,.btn,.btn-custom,a.btn,a.btn-custom){white-space:normal!important;height:auto;min-height:42px;line-height:1.25}
#content>.amzx-widget-public-shell :where(img,video,canvas,svg){max-width:100%;height:auto}
#content>.amzx-widget-public-shell iframe{max-width:100%;width:100%}
#content .amzx-linkedin-card>img{display:block!important;width:100%!important;height:auto!important;max-height:360px!important;object-fit:cover!important;background:var(--amzx-runtime-surface-2)!important}
#content .amzx-runtime-media-failed,#content .amzx-linkedin-card>img.amzx-runtime-media-failed{display:none!important;width:0!important;height:0!important;min-height:0!important;max-height:0!important;margin:0!important;padding:0!important;border:0!important}

/* Tokens do tema corrente propagados para renderers que conhecem variáveis AMZX. */
#content>.amzx-widget-public-shell{
 --amzx-bio-accent:var(--amzx-runtime-accent)!important;
 --amzx-bio-accent-2:var(--amzx-runtime-accent)!important;
 --amzx-bio-text:var(--amzx-runtime-text)!important;
 --amzx-bio-muted:var(--amzx-runtime-muted)!important;
 --amzx-bio-surface:var(--amzx-runtime-surface)!important;
 --amzx-bio-surface-2:var(--amzx-runtime-surface-2)!important;
 --amzx-bio-border:var(--amzx-runtime-border)!important;
}

/* v1.5.601 — ETAPA 6: CAMPOS / CONTRASTE REAL — FONTE ÚNICA.
   Rebase das camadas 1.5.589/1.5.590: valor digitado, colado, autocomplete,
   autofill, placeholder, select, foco, readonly e disabled usam o mesmo contrato.
   Não altera lógica, IDs, nomes, valores nem validação dos formulários. */
@keyframes amzxRuntimeAutofillStart{from{opacity:.999}to{opacity:1}}

body.amzx-theme #profile #content>.amzx-widget-public-shell :is(
 input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]):not([type="color"]),
 textarea,select,.form-control,.form-select
){
 box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0!important;
 min-height:48px!important;padding:11px 13px!important;
 border:1px solid var(--amzx-runtime-border)!important;border-radius:13px!important;
 background-color:var(--amzx-runtime-field-bg)!important;
 color:var(--amzx-runtime-field-text)!important;-webkit-text-fill-color:var(--amzx-runtime-field-text)!important;
 caret-color:var(--amzx-runtime-field-text)!important;
 font-size:16px!important;font-weight:600!important;line-height:1.4!important;letter-spacing:0!important;
 opacity:1!important;text-shadow:none!important;filter:none!important;mix-blend-mode:normal!important;
 background-clip:border-box!important;-webkit-background-clip:border-box!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell textarea:is(.form-control,textarea){min-height:108px!important;resize:vertical}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea)::placeholder{
 color:var(--amzx-runtime-field-placeholder)!important;-webkit-text-fill-color:var(--amzx-runtime-field-placeholder)!important;
 font-size:15px!important;font-weight:550!important;opacity:1!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select):focus{
 background-color:var(--amzx-runtime-field-bg)!important;
 color:var(--amzx-runtime-field-text)!important;-webkit-text-fill-color:var(--amzx-runtime-field-text)!important;
 border-color:var(--amzx-runtime-accent)!important;outline:0!important;
 box-shadow:0 0 0 4px rgba(var(--amzx-runtime-accent-rgb),.24)!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell select :is(option,optgroup){
 background-color:var(--amzx-runtime-field-bg)!important;color:var(--amzx-runtime-field-text)!important;
 -webkit-text-fill-color:var(--amzx-runtime-field-text)!important;font-size:16px!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea):-webkit-autofill,
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea):-webkit-autofill:hover,
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea):-webkit-autofill:focus,
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea):-webkit-autofill:active,
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea):autofill{
 color:var(--amzx-runtime-field-text)!important;-webkit-text-fill-color:var(--amzx-runtime-field-text)!important;
 caret-color:var(--amzx-runtime-field-text)!important;background-color:var(--amzx-runtime-field-bg)!important;
 -webkit-box-shadow:0 0 0 1000px var(--amzx-runtime-field-bg) inset!important;
 box-shadow:0 0 0 1000px var(--amzx-runtime-field-bg) inset!important;
 animation-name:amzxRuntimeAutofillStart!important;animation-duration:.01s!important;
 transition:background-color 9999s ease-out 0s!important
}
body[data-amzx-runtime-mode="dark"] #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select){color-scheme:dark!important}
body[data-amzx-runtime-mode="light"] #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select){color-scheme:light!important}

body.amzx-theme #profile #content>.amzx-widget-public-shell :is(label,.form-label,legend){
 color:var(--amzx-runtime-text)!important;-webkit-text-fill-color:currentColor!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(.form-text,.invalid-feedback,.valid-feedback){opacity:1!important}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select)[readonly],
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select):disabled{
 background-color:color-mix(in srgb,var(--amzx-runtime-field-bg) 86%,var(--amzx-runtime-muted) 14%)!important;
 color:var(--amzx-runtime-field-text)!important;-webkit-text-fill-color:var(--amzx-runtime-field-text)!important;
 border-color:color-mix(in srgb,var(--amzx-runtime-border) 75%,var(--amzx-runtime-muted) 25%)!important;
 opacity:.72!important;cursor:not-allowed!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select):user-invalid,
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(input,textarea,select,.form-control,.form-select)[aria-invalid="true"]{
 border-color:#ef4444!important;box-shadow:0 0 0 3px rgba(239,68,68,.18)!important
}
body.amzx-theme #profile #content>.amzx-widget-public-shell :is(.input-group-text,.form-control-plaintext){
 color:var(--amzx-runtime-field-text)!important;-webkit-text-fill-color:currentColor!important;
 background-color:var(--amzx-runtime-surface-2)!important;border-color:var(--amzx-runtime-border)!important
}

/* Checkboxes/radios: controle e texto nunca ficam colados. */
#content .amzx-runtime-choice-label{display:flex!important;align-items:flex-start!important;gap:10px!important;min-width:0!important;max-width:100%!important;width:auto!important;text-align:left!important;line-height:1.4!important;white-space:normal!important}
#content .amzx-runtime-choice-label>input[type="checkbox"],#content .amzx-runtime-choice-label>input[type="radio"]{flex:0 0 20px!important;width:20px!important;height:20px!important;min-width:20px!important;min-height:20px!important;margin:1px 0 0!important;padding:0!important;accent-color:var(--amzx-runtime-accent)!important}
#content .amzx-runtime-choice-label>:not(input){min-width:0!important;max-width:100%!important;overflow-wrap:anywhere!important}
#content .form-check:not(.form-switch){display:flex!important;align-items:flex-start!important;gap:10px!important;padding-left:0!important}
#content .form-check:not(.form-switch)>.form-check-input{float:none!important;margin:2px 0 0!important;flex:0 0 20px!important;width:20px!important;height:20px!important}
#content .form-check:not(.form-switch)>.form-check-label{min-width:0!important;margin:0!important;overflow-wrap:anywhere!important}

/* Botão corrigido pelo verificador de contraste do runtime. */
#content .amzx-runtime-contrast-fixed,#content .amzx-runtime-contrast-fixed *{color:inherit!important;-webkit-text-fill-color:currentColor!important}

/* Retrátil: summary sempre clicável e conteúdo obedece ao estado open. */
#content details[data-amzx-retractable-section]{position:relative!important;min-width:0!important;max-width:100%!important;overflow:hidden!important}
#content details[data-amzx-retractable-section]>summary{position:relative!important;z-index:2!important;pointer-events:auto!important;cursor:pointer!important;user-select:none!important;-webkit-user-select:none!important;min-width:0!important;max-width:100%!important;list-style:none!important}
#content details[data-amzx-retractable-section]>summary::-webkit-details-marker{display:none!important}
#content details[data-amzx-retractable-section]:not([open])>.amzx-retractable-content-v1551{display:none!important}
#content details[data-amzx-retractable-section][open]>.amzx-retractable-content-v1551{display:block!important;min-width:0!important;max-width:100%!important}
#content details[data-amzx-retractable-section]>summary .amzx-retractable-copy-v1551{min-width:0!important;max-width:100%!important}
#content details[data-amzx-retractable-section]>summary .amzx-retractable-copy-v1551>*{overflow-wrap:anywhere!important}

/* Tema dinâmico dos Modelos Oficiais: geometria permanece do modelo; widgets seguem o tema escolhido. */
body.amzx-modelo-pronto.amzx-model-collection-pro20{
 --amzx-pro-accent:var(--amzx-runtime-accent)!important;
 --amzx-pro-accent2:var(--amzx-runtime-accent)!important;
 --amzx-pro-text:var(--amzx-runtime-text)!important;
 --amzx-pro-muted:var(--amzx-runtime-muted)!important;
 --amzx-pro-surface:var(--amzx-runtime-surface)!important;
 --amzx-pro-surface2:var(--amzx-runtime-surface-2)!important;
 --amzx-pro-border:var(--amzx-runtime-border)!important;
}
body.amzx-modelo-pronto.amzx-model-collection-pro20 #content :where(.amzx-scheduler-action,.amzx-bio-pix .btn-custom,.is-primary-action .btn-custom,.amzx-pro-primary-action){
 background:var(--amzx-runtime-accent)!important;color:var(--amzx-runtime-action-text)!important;-webkit-text-fill-color:var(--amzx-runtime-action-text)!important;border-color:transparent!important;
}
/* v1.5.599 — ETAPA 4: containers internos de texto nunca recebem fundo de CTA. */
body.amzx-modelo-pronto.amzx-model-collection-pro20 #content :where(.amzx-payment-copy,.amzx-contact-summary-copy){background:transparent!important;box-shadow:none!important}
body.amzx-modelo-pronto.amzx-model-collection-pro20 #content :where(.amzx-scheduler-card,.amzx-bio-pix,.amzx-payment-card){--amzx-scheduler-accent:var(--amzx-runtime-accent)!important;--amzx-scheduler-accent-2:var(--amzx-runtime-accent)!important}

@media(max-width:575px){
 #content>.amzx-widget-public-shell{margin-left:0!important;margin-right:0!important}
 #content>.amzx-widget-public-shell :where(.card,[class*="card"],[class*="panel"]){max-width:100%!important}
 #content>.amzx-widget-public-shell :where(button,.btn,.btn-custom,a.btn,a.btn-custom){font-size:clamp(.84rem,3.8vw,1rem)!important;padding-left:12px;padding-right:12px}
 #content .amzx-linkedin-card>img{max-height:300px!important}
 #content>.amzx-widget-public-shell :where(input:not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not([type="file"]),textarea,select,.form-control,.form-select){font-size:16px!important}
}
