.wlf-mount{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#173e32;background:#f7faf8;font-size:14px;line-height:1.55;--wl-accent:#087f5b;--wlf-bubble:#eaf5ef}.wlf-mount *{box-sizing:border-box}.wlf-mount button,.wlf-mount input,.wlf-mount textarea,.wlf-mount select{font:inherit;text-transform:none;letter-spacing:normal}.wlf-mount button{cursor:pointer}.wlf-mount button:disabled{cursor:wait;opacity:.6}.wlf-header{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;background:#173f33;color:white;position:relative;top:0;z-index:3}.wlf-identity{display:flex;gap:11px;align-items:center}.wlf-identity strong{font-size:14px;color:inherit}.wlf-identity small{display:block;font-size:10px;color:#cee1d3;margin-top:2px}.wlf-avatar{width:40px;height:40px;border-radius:13px;object-fit:cover;display:grid;place-items:center;background:#dcecd3;color:#16432e;font-size:24px}.wlf-mount .wl-close{position:static;border:0;background:#ffffff18;color:white;border-radius:50%;width:32px;height:32px;padding:0;font-size:24px;line-height:1}.wlf-body{padding:25px;display:flex;flex-direction:column;gap:14px}.wlf-mount h2.wlf-title{font-size:24px;letter-spacing:-.7px;line-height:1.25;color:inherit;margin:0;font-weight:700}.wlf-mount h3{font-size:16px;line-height:1.55;color:inherit;margin:0 0 12px;font-weight:650}.wlf-mount p{margin:0;line-height:1.6}.wlf-progress{font-size:10px;color:#536b5e;letter-spacing:.4px}.wlf-bubble{align-self:flex-start;background:var(--wlf-bubble);padding:13px 16px;border-radius:2px 16px 16px;max-width:94%;font-size:13px;color:#203f34;white-space:pre-wrap;overflow-wrap:anywhere}.wlf-history{display:flex;flex-direction:column;gap:12px}.wlf-answer{align-self:flex-end;max-width:90%;border-radius:16px 2px 16px 16px;background:var(--wl-accent);color:#fff;padding:12px 15px;overflow-wrap:anywhere;display:flex;gap:15px;align-items:center}.wlf-mount .wlf-edit{padding:0;background:none;border:none;font-size:10px;text-decoration:underline;color:inherit;flex-shrink:0}.wlf-question{background:#fff;border:1px solid #dce8de;border-radius:16px;padding:20px;box-shadow:0 5px 20px #1f513009}.wlf-input input:not([type=checkbox]),.wlf-input textarea,.wlf-input select,.wlf-copy{width:100%;max-width:none;min-height:46px;border:1px solid #cfdfd3;border-radius:9px;padding:11px 12px;background:#fff;color:#1e4032;box-shadow:none;font-size:14px;line-height:1.5;margin:0}.wlf-input textarea{resize:vertical;min-height:94px}.wlf-options{display:flex;flex-wrap:wrap;gap:8px}.wlf-mount .wlf-option{min-width:42px;min-height:42px;border:1px solid #ceded2;border-radius:10px;padding:9px 14px;background:#fff;color:#234633;line-height:1.4;text-align:left}.wlf-mount .wlf-option[aria-pressed=true]{background:var(--wl-accent);border-color:var(--wl-accent);color:white}.wlf-action{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:10px;padding:12px 18px;background:var(--wl-accent);color:#fff!important;text-decoration:none!important;font-weight:600;font-size:13px;min-height:44px}.wlf-secondary{border:1px solid #cadcd0;border-radius:9px;background:transparent;color:inherit;padding:10px 12px;min-height:42px;font-size:12px}.wlf-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:16px;flex-wrap:wrap}.wlf-mount .wlf-error{color:#a33126;font-size:12px;margin-top:8px}.wlf-help{font-size:12px;color:#587065}.wlf-counter{display:flex;align-items:center;gap:8px}.wlf-counter input{min-width:0;text-align:center}.wlf-counter button{flex-shrink:0;font-size:20px}.wlf-check,.wlf-consent,.wlf-resume{display:flex;align-items:flex-start;gap:9px;line-height:1.6;margin:8px 0;font-size:12px}.wlf-mount input[type=checkbox]{appearance:auto;width:17px;height:17px;min-width:17px;margin:3px 0;accent-color:var(--wl-accent)}.wlf-consent{font-size:11px;color:inherit}.wlf-consent a{color:inherit;text-decoration:underline}.wlf-resume{font-size:10px;color:#4f6357}.wlf-summary-row{position:relative;border-bottom:1px solid #d9e5dc;padding:12px 45px 12px 0;overflow-wrap:anywhere}.wlf-summary-row small{display:block;font-size:11px;color:#4f6357}.wlf-summary-row strong{font-weight:600;font-size:13px;white-space:pre-wrap}.wlf-summary-row .wlf-edit{position:absolute;right:0;top:18px}.wlf-final{margin-top:20px}.wlf-final>.wlf-action{width:100%}.wlf-reset{font-size:10px;color:#4f6357;align-self:center;padding:7px;border:0;background:transparent;text-decoration:underline}.wlf-form-field{margin:0 0 22px}.wlf-form-field .wlf-help{margin-bottom:8px}.wlf-copy{font-size:12px;min-height:120px;resize:vertical}.wlf-offline{padding:12px 14px;background:#fff4d8;border-radius:10px;color:#735a25;font-size:12px}.wlf-typing{font-size:11px;color:#4f6357}.wlf-mount :focus-visible{outline:3px solid #65adce;outline-offset:3px}.wlf-theme-minimal{background:#fff}.wlf-theme-minimal .wlf-header{background:#fff;color:#213e31;border-bottom:1px solid #dce4dc}.wlf-theme-minimal .wlf-identity small{color:#4f6357}.wlf-theme-minimal .wl-close{color:#264834;background:#f0f4ef}.wlf-theme-editorial{background:#fbf7ef;color:#483e2e}.wlf-theme-editorial .wlf-header{background:#514937}.wlf-theme-editorial h2.wlf-title{font-family:Georgia,serif;font-size:30px;font-weight:400}.wlf-theme-editorial .wlf-question{border-radius:6px;border-color:#e2daca}.wlf-theme-midnight{background:#13282b;color:#e3f0e7}.wlf-theme-midnight .wlf-header{background:#0e2023}.wlf-theme-midnight .wlf-question{background:#1c3638;border-color:#3f5752}.wlf-theme-midnight .wlf-help,.wlf-theme-midnight .wlf-progress,.wlf-theme-midnight .wlf-summary-row small,.wlf-theme-midnight .wlf-resume,.wlf-theme-midnight .wlf-reset{color:#bdd0c5}.wlf-theme-midnight .wlf-input input:not([type=checkbox]),.wlf-theme-midnight .wlf-input textarea,.wlf-theme-midnight .wlf-input select,.wlf-theme-midnight .wlf-option:not([aria-pressed=true]),.wlf-theme-midnight .wlf-copy{background:#284242;color:#fff;border-color:#577168}.wlf-theme-midnight .wlf-error{color:#ffc6b5}.wlf-mode-steps .wlf-question{padding:22px;border-top:3px solid var(--wl-accent)}.wl-root #wlf-launch{font:inherit;cursor:pointer}.wl-root #wlf-dialog{width:460px;max-height:calc(100dvh - 28px);max-width:calc(100vw - 24px)}
.wlb-layout{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(330px,1fr);gap:24px}.wlb-preview{position:relative;align-self:start;max-height:calc(100vh - 80px);overflow:auto;border:1px solid #d5e2d5;border-radius:18px;background:#ecf2e8;padding:14px}.wlb-preview>header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px;font-size:10px;color:#57725f;letter-spacing:1px}.wlb-preview .wlf-mount{border-radius:14px;overflow:hidden}.wlb-node,.wlb-target,.wlb-rule{border:1px solid #dce5db;padding:16px;border-radius:12px;background:#f8fbf6;margin:14px 0}.wlb-row-head{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px}.wlb-row-head>div{display:flex;gap:5px}.wlb-tabs{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.wlb-tabs button[aria-selected=true]{background:#173e31;color:white;border-color:#173e31}.wlb-editor .wla-control{margin:12px 0}.wlb-editor details{border-top:1px solid #dce5db;margin-top:12px;padding-top:12px}.wlb-editor summary{font-size:12px;cursor:pointer;font-weight:600}.wlb-editor .wla-save{flex-wrap:wrap}.wlb-state{font-size:11px;color:#627466;margin:5px 0 20px}.wlb-editor select{max-width:100%}.wlb-import{margin-top:20px}.wlb-library{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:18px}.wlb-library .wla-card{margin-bottom:0}.wlb-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.wlb-editor textarea{min-height:72px}.wlb-limit{font-size:11px;color:#6b7768}.wlb-error{padding:12px;background:#fff0e8;color:#9b3320;border-radius:8px}.wlb-metrics{margin-top:24px}.wlb-metrics td{font-variant-numeric:tabular-nums}@media(max-width:1050px){.wlb-layout{display:block}.wlb-preview{position:static;max-height:800px;max-width:480px;margin:24px auto}}@media(max-width:600px){.wlf-body{padding:18px}.wlf-header{padding:16px 18px}.wlf-input input:not([type=checkbox]),.wlf-input select,.wlf-input textarea{font-size:16px}.wlf-question{padding:16px}.wlb-row-head{align-items:flex-start}.wlb-preview{padding:8px}.wlf-options{gap:7px}.wlf-mount .wlf-option{padding:10px}.wlf-consent{font-size:12px}}

/* Etapa 14: escolhas ilustradas e apresentações de conversa, sem dependências externas. */
.wlf-image-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,134px),1fr));gap:10px}
.wlf-image-options .wlf-option{display:flex;flex-direction:column;align-items:stretch;text-align:left;gap:8px;overflow:hidden;min-width:0}
.wlf-option-image{display:block;width:100%;height:104px;aspect-ratio:4/3;object-fit:cover;border-radius:9px;background:#e7ece8}
.wlf-image-multi{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,144px),1fr));gap:10px}
.wlf-image-multi .wlf-check{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:9px;border:1px solid #bdcfc1;border-radius:12px;overflow-wrap:anywhere}
.wlf-image-multi .wlf-check img{flex-basis:100%;order:-1}
.wlf-chat-compact.wlf-mode-chat .wlf-bubble{border-radius:7px;margin:5px 0;padding:8px 12px;box-shadow:none}
.wlf-chat-compact.wlf-mode-chat .wlf-history{gap:4px}
.wlf-chat-cards.wlf-mode-chat .wlf-bubble{border:1px solid #b5d5c3;background:transparent;border-left:4px solid var(--wl-accent);border-radius:8px;margin:10px 0;padding:14px}
.wlf-chat-cards.wlf-mode-chat .wlf-answer{border-radius:9px;border:1px solid #c5d9c9;padding:10px}
.wlb-options-editor{margin:12px 0;border-top:1px solid #dce5db;padding-top:12px}
.wlb-options-editor h4{margin:0 0 5px;font-size:13px}
.wlb-option-editor{border:1px solid #dce5db;background:#fff;border-radius:10px;padding:12px;margin:10px 0}
.wlb-option-media{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:10px 0}
.wlb-option-thumb{width:64px;height:54px;object-fit:cover;border-radius:8px;border:1px solid #dce5db}
.wlb-option-thumb[hidden]{display:none}
.wlb-option-editor .wla-control{min-width:0}
.wlb-option-editor .button{white-space:normal}
@media(max-width:600px){.wlf-image-options,.wlf-image-multi{grid-template-columns:repeat(2,minmax(0,1fr))}.wlf-option-image{height:82px}}

/* Etapa 15, incremento 01: identidade por fluxo, sem fontes/CDNs externas. */
.wlf-font-system{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.wlf-font-humanist{font-family:"Trebuchet MS","Segoe UI",sans-serif}
.wlf-font-serif{font-family:Georgia,"Times New Roman",serif}
.wlf-font-rounded{font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif}
.wl-flow-font-humanist #wlf-launch{font-family:"Trebuchet MS","Segoe UI",sans-serif}
.wl-flow-font-serif #wlf-launch{font-family:Georgia,"Times New Roman",serif}
.wl-flow-font-rounded #wlf-launch{font-family:"Arial Rounded MT Bold","Trebuchet MS",sans-serif}
.wlf-avatar-circle .wlf-avatar,.wl-flow-avatar-circle .wl-flow-launch-avatar{border-radius:50%}
.wlf-avatar-square .wlf-avatar,.wl-flow-avatar-square .wl-flow-launch-avatar{border-radius:3px}
.wlf-avatar-rounded .wlf-avatar,.wl-flow-avatar-rounded .wl-flow-launch-avatar{border-radius:13px}
.wlb-identity-kit{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:13px;border:1px solid #dce5db;border-radius:12px;background:#f8fbf6}
.wlb-identity-kit .wla-muted{flex-basis:100%;margin:0}
.wlb-avatar-picker{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:12px 0}
.wlb-avatar-thumb{width:60px;height:60px;object-fit:cover;border-radius:13px;border:1px solid #dce5db}
.wlb-avatar-thumb[hidden]{display:none}
@media(prefers-reduced-motion:reduce){.wlf-mount *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Etapa 15, incremento 02 — som opcional na conversa incorporada, sem sobrepor o controle de fechar. */
.wlf-header .wl-sound-toggle{font:inherit;font-size:12px;line-height:1.4;border:1px solid #b7c7c0;border-radius:18px;background:transparent;color:inherit;padding:6px 11px;margin-left:auto;cursor:pointer;white-space:normal}
.wlf-header .wl-sound-toggle:focus-visible{outline:3px solid #5cb6d2;outline-offset:3px}
.wlf-header .wl-close{flex-shrink:0}
@media(max-width:460px){.wlf-header .wl-sound-toggle{font-size:11px;padding:5px 7px}}

.wlf-header .wlf-identity{min-width:0;flex:1 1 auto}.wlf-header .wlf-identity>div{min-width:0;overflow-wrap:anywhere}.wlf-header .wl-sound-toggle{flex-shrink:0;margin-left:8px}

/* Devanagari glyph fallback: local/system fonts only, no network font dependency. */
.wlf-mount[lang="hi"],#wl-flow-root[lang="hi"],.wlp-slide-nav[lang="hi"],.wlp-skip[lang="hi"]{font-family:"Noto Sans Devanagari","Nirmala UI","Mangal",system-ui,sans-serif}

/* Etapa 17 / incremento 01: readable long translated labels and Devanagari, scoped
   to the visitor-facing form (including the isolated pre-sell embed). */
.wlf-mount .wlf-identity,.wlf-mount .wlf-body,.wlf-mount .wlf-question,.wlf-mount .wlf-form-field{min-width:0}
.wlf-mount .wlf-title,.wlf-mount .wlf-identity strong,.wlf-mount .wlf-identity small,
.wlf-mount .wlf-question h3,.wlf-mount .wlf-form-field h3,.wlf-mount .wlf-option,
.wlf-mount .wlf-action,.wlf-mount .wlf-secondary,.wlf-mount .wlf-summary-row,
.wlf-mount .wlf-help,.wlf-mount .wlf-offline{overflow-wrap:anywhere}
.wlf-mount[lang="hi"] .wlf-body,.wlf-mount[lang="hi"] .wlf-bubble,
.wlf-mount[lang="hi"] .wlf-question,.wlf-mount[lang="hi"] .wlf-action{line-height:1.8}
/* Long translated slide buttons must stay inside the mobile viewport. */
.wlp-slide-nav:not([hidden]) > *{min-width:0}
.wlp-slide-nav button{overflow-wrap:anywhere;white-space:normal}
@media(max-width:420px){.wlp-slide-nav:not([hidden]){flex-wrap:wrap}.wlp-slide-nav button{flex:1 1 110px}}

/* Etapa 17: localized presentation only; original server message stays untouched. */
.wlf-confirmed-answers{border:1px solid #d9e5dc;border-radius:12px;padding:14px;background:#ffffff;min-width:0}
.wlf-confirmed-answers h3{margin:0 0 7px}
.wlf-confirmed-list{margin:0;min-width:0}
.wlf-confirmed-row{padding:9px 0;border-top:1px solid #e3ede5;min-width:0;overflow-wrap:anywhere}
.wlf-confirmed-row dt{font-size:11px;color:#4f6357;margin:0 0 3px}
.wlf-confirmed-row dd{margin:0;font-size:13px;font-weight:600;white-space:pre-wrap;overflow-wrap:anywhere}
.wlf-message-label{display:block;font-weight:600;font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.wlf-theme-midnight .wlf-confirmed-answers{background:#1c3638;border-color:#3f5752}
.wlf-theme-midnight .wlf-confirmed-row{border-color:#3f5752}
.wlf-theme-midnight .wlf-confirmed-row dt{color:#bdd0c5}
.wlf-mount[lang=hi] .wlf-confirmed-row{line-height:1.75}


/* Etapa 23 / incremento 04 — controles da conversa nos três modos.
   Mantém o mesmo HTML e dados; apenas foco, legibilidade e toque. */
.wlf-mount .wlf-question{box-shadow:0 12px 30px rgba(19,55,33,.055);border-color:#d8e6db}
.wlf-mount .wlf-option{transition:background-color .16s ease,border-color .16s ease,box-shadow .16s ease}
.wlf-mount .wlf-option:not(:disabled):hover{border-color:#7aa78c;box-shadow:0 3px 11px rgba(20,60,36,.07)}
.wlf-mount .wlf-action:not(:disabled):hover{filter:brightness(.93)}
.wlf-mount .wlf-input :is(input:not([type=checkbox]),textarea,select):focus{border-color:#66a781;box-shadow:0 0 0 3px rgba(28,111,70,.13);outline:none}
.wlf-mount :is(.wlf-option,.wlf-secondary,.wlf-action,.wlf-edit,.wl-close):focus-visible{outline:3px solid #5badc9;outline-offset:3px}
.wlf-mount .wlf-summary-row,.wlf-mount .wlf-confirmed-row{overflow-wrap:anywhere}
.wlf-mount .wlf-actions>*{max-width:100%}
.wlf-mount .wlf-offline{border:1px solid #eed59c;line-height:1.65}
.wlf-theme-midnight .wlf-question{box-shadow:none}
@media(max-width:480px){.wlf-mount .wlf-question{padding:16px}.wlf-mount .wlf-actions{gap:9px}.wlf-mount .wlf-actions>.wlf-action{min-height:46px}.wlf-mount .wlf-bubble{max-width:100%}}
@media(prefers-reduced-motion:reduce){.wlf-mount .wlf-option{transition:none!important}}


/* Etapa 23 / incremento 06 — refinamento transversal dos três modos públicos.
   Mesmos seletores na prévia e no site; nenhum efeito na lógica ou payload. */
.wlf-mount{
 --wlf-line:rgba(27,79,54,.15);
 --wlf-soft-shadow:0 14px 34px rgba(20,56,37,.075);
}
.wlf-mount .wlf-body{gap:17px;min-width:0}
.wlf-mount .wlf-question{
 border-radius:18px;padding:22px;
 box-shadow:var(--wlf-soft-shadow);
}
.wlf-mount .wlf-question h3,.wlf-mount .wlf-form-field h3{
 font-weight:700;line-height:1.45;letter-spacing:-.015em;
}
.wlf-mount .wlf-form-field{
 position:relative;padding:18px 18px 20px;
 margin:0 0 14px;border:1px solid var(--wlf-line);
 border-radius:15px;background:rgba(255,255,255,.72);
}
.wlf-mount .wlf-form-field h3{margin:0 0 10px}
.wlf-mount .wlf-form-field .wlf-help{margin:0 0 12px}
.wlf-mount .wlf-options{gap:10px}
.wlf-mount .wlf-option{
 min-height:46px;border-radius:12px;font-weight:600;
 box-shadow:0 1px 2px rgba(19,57,35,.04);
}
.wlf-mount .wlf-option[aria-pressed=true]{
 box-shadow:0 0 0 3px rgba(24,112,74,.14),0 5px 14px rgba(16,76,43,.12);
}
.wlf-mount .wlf-input :is(input:not([type=checkbox]),textarea,select){border-radius:11px;min-height:48px}
.wlf-mount .wlf-input :is(input,textarea,select)[aria-invalid=true],
.wlf-mount .wlf-option[aria-invalid=true]{border-color:#b33e37;box-shadow:0 0 0 3px rgba(179,62,55,.12)}
.wlf-mount .wlf-error:not(:empty){
 display:block;border-radius:11px;
 padding:11px 13px;background:#fff1ef;
 border:1px solid #edc7c1;color:#8b2e28;
 font-size:12px;line-height:1.6;
}
.wlf-mount .wlf-actions{align-items:center;gap:10px}
.wlf-mount .wlf-action{min-height:46px;border-radius:12px;line-height:1.4;box-shadow:0 7px 18px rgba(18,93,57,.15)}
.wlf-mount .wlf-secondary{border-radius:11px;background:rgba(255,255,255,.7);font-weight:600}
.wlf-mount .wlf-progress-wrap{
 display:grid;gap:9px;margin:1px 0 3px;min-width:0;
}
.wlf-mount .wlf-progress{margin:0;font-size:11px;line-height:1.5;font-weight:700;color:#4d685a;letter-spacing:.03em}
.wlf-mount .wlf-progress-track{
 height:6px;border-radius:999px;background:#dceae0;overflow:hidden;
}
.wlf-mount .wlf-progress-fill{
 display:block;height:100%;border-radius:inherit;background:var(--wl-accent);
 transition:width .2s ease;
}
.wlf-mount .wlf-history{gap:13px}
.wlf-mount .wlf-bubble{border-radius:5px 17px 17px 17px;padding:14px 16px;line-height:1.6}
.wlf-mount .wlf-answer{border-radius:17px 5px 17px 17px;line-height:1.55}
.wlf-mount .wlf-summary{border:1px solid var(--wlf-line);background:rgba(255,255,255,.64);padding:18px;border-radius:16px}
.wlf-mount .wlf-summary h3{margin:0 0 9px}
.wlf-mount .wlf-summary-row{padding:13px 48px 13px 0}
.wlf-mount .wlf-summary-row strong{display:block;line-height:1.6}
.wlf-mount .wlf-summary-row .wlf-edit{top:16px}
.wlf-mount .wlf-final{margin-top:18px}
.wlf-mount .wlf-final>.wlf-action{min-height:48px}
.wlf-mount .wlf-confirmed-answers{border-radius:16px;padding:18px;box-shadow:var(--wlf-soft-shadow)}
.wlf-mount .wlf-message-label{margin-top:4px}
.wlf-mount .wlf-copy{line-height:1.65;min-height:130px;border-radius:12px}
.wlf-mount [aria-busy=true]>.wlf-action{opacity:.75}
.wlf-theme-midnight .wlf-form-field,
.wlf-theme-midnight .wlf-summary{background:#213a3b;border-color:#4b6c60}
.wlf-theme-midnight .wlf-progress-track{background:#415c54}
.wlf-theme-midnight .wlf-progress{color:#c5d9cc}
.wlf-theme-midnight .wlf-option[aria-pressed=true]{box-shadow:0 0 0 3px rgba(169,220,183,.16)}
.wlf-theme-midnight .wlf-error:not(:empty){background:#4a2b2b;border-color:#85534b;color:#ffe0d7}
.wlf-theme-midnight .wlf-secondary{background:#2c4849;color:#eef7ef;border-color:#628077}
.wlf-theme-midnight .wlf-confirmed-answers{box-shadow:none}
.wlf-theme-editorial .wlf-form-field,.wlf-theme-editorial .wlf-summary{border-radius:7px;background:#fffaf2}
.wlf-theme-editorial .wlf-option,.wlf-theme-editorial .wlf-action{border-radius:7px}
.wlf-mount[lang=hi] .wlf-progress{line-height:1.75;letter-spacing:0}
@media(max-width:480px){
 .wlf-mount .wlf-body{padding:18px;gap:14px}
 .wlf-mount .wlf-question{padding:17px;border-radius:15px}
 .wlf-mount .wlf-form-field{padding:15px;border-radius:13px}
 .wlf-mount .wlf-summary{padding:15px}
 .wlf-mount .wlf-actions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,124px),1fr))}
 .wlf-mount .wlf-actions>*{min-width:0;width:100%;white-space:normal}
 .wlf-mount .wlf-answer,.wlf-mount .wlf-bubble{max-width:100%}
}
@media(prefers-reduced-motion:reduce){.wlf-mount .wlf-progress-fill{transition:none!important}}

/* Etapa 23 / incremento 07 — validation feedback and resilient long content.
   Scoped to shared public and preview markup; canonical answers are unchanged. */
.wlf-mount .wlf-input:has([aria-invalid="true"]){
 border-radius:13px;
 outline:1px solid rgba(176,57,50,.26);
 outline-offset:5px;
}
.wlf-mount .wlf-form-field:has([aria-invalid="true"]){
 border-color:#d79d92;
 box-shadow:0 0 0 3px rgba(176,57,50,.08);
}
.wlf-mount .wlf-error:not(:empty){overflow-wrap:anywhere;white-space:normal}
.wlf-mount .wlf-submit-failed>.wlf-error:not(:empty){margin-bottom:14px}
.wlf-mount .wlf-final[aria-busy="true"]>.wlf-action::before{
 content:"";display:inline-block;width:12px;height:12px;border:2px solid currentColor;
 border-right-color:transparent;border-radius:50%;margin-right:8px;
 vertical-align:-2px;animation:wlf-sending-spin 700ms linear infinite;
}
@keyframes wlf-sending-spin{to{transform:rotate(360deg)}}
.wlf-mount :is(.wlf-bubble,.wlf-answer,.wlf-title,.wlf-copy,.wlf-confirmed-row dd,.wlf-summary-row strong){
 overflow-wrap:anywhere;min-width:0;
}
.wlf-mount .wlf-copy{resize:vertical;max-height:55vh}
.wlf-theme-midnight .wlf-input:has([aria-invalid="true"]){outline-color:rgba(247,170,155,.53)}
.wlf-theme-midnight .wlf-form-field:has([aria-invalid="true"]){border-color:#d9a59a;box-shadow:0 0 0 3px rgba(217,165,154,.12)}
@media(prefers-reduced-motion:reduce){.wlf-mount .wlf-final[aria-busy="true"]>.wlf-action::before{animation:none}}

/* Etapa 24.01 — color legibility across all public modes and identical previews.
   The accent itself is NEVER changed; foreground is chosen by sRGB contrast. */
.wlf-mount .wlf-option[aria-pressed="true"],
.wlf-mount .wlf-answer{color:var(--wlf-on-accent,#fff)}
.wlf-mount .wlf-action{color:var(--wlf-on-accent,#fff)!important}
.wlf-mount .wlf-option[aria-pressed="true"]:focus-visible,
.wlf-mount .wlf-action:focus-visible{outline-offset:4px}
@media (prefers-reduced-motion:reduce){
 .wlf-mount .wlf-option,.wlf-mount .wlf-action{transition:none!important}
}

/* Selected controls must remain visually distinct when the authored accent is white. */
.wlf-mount .wlf-option[aria-pressed="true"]{
 box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--wlf-on-accent,#fff) 27%,transparent),0 0 0 3px rgba(24,112,74,.14);
}


/* Etapa 24.02 — recoverable feedback, readable international copy, coherent actions.
   Shared by public flows and previews; does not alter persisted answers or routing. */
.wlf-mount{min-width:0;overflow-wrap:anywhere}
.wlf-mount .wlf-body{min-width:0}
.wlf-mount .wlf-error:not(:empty){
 position:relative;max-width:100%;border-left:3px solid #b54c40;
 padding:13px 15px;line-height:1.65;overflow-wrap:anywhere;
}
.wlf-mount .wlf-error[tabindex="-1"]:focus{
 outline:3px solid #317b66;outline-offset:3px;
}
.wlf-theme-midnight .wlf-error:not(:empty){border-left-color:#f2ada3}
.wlf-theme-midnight .wlf-error[tabindex="-1"]:focus{outline-color:#b1d9c5}
.wlf-mount .wlf-confirmed-answers,.wlf-mount .wlf-summary{min-width:0;max-width:100%}
.wlf-mount .wlf-confirmed-row :is(dt,dd),.wlf-mount .wlf-message-label,
.wlf-mount .wlf-copy,.wlf-mount .wlf-question h3{overflow-wrap:anywhere}
.wlf-mount .wlf-copy{width:100%;max-width:100%;min-width:0}
.wlf-mount .wlf-final>.wlf-action,.wlf-mount .wlf-final>.wlf-error{max-width:100%}
.wlf-mount .wlf-action,.wlf-mount .wlf-secondary{
 text-align:center;white-space:normal;word-break:normal;overflow-wrap:anywhere;
}
.wlf-mount[lang="hi"] :is(.wlf-title,.wlf-question h3,.wlf-action,.wlf-error,.wlf-help){
 line-height:1.75;letter-spacing:normal;
}
@media(max-width:480px){
 .wlf-mount .wlf-confirmed-answers{padding:15px}
 .wlf-mount .wlf-error:not(:empty){padding:12px}
 .wlf-mount .wlf-actions{grid-template-columns:repeat(auto-fit,minmax(min(100%,132px),1fr))}
}
