:root{--ddfx-ink:#17233a;--ddfx-muted:#64748b;--ddfx-line:#dfe7f1;--ddfx-soft:#f5f8fc;--ddfx-brand:#075e54;--ddfx-brand2:#0b7669;--ddfx-blue:#0b5cab;--ddfx-radius:24px;--ddfx-shadow:0 16px 46px rgba(26,42,74,.09)}
.main-area{background:linear-gradient(180deg,#f8fafc 0,#f4f7fb 100%)}
.ddf-page-wrap,.container{max-width:1260px!important}.ddf-page-content{padding-bottom:90px!important}
.panel{border:1px solid var(--ddfx-line)!important;border-radius:var(--ddfx-radius)!important;box-shadow:0 8px 30px rgba(26,42,74,.05)!important}
.ddfx-kicker{display:block;text-transform:uppercase;letter-spacing:.12em;font-size:.72rem;font-weight:900;color:var(--ddfx-brand);margin-bottom:8px}
.ddfx-hero{position:relative;overflow:hidden;background:linear-gradient(135deg,#fff 0,#f2fbf9 100%);border:1px solid #cfe9e4;border-radius:30px;padding:38px;box-shadow:var(--ddfx-shadow);margin-bottom:26px}.ddfx-hero:after{content:"";position:absolute;width:280px;height:280px;border-radius:50%;right:-120px;top:-150px;background:rgba(11,118,105,.08)}
.ddfx-hero-defe{display:grid;grid-template-columns:72px 1fr;gap:18px}.ddfx-defe-mark{width:64px;height:64px;border-radius:22px;background:linear-gradient(135deg,var(--ddfx-brand),var(--ddfx-brand2));color:#fff;display:grid;place-items:center;font-size:30px;box-shadow:0 12px 28px rgba(7,94,84,.25)}
.ddfx-hero-copy h1{font-size:clamp(2rem,4vw,3.35rem);line-height:1;margin:0 0 12px;color:var(--ddfx-ink)}.ddfx-hero-copy p{font-size:1.1rem;color:var(--ddfx-muted);margin:0;max-width:720px}
.ddfx-defe-composer{grid-column:1/-1;margin-top:14px;background:#fff;border:2px solid #d7e9e5;border-radius:24px;padding:10px;display:grid;grid-template-columns:1fr auto;align-items:end;gap:10px;box-shadow:0 16px 35px rgba(15,23,42,.08)}.ddfx-defe-composer:focus-within{border-color:#63b7a9;box-shadow:0 0 0 4px rgba(11,118,105,.1)}.ddfx-defe-composer textarea{border:0!important;box-shadow:none!important;resize:vertical;min-height:98px;padding:16px!important;font-size:1.08rem!important;background:transparent!important}.ddfx-defe-composer button{border-radius:18px!important;padding:15px 20px!important;display:flex;gap:16px;align-items:center;white-space:nowrap}.ddfx-defe-composer button b{font-size:1.35rem}.ddfx-helper{grid-column:1/-1;color:var(--ddfx-muted);padding-left:4px}
.ddfx-section{margin:28px 0}.ddfx-section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:15px}.ddfx-section-head h2{margin:0;color:var(--ddfx-ink)}
.ddfx-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}.ddfx-action-card{position:relative;min-height:190px;padding:22px;border-radius:24px;background:#fff;border:1px solid var(--ddfx-line);text-decoration:none;color:var(--ddfx-ink);display:flex;flex-direction:column;box-shadow:0 8px 25px rgba(26,42,74,.05);transition:.2s}.ddfx-action-card:hover{transform:translateY(-4px);box-shadow:var(--ddfx-shadow);border-color:#b9d7d1}.ddfx-action-card i{font-style:normal;font-size:2rem;margin-bottom:18px}.ddfx-action-card strong{font-size:1.08rem;margin-bottom:7px}.ddfx-action-card span{color:var(--ddfx-muted);line-height:1.45}.ddfx-action-card b{margin-top:auto;color:var(--ddfx-brand)}
.ddfx-metric-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.ddfx-metric-card{background:#fff;border:1px solid var(--ddfx-line);border-radius:22px;padding:20px;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:14px;text-decoration:none;color:var(--ddfx-ink)}.ddfx-metric-card strong{font-size:2.3rem}.ddfx-metric-card span{font-weight:800}.ddfx-metric-card b{color:var(--ddfx-brand)}
.ddfx-page-intro{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid var(--ddfx-line);border-radius:26px;padding:26px 28px;margin-bottom:22px;box-shadow:0 8px 28px rgba(26,42,74,.05)}.ddfx-page-intro h1{margin:0 0 8px;color:var(--ddfx-ink);font-size:2rem}.ddfx-page-intro p{margin:0;color:var(--ddfx-muted)}.ddfx-advice{display:flex;align-items:center;gap:12px;background:#eef8f6;border:1px solid #cfe9e4;border-radius:18px;padding:14px 16px;max-width:360px}.ddfx-advice b{font-size:1.35rem}
.ddfx-settings-form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.ddfx-settings-card{background:#fff;border:1px solid var(--ddfx-line);border-radius:24px;padding:22px;box-shadow:0 8px 25px rgba(26,42,74,.05)}.ddfx-settings-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:12px}.ddfx-settings-title>i{font-style:normal;font-size:1.7rem}.ddfx-settings-title h2{font-size:1.05rem;margin:0 0 4px}.ddfx-settings-title p{font-size:.88rem;margin:0;color:var(--ddfx-muted)}.ddfx-switch-row{display:flex!important;align-items:center;justify-content:space-between;gap:16px;padding:16px 0;border-top:1px solid #edf1f6;cursor:pointer}.ddfx-switch-row span{display:flex;flex-direction:column;gap:3px}.ddfx-switch-row small{color:var(--ddfx-muted);font-weight:500}.ddfx-switch-row input{position:absolute;opacity:0}.ddfx-switch-row>i{width:48px;height:28px;border-radius:99px;background:#cbd5e1;position:relative;flex:0 0 auto;transition:.2s}.ddfx-switch-row>i:after{content:"";position:absolute;width:22px;height:22px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 6px rgba(0,0,0,.2);transition:.2s}.ddfx-switch-row input:checked+i{background:var(--ddfx-brand2)}.ddfx-switch-row input:checked+i:after{transform:translateX(20px)}.ddfx-sticky-actions{grid-column:1/-1;display:flex;justify-content:flex-end;position:sticky;bottom:18px;z-index:4}.ddfx-sticky-actions button{border-radius:999px!important;padding:15px 26px!important;box-shadow:0 10px 24px rgba(7,94,84,.25)}
.ddfx-install-card{margin-top:18px;background:#fff;border:1px solid var(--ddfx-line);border-radius:22px;padding:18px 20px;display:flex;align-items:center;gap:14px}.ddfx-install-card>div{display:flex;align-items:center;gap:12px;flex:1}.ddfx-install-card i{font-style:normal;font-size:1.8rem}.ddfx-install-card span{display:flex;flex-direction:column}.ddfx-install-card small{color:var(--ddfx-muted)}.ddfx-install-card button{border-radius:999px!important}.ddfx-install-card p{display:none}
.ddfx-wizard-progress{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:24px}.ddfx-wizard-progress span{padding:12px 14px;border-radius:14px;background:#eef2f7;color:#64748b;font-weight:800;text-align:center}.ddfx-wizard-progress .is-active{background:#e6f4f1;color:var(--ddfx-brand)}
.ddf-form-builder.ddfx-wizard .ddf-field-builder,.ddf-form-builder.ddfx-wizard .ddf-access-builder{background:#f8fafc;border:1px solid var(--ddfx-line);border-radius:22px;padding:20px}.ddf-form-builder.ddfx-wizard .ddf-field-builder-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.ddf-form-builder.ddfx-wizard .ddf-field-option{background:#fff!important;border:1px solid var(--ddfx-line)!important;border-radius:16px!important;padding:14px!important}
.chat-grid{grid-template-columns:360px minmax(0,1fr)!important}.chat-sidebar,.chat-window{border-radius:24px!important}.conversation-item{padding:14px!important}.messages-box{max-height:56vh;overflow:auto}.chat-compose{position:sticky;bottom:0;background:#fff}
@media(max-width:1100px){.ddfx-action-grid{grid-template-columns:repeat(2,1fr)}.ddfx-settings-form{grid-template-columns:repeat(2,1fr)}.ddf-form-builder.ddfx-wizard .ddf-field-builder-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.ddf-page-content{padding:14px 12px 100px!important}.ddfx-hero{padding:22px 18px;border-radius:24px}.ddfx-hero-defe{grid-template-columns:48px 1fr;gap:12px}.ddfx-defe-mark{width:48px;height:48px;border-radius:16px;font-size:23px}.ddfx-hero-copy h1{font-size:2rem}.ddfx-hero-copy p{font-size:1rem}.ddfx-defe-composer{display:flex;flex-direction:column;align-items:stretch;border-radius:20px}.ddfx-defe-composer textarea{min-height:120px}.ddfx-defe-composer button{justify-content:center;width:100%}.ddfx-action-grid,.ddfx-metric-grid,.ddfx-settings-form{grid-template-columns:1fr}.ddfx-action-card{min-height:150px}.ddfx-page-intro{display:block;padding:20px;border-radius:22px}.ddfx-advice{margin-top:16px;max-width:none}.ddfx-sticky-actions{position:static}.ddfx-sticky-actions button{width:100%}.ddfx-install-card{align-items:flex-start;flex-wrap:wrap}.ddfx-install-card button{width:100%}.ddfx-wizard-progress{overflow-x:auto;grid-template-columns:repeat(3,minmax(140px,1fr))}.ddf-form-builder.ddfx-wizard .ddf-field-builder-grid{grid-template-columns:1fr}.chat-grid{display:flex!important;flex-direction:column}.chat-window{order:1}.chat-sidebar{order:2}.messages-box{max-height:none}.chat-compose{position:static}}

/* UX.2 - Consolidacao visual dos modulos */
.ddfx-module-page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;align-items:start}
.ddfx-module-page>.alert,.ddfx-module-page>.ddfx-module-hero,.ddfx-module-page>.ddf-communities-hero,.ddfx-module-page>.ddf-competencias-hero{grid-column:1/-1}
.ddfx-module-page>.panel{margin:0!important;min-width:0;background:linear-gradient(145deg,#fff 0%,#f8fbff 100%)}
.ddfx-module-page>.panel:nth-of-type(3n+1){background:linear-gradient(145deg,#fff 0%,#f2fbf8 100%)}
.ddfx-module-page>.panel:nth-of-type(3n+2){background:linear-gradient(145deg,#fff 0%,#f4f7ff 100%)}
.ddfx-module-page>.panel:nth-of-type(3n){background:linear-gradient(145deg,#fff 0%,#fff8ed 100%)}
.ddfx-module-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px!important;background:linear-gradient(135deg,#fff 0%,#eaf8f4 100%)!important}
.ddfx-module-hero h1{margin:0 0 8px;font-size:clamp(1.8rem,3vw,2.5rem);color:var(--ddfx-ink)}
.ddfx-section-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:18px}.ddfx-section-heading h2{margin:0 0 5px}.ddfx-section-heading p{margin:0}
.ddfx-count-pill{min-width:42px;height:42px;border-radius:14px;background:#e8f4f1;color:var(--ddfx-brand);display:grid;place-items:center;font-weight:900;font-size:1.15rem}
.ddfx-filter-card{grid-column:1/-1}.ddfx-filter-card .form-grid{grid-template-columns:2fr 1.2fr 1.2fr auto;align-items:end}.ddfx-filter-card .actions{margin:0;display:flex;gap:8px;align-items:center}
.ddfx-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ddfx-person-card{border:1px solid var(--ddfx-line);border-radius:20px;padding:18px;display:flex;flex-direction:column;gap:9px;min-width:0}.ddfx-person-card>div:first-child{display:flex;justify-content:space-between;gap:10px}.ddfx-person-card p,.ddfx-person-card small{margin:0}.ddfx-person-card small{color:var(--ddfx-muted)}
.ddfx-gradient-attention{background:linear-gradient(145deg,#fff 0%,#fff6df 100%)}.ddfx-gradient-management{background:linear-gradient(145deg,#fff 0%,#edf7ff 100%)}
.ddfx-card-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:8px}.ddfx-card-actions details{position:relative}.ddfx-card-actions summary{cursor:pointer;list-style:none;border:1px solid var(--ddfx-brand);color:var(--ddfx-brand);border-radius:12px;padding:9px 12px;font-weight:800}.ddfx-member-action-form{position:absolute;right:0;top:calc(100% + 8px);z-index:8;width:min(320px,80vw);background:#fff;border:1px solid var(--ddfx-line);border-radius:18px;padding:14px;box-shadow:var(--ddfx-shadow);display:grid;gap:8px}
.ddfx-empty{padding:24px;border:1px dashed var(--ddfx-line);border-radius:18px;text-align:center}
.ddfx-communities-page>.panel:nth-of-type(1),.ddfx-communities-page>#nova-comunidade,.ddfx-communities-page>#comunidades-administradas,.ddfx-communities-page>#fluxos-formularios{grid-column:1/-1}
.ddfx-communities-page details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-radius:16px;background:linear-gradient(135deg,#e9f7f3,#f6fbfa);border:1px solid #cde7e1}.ddfx-communities-page details>summary:after{content:'Abrir';font-size:.85rem;border:1px solid var(--ddfx-brand);border-radius:999px;padding:6px 11px;color:var(--ddfx-brand)}.ddfx-communities-page details[open]>summary:after{content:'Fechar'}
.ddfx-communities-page .ddf-community-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.ddfx-communities-page .ddf-community-card,.ddfx-convenios-page .convenio-card,.ddfx-competencias-page .ddf-competence-card{background:linear-gradient(145deg,#fff,#f2f8ff)!important;border-radius:20px!important}
.ddfx-convenios-page>.panel:first-of-type{grid-column:1/-1;background:linear-gradient(135deg,#fff,#fff3df)!important}.ddfx-convenios-page>#cadastro-convenio{grid-column:1/-1}.ddfx-convenios-page .convenios-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ddfx-convenios-page .convenio-card{border:1px solid var(--ddfx-line);padding:18px;margin:0 0 14px;box-shadow:0 8px 24px rgba(26,42,74,.05)}
.ddfx-competencias-page>.panel:first-of-type{grid-column:1/-1}.ddfx-competencias-page>.panel:last-of-type{grid-column:1/-1}.ddfx-competencias-page .ddf-competence-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}.ddfx-competencias-page .ddf-community-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
/* Tema de alto contraste desenhado para legibilidade */
html.ddf-high-contrast body,html.ddf-high-contrast .main-area{background:#000!important;color:#fff!important}
html.ddf-high-contrast .panel,html.ddf-high-contrast .ddfx-module-page>.panel,html.ddf-high-contrast .ddfx-hero,html.ddf-high-contrast .ddfx-page-intro,html.ddf-high-contrast .ddfx-settings-card,html.ddf-high-contrast .ddfx-action-card,html.ddf-high-contrast .ddfx-metric-card,html.ddf-high-contrast .ddfx-install-card,html.ddf-high-contrast .ddfx-person-card,html.ddf-high-contrast .convenio-card,html.ddf-high-contrast .ddf-community-card,html.ddf-high-contrast .ddf-competence-card{background:#101010!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important}
html.ddf-high-contrast h1,html.ddf-high-contrast h2,html.ddf-high-contrast h3,html.ddf-high-contrast strong,html.ddf-high-contrast label,html.ddf-high-contrast p,html.ddf-high-contrast span,html.ddf-high-contrast small,html.ddf-high-contrast .muted,html.ddf-high-contrast .ddfx-hero-copy p,html.ddf-high-contrast .ddfx-settings-title p{color:#fff!important}
html.ddf-high-contrast a{color:#7ee8ff!important;text-decoration:underline}html.ddf-high-contrast button,html.ddf-high-contrast .button{background:#fff!important;color:#000!important;border:2px solid #fff!important;text-decoration:none!important}html.ddf-high-contrast input,html.ddf-high-contrast select,html.ddf-high-contrast textarea{background:#000!important;color:#fff!important;border:2px solid #fff!important}html.ddf-high-contrast input::placeholder,html.ddf-high-contrast textarea::placeholder{color:#ddd!important}html.ddf-high-contrast .ddfx-advice,html.ddf-high-contrast .ddfx-count-pill,html.ddf-high-contrast details>summary{background:#181818!important;color:#fff!important;border-color:#fff!important}html.ddf-high-contrast :focus-visible{outline:4px solid #ffeb3b!important;outline-offset:3px}
@media(max-width:1100px){.ddfx-filter-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ddfx-competencias-page .ddf-competence-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:760px){.ddfx-module-page{grid-template-columns:1fr;gap:14px}.ddfx-module-page>*{grid-column:1!important}.ddfx-module-hero{display:block;padding:20px!important}.ddfx-module-hero .ddfx-advice{margin-top:15px}.ddfx-filter-card .form-grid,.ddfx-people-grid,.ddfx-communities-page .ddf-community-grid,.ddfx-convenios-page .convenios-grid,.ddfx-competencias-page .ddf-competence-grid,.ddfx-competencias-page .ddf-community-list{grid-template-columns:1fr!important}.ddfx-filter-card .actions{display:grid;grid-template-columns:1fr 1fr}.ddfx-card-actions{align-items:flex-end}.ddfx-member-action-form{position:fixed;left:14px;right:14px;bottom:90px;top:auto;width:auto}.ddfx-communities-page details>summary:after{content:'Abrir'}.ddfx-communities-page details[open]>summary:after{content:'Fechar'}}

/* ONDA 1.1 - hiperfoco adaptativo */
body.ddf-hyperfocus-active .ddfx-module-page > *{display:none!important}
body.ddf-hyperfocus-active .ddfx-module-page > .ddf-hyperfocus-owner{display:block!important;grid-column:1/-1!important}
body.ddf-hyperfocus-active .ddf-hyperfocus-owner > *:not(.ddf-hyperfocus[open]){display:none!important}
.ddf-hyperfocus>summary{gap:12px;flex-wrap:wrap}
.ddf-focus-heading{margin:18px 0 8px}.ddf-focus-actions{display:flex;gap:10px;flex-wrap:wrap}
.ddf-copy-toast{position:fixed;right:20px;bottom:24px;z-index:9999;padding:12px 16px;border-radius:14px;background:#123f36;color:#fff;box-shadow:0 12px 34px rgba(0,0,0,.22)}
.ddf-proposal-list{margin-top:18px}.ddf-proposal-list h3{margin-bottom:10px}
body[data-contrast="high"] .ddf-hyperfocus>summary,body.high-contrast .ddf-hyperfocus>summary{background:#000!important;color:#fff!important;border:2px solid #fff!important}
body[data-contrast="high"] .ddf-hyperfocus .muted,body.high-contrast .ddf-hyperfocus .muted{color:#fff!important}

/* ONDA 1 COMPLETA - experiencia adaptativa, wizard e linguagem visual */
.ddfx-links-page>.ddfx-wizard-shell{grid-column:1/-1;background:linear-gradient(145deg,#fff 0%,#f4fbf9 100%)!important}
.ddfx-wizard-shell{overflow:hidden}
.ddfx-wizard-form{display:block!important}
.ddfx-wizard-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0 0 24px}
.ddfx-wizard-progress button{appearance:none;border:1px solid var(--ddfx-line)!important;background:#f4f7fb!important;color:var(--ddfx-muted)!important;border-radius:18px!important;padding:13px 14px!important;display:flex;align-items:center;gap:10px;text-align:left;box-shadow:none!important;min-width:0}
.ddfx-wizard-progress button>b{width:32px;height:32px;display:grid;place-items:center;border-radius:11px;background:#e2e8f0;color:#475569;flex:0 0 auto}
.ddfx-wizard-progress button>span{display:flex;flex-direction:column;min-width:0;font-weight:900;color:inherit}
.ddfx-wizard-progress button small{display:block;font-weight:600;opacity:.78;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.ddfx-wizard-progress button.is-active{background:linear-gradient(135deg,#e5f5f1,#f4fbf9)!important;color:var(--ddfx-brand)!important;border-color:#9fd4ca!important}
.ddfx-wizard-progress button.is-active>b{background:var(--ddfx-brand);color:#fff}
.ddfx-wizard-panel{border:1px solid var(--ddfx-line);border-radius:24px;padding:24px;background:#fff;animation:ddfxStepIn .22s ease}
.ddfx-wizard-panel[hidden]{display:none!important}
@keyframes ddfxStepIn{from{opacity:.25;transform:translateY(6px)}to{opacity:1;transform:none}}
.ddfx-step-head{display:flex;justify-content:space-between;align-items:flex-start;gap:18px;margin-bottom:22px}
.ddfx-step-head h2{margin:0 0 6px;color:var(--ddfx-ink)}
.ddfx-step-head p{margin:0}
.ddfx-step-icon{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#e8f5f2,#f5fbf9);display:grid;place-items:center;font-size:1.6rem;flex:0 0 auto}
.ddfx-step-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
.ddfx-wizard-actions{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid var(--ddfx-line)}
.ddfx-wizard-actions button,.ddfx-wizard-actions a{min-width:150px;text-align:center}
.ddfx-field-choice-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important}
.ddfx-field-title{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:10px;border-bottom:1px solid var(--ddfx-line)}
.ddfx-field-title>span{font-size:.72rem;border-radius:999px;padding:5px 8px;background:#e5f5f1;color:var(--ddfx-brand);font-weight:900}
.ddf-field-option.is-disabled{opacity:.62}
.ddfx-switch-row.compact{padding:12px 0!important}
.ddfx-switch-row.compact strong{font-size:.9rem}
.ddfx-switch-row.compact small{font-size:.78rem}
.ddfx-switch-row input:focus-visible+i{outline:4px solid rgba(11,118,105,.25);outline-offset:3px}
.ddfx-switch-row input:disabled+i{opacity:.55}
.ddfx-custom-builder{margin-top:18px;background:linear-gradient(145deg,#fff,#fff9ef);border:1px solid #f0dfbc;border-radius:22px;padding:20px}
.ddfx-custom-question-list{display:grid;gap:14px}
.ddfx-custom-question-row{border:1px solid var(--ddfx-line);border-radius:20px;background:#fff;padding:18px;box-shadow:0 7px 22px rgba(26,42,74,.04)}
.ddfx-custom-question-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px}
.ddfx-custom-question-head button{padding:7px 10px!important;font-size:.82rem!important}
.ddfx-choice-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.ddfx-choice-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ddfx-choice-card{position:relative;display:grid!important;grid-template-columns:1fr auto;align-items:center;gap:12px;border:2px solid var(--ddfx-line);border-radius:20px;padding:18px;background:#fff;cursor:pointer;min-height:104px;transition:.18s}
.ddfx-choice-card:hover{border-color:#a9d8cf;transform:translateY(-1px)}
.ddfx-choice-card input{position:absolute;opacity:0;pointer-events:none}
.ddfx-choice-card span{display:flex;flex-direction:column;gap:6px}
.ddfx-choice-card b{color:var(--ddfx-ink)}
.ddfx-choice-card small{color:var(--ddfx-muted);font-weight:500;line-height:1.4}
.ddfx-choice-card>i{width:25px;height:25px;border-radius:50%;border:2px solid #aebaca;position:relative;flex:0 0 auto}
.ddfx-choice-card.is-selected,.ddfx-choice-card:has(input:checked){border-color:var(--ddfx-brand2);background:linear-gradient(145deg,#fff,#ecf8f5);box-shadow:0 9px 26px rgba(11,118,105,.1)}
.ddfx-choice-card.is-selected>i,.ddfx-choice-card:has(input:checked)>i{border-color:var(--ddfx-brand2)}
.ddfx-choice-card.is-selected>i:after,.ddfx-choice-card:has(input:checked)>i:after{content:"";position:absolute;inset:4px;border-radius:50%;background:var(--ddfx-brand2)}
.ddfx-choice-card input:focus-visible~i{outline:4px solid rgba(11,118,105,.22);outline-offset:3px}
.ddfx-final-summary{margin-top:18px;padding:18px;border-radius:18px;background:linear-gradient(135deg,#edf8f5,#f8fcfb);border:1px solid #cce8e1}
.ddfx-final-summary p{margin:5px 0 0;color:var(--ddfx-muted)}
.ddfx-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.ddfx-check-card{display:flex!important;align-items:center;gap:10px;padding:13px;border:1px solid var(--ddfx-line);border-radius:14px;background:#fff}
.ddfx-check-card input{width:20px;height:20px}
.ddfx-public-invite{max-width:940px;margin:0 auto;display:grid;gap:18px}
.ddfx-public-invite-hero{position:relative;overflow:hidden;border:1px solid #cde7e1;border-radius:30px;padding:30px;background:linear-gradient(135deg,#fff,#ebf8f4);box-shadow:var(--ddfx-shadow)}
.ddfx-public-invite-hero h1{margin:0 0 8px;color:var(--ddfx-ink);font-size:clamp(1.8rem,4vw,2.8rem)}
.ddfx-public-invite-hero>p{margin:0;color:var(--ddfx-muted)}
.ddfx-public-trust{display:flex;gap:10px;align-items:center;margin-top:18px;padding:12px 14px;border-radius:16px;background:rgba(255,255,255,.8);border:1px solid #d8ece8;max-width:620px}
.ddfx-public-trust b{color:var(--ddfx-brand)}
.ddfx-public-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.ddfx-public-card{background:#fff;border:1px solid var(--ddfx-line);border-radius:24px;padding:22px;box-shadow:0 8px 28px rgba(26,42,74,.05)}
.ddfx-public-card-head{display:flex;gap:13px;align-items:flex-start;margin-bottom:16px}
.ddfx-public-card-head>span{width:42px;height:42px;display:grid;place-items:center;border-radius:14px;background:#edf8f5;font-size:1.35rem;flex:0 0 auto}
.ddfx-public-card-head h2{margin:0 0 4px;font-size:1.08rem}
.ddfx-public-card-head p{margin:0;color:var(--ddfx-muted);font-size:.9rem}
.ddfx-public-choice-set{border:0;padding:0;margin:0}
.ddfx-public-choice-set legend{font-weight:900;margin-bottom:10px}
.ddfx-public-submit{display:flex;justify-content:flex-end}
.ddfx-public-submit button{min-width:260px;border-radius:999px!important;padding:15px 22px!important}
.ddfx-benefit-card{display:flex;flex-direction:column;gap:9px;min-width:0}
.ddfx-benefit-card p{margin:0}
.ddfx-benefit-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}
.ddfx-benefit-head h3{margin:0 0 4px}
.ddfx-benefit-head>span{font-size:1.7rem}
.ddfx-card-details{margin-top:8px;border-top:1px solid var(--ddfx-line);padding-top:8px}
.ddfx-card-details>summary{cursor:pointer;font-weight:900;color:var(--ddfx-brand);padding:8px 0}
.ddfx-card-primary-action{margin-top:auto;padding-top:8px}
.ddfx-card-primary-action button{width:100%}
.ddf-share-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.ddf-share-actions>*{flex:1 1 150px;text-align:center}
.ddfx-chat-page>.ddfx-module-hero{grid-column:1/-1}

/* Alto contraste: componentes da ONDA 1 */
html.ddf-high-contrast .ddfx-wizard-panel,
html.ddf-high-contrast .ddfx-custom-builder,
html.ddf-high-contrast .ddfx-custom-question-row,
html.ddf-high-contrast .ddfx-choice-card,
html.ddf-high-contrast .ddfx-final-summary,
html.ddf-high-contrast .ddfx-public-invite-hero,
html.ddf-high-contrast .ddfx-public-card,
html.ddf-high-contrast .ddfx-public-trust,
html.ddf-high-contrast .ddfx-check-card{background:#0b0b0b!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important}
html.ddf-high-contrast .ddfx-wizard-progress button{background:#111!important;color:#fff!important;border-color:#fff!important}
html.ddf-high-contrast .ddfx-wizard-progress button.is-active{background:#fff!important;color:#000!important;border-color:#fff!important}
html.ddf-high-contrast .ddfx-wizard-progress button.is-active b{background:#000!important;color:#fff!important;border:1px solid #fff}
html.ddf-high-contrast .ddfx-choice-card b,
html.ddf-high-contrast .ddfx-choice-card small,
html.ddf-high-contrast .ddfx-public-card-head p,
html.ddf-high-contrast .ddfx-final-summary p,
html.ddf-high-contrast .ddfx-public-invite-hero>p{color:#fff!important}
html.ddf-high-contrast .ddfx-choice-card.is-selected,
html.ddf-high-contrast .ddfx-choice-card:has(input:checked){background:#fff!important;color:#000!important;border-color:#ffeb3b!important}
html.ddf-high-contrast .ddfx-choice-card.is-selected b,
html.ddf-high-contrast .ddfx-choice-card.is-selected small,
html.ddf-high-contrast .ddfx-choice-card:has(input:checked) b,
html.ddf-high-contrast .ddfx-choice-card:has(input:checked) small{color:#000!important}
html.ddf-high-contrast .ddfx-choice-card>i{border-color:#fff!important}
html.ddf-high-contrast .ddfx-choice-card.is-selected>i,
html.ddf-high-contrast .ddfx-choice-card:has(input:checked)>i{border-color:#000!important}
html.ddf-high-contrast .ddfx-choice-card.is-selected>i:after,
html.ddf-high-contrast .ddfx-choice-card:has(input:checked)>i:after{background:#000!important}
html.ddf-high-contrast .ddfx-switch-row>i{border:2px solid #fff;background:#333!important}
html.ddf-high-contrast .ddfx-switch-row input:checked+i{background:#fff!important}
html.ddf-high-contrast .ddfx-switch-row input:checked+i:after{background:#000!important}
html.ddf-high-contrast .ddfx-step-icon,
html.ddf-high-contrast .ddfx-public-card-head>span{background:#fff!important;color:#000!important}
html.ddf-high-contrast .ddf-copy-toast{background:#fff!important;color:#000!important;border:2px solid #ffeb3b!important}

@media(max-width:1100px){
  .ddfx-field-choice-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .ddfx-choice-grid{grid-template-columns:1fr}
}
@media(max-width:760px){
  .ddfx-wizard-progress{grid-template-columns:1fr;overflow:visible}
  .ddfx-wizard-progress button{width:100%}
  .ddfx-wizard-panel{padding:18px}
  .ddfx-step-grid,.ddfx-field-choice-grid,.ddfx-public-form,.ddfx-check-grid{grid-template-columns:1fr!important}
  .ddfx-step-head{gap:10px}
  .ddfx-step-icon{width:44px;height:44px;border-radius:14px;font-size:1.3rem}
  .ddfx-wizard-actions{display:grid;grid-template-columns:1fr;gap:10px}
  .ddfx-wizard-actions>*{width:100%;min-width:0}
  .ddfx-public-invite-hero{padding:22px 18px;border-radius:24px}
  .ddfx-public-card{padding:18px;border-radius:20px}
  .ddfx-public-submit button{width:100%;min-width:0}
  .ddfx-custom-question-head{align-items:flex-start}
  .ddf-share-actions{display:grid;grid-template-columns:1fr}
}

/* =========================================================
   ONDA 1 COMPLETA - Experiencia, hiperfoco e linguagem humana
   ========================================================= */
.ddfx-wizard-shell{padding:24px!important;background:linear-gradient(145deg,#fff 0%,#f6fbfa 100%)!important}
.ddfx-wizard-progress{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:26px}
.ddfx-wizard-progress button{appearance:none;border:1px solid var(--ddfx-line)!important;background:#fff!important;color:var(--ddfx-muted)!important;border-radius:18px!important;padding:13px 14px!important;display:grid;grid-template-columns:34px 1fr;grid-template-rows:auto auto;column-gap:10px;text-align:left;box-shadow:none!important;min-height:72px}
.ddfx-wizard-progress button>span{grid-row:1/3;width:34px;height:34px;border-radius:12px;background:#eef2f7;color:#64748b;display:grid;place-items:center;font-weight:900;align-self:center}
.ddfx-wizard-progress button>b{color:var(--ddfx-ink);font-size:.96rem;align-self:end}.ddfx-wizard-progress button>small{font-size:.76rem;color:var(--ddfx-muted);align-self:start}
.ddfx-wizard-progress button.is-active{border-color:#67b9aa!important;background:#edf9f6!important}.ddfx-wizard-progress button.is-active>span{background:var(--ddfx-brand2);color:#fff}.ddfx-wizard-progress button.is-complete>span{background:#dff4ed;color:#08634f}.ddfx-wizard-progress button.is-complete>span:before{content:'✓';font-size:0}.ddfx-wizard-progress button.is-complete>span{font-size:0}.ddfx-wizard-progress button.is-complete>span:after{content:'✓';font-size:1rem}
.ddfx-wizard-form{display:block}.ddfx-wizard-step{animation:ddfxStepIn .18s ease-out}.ddfx-wizard-step[hidden]{display:none!important}@keyframes ddfxStepIn{from{opacity:.2;transform:translateY(8px)}to{opacity:1;transform:none}}
.ddfx-wizard-step-head{display:flex;align-items:flex-start;gap:16px;padding:4px 2px 20px}.ddfx-wizard-step-head h2{margin:0 0 6px;color:var(--ddfx-ink)}.ddfx-wizard-step-head p{margin:0;color:var(--ddfx-muted)}.ddfx-step-icon{width:52px;height:52px;border-radius:18px;background:linear-gradient(135deg,#e8f7f3,#eef5ff);display:grid;place-items:center;font-size:1.5rem;flex:0 0 auto}
.ddfx-form-card-grid{background:#fff;border:1px solid var(--ddfx-line);border-radius:22px;padding:20px}.ddfx-form-card-grid label{margin:0}
.ddfx-wizard-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:22px;padding-top:18px;border-top:1px solid #e7edf4}.ddfx-wizard-actions button,.ddfx-wizard-actions .btn-outline{min-width:170px;display:inline-flex;align-items:center;justify-content:center;gap:12px}
.ddfx-field-groups{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ddfx-field-group-card,.ddfx-custom-questions-card{background:#fff;border:1px solid var(--ddfx-line);border-radius:22px;padding:18px}.ddfx-field-group-card h3,.ddfx-custom-questions-card h3{margin:0 0 13px;color:var(--ddfx-ink)}
.ddfx-toggle-list{display:grid;gap:10px}.ddfx-field-toggle-card{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;gap:8px 14px;padding:14px;border:1px solid #e6edf5;border-radius:17px;background:linear-gradient(135deg,#fff,#f9fbfe);transition:.18s}.ddfx-field-toggle-card.is-enabled,.ddfx-field-toggle-card.is-core{border-color:#bcded7;background:linear-gradient(135deg,#fff,#effaf7)}.ddfx-field-toggle-copy{grid-row:1/3;align-self:center;min-width:0}.ddfx-field-toggle-copy strong{display:block;color:var(--ddfx-ink)}.ddfx-field-toggle-copy small{display:block;color:var(--ddfx-muted);font-size:.78rem;margin-top:3px;line-height:1.35}
.ddfx-mini-switch{display:flex;align-items:center;gap:7px;cursor:pointer;font-size:.78rem;font-weight:800;color:var(--ddfx-muted)}.ddfx-mini-switch input{position:absolute;opacity:0;pointer-events:none}.ddfx-mini-switch i{width:42px;height:24px;border-radius:99px;background:#cbd5e1;position:relative;transition:.18s}.ddfx-mini-switch i:after{content:'';position:absolute;width:18px;height:18px;border-radius:50%;background:#fff;left:3px;top:3px;box-shadow:0 2px 5px rgba(0,0,0,.18);transition:.18s}.ddfx-mini-switch input:checked+i{background:var(--ddfx-brand2)}.ddfx-mini-switch input:checked+i:after{transform:translateX(18px)}.ddfx-mini-switch.is-locked{opacity:.78;cursor:default}
.ddfx-required-switch{display:flex;align-items:center;justify-content:flex-end;gap:7px;font-size:.76rem;color:var(--ddfx-muted);cursor:pointer}.ddfx-required-switch input{width:18px;height:18px;margin:0}.ddfx-required-switch input:disabled{opacity:.45}.ddfx-required-switch.is-locked{opacity:.7;cursor:default}
.ddfx-custom-questions-card{margin-top:16px}.ddfx-custom-questions{display:grid;gap:13px}.ddfx-custom-question-row{border:1px solid #dce7f0;border-radius:19px;padding:16px;background:linear-gradient(145deg,#fff,#f6f9ff)}.ddfx-custom-question-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.ddfx-icon-button{width:34px;height:34px;min-width:34px!important;padding:0!important;border-radius:50%!important;background:#fff!important;color:#8b1e1e!important;border:1px solid #efcaca!important;font-size:1.25rem!important;box-shadow:none!important}.ddfx-custom-question-row [data-custom-options-wrap][hidden]{display:none!important}.ddfx-custom-empty[hidden]{display:none!important}
.ddfx-radio-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.ddfx-radio-card{position:relative;display:flex;flex-direction:column;gap:8px;min-height:170px;padding:20px;border:2px solid #e0e8f0;border-radius:22px;background:linear-gradient(145deg,#fff,#f7faff);cursor:pointer;transition:.18s}.ddfx-radio-card:hover{transform:translateY(-2px);border-color:#b8d8d2}.ddfx-radio-card.is-selected{border-color:var(--ddfx-brand2);background:linear-gradient(145deg,#fff,#eaf8f4);box-shadow:0 10px 28px rgba(7,94,84,.10)}.ddfx-radio-card input{position:absolute;opacity:0}.ddfx-radio-card strong{font-size:1.02rem;color:var(--ddfx-ink)}.ddfx-radio-card small{color:var(--ddfx-muted);line-height:1.45}.ddfx-radio-icon{font-size:1.8rem}.ddfx-radio-card:after{content:'';position:absolute;right:16px;top:16px;width:20px;height:20px;border-radius:50%;border:2px solid #b8c5d4;background:#fff}.ddfx-radio-card.is-selected:after{border-color:var(--ddfx-brand2);box-shadow:inset 0 0 0 5px #fff;background:var(--ddfx-brand2)}
.ddfx-access-note{display:flex;gap:12px;align-items:flex-start;margin-top:16px;padding:15px 17px;border:1px solid #cfe5df;border-radius:17px;background:#eef8f5}.ddfx-access-note b{color:var(--ddfx-brand)}.ddfx-access-note span{color:#38594f}
.public-access-choice{display:flex!important;align-items:flex-start;gap:12px;padding:15px!important;border:2px solid #dfe7ef;border-radius:18px;background:#fff;cursor:pointer}.public-access-choice:has(input:checked){border-color:var(--ddfx-brand2);background:#edf9f6}.public-access-choice input{margin-top:3px;width:20px;height:20px}
.ddf-copy-toast{opacity:0;transform:translateY(8px);transition:.18s}.ddf-copy-toast.is-visible{opacity:1;transform:none}
.ddfx-share-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.ddfx-share-actions>*{width:100%;text-align:center}
.ddfx-profile-note{padding:14px 16px;border-radius:16px;background:#eef7ff;border:1px solid #d5e7fa;color:#234b72}
.ddfx-leader-recommendations{grid-column:1/-1}.ddfx-leader-recommendation{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:16px;align-items:center;padding:16px;border:1px solid #e1e8ef;border-radius:18px;background:linear-gradient(145deg,#fff,#fff8e9)}

/* Cartoes e colunas como linguagem comum da plataforma */
.ddfx-card-surface,.card,.login-card{border-radius:22px!important}.ddfx-gradient-green{background:linear-gradient(145deg,#fff,#eefaf6)!important}.ddfx-gradient-blue{background:linear-gradient(145deg,#fff,#eef5ff)!important}.ddfx-gradient-gold{background:linear-gradient(145deg,#fff,#fff6e6)!important}.ddfx-gradient-purple{background:linear-gradient(145deg,#fff,#f6f0ff)!important}
.ddfx-module-page .panel>h1:first-child,.ddfx-module-page .panel>h2:first-child{color:var(--ddfx-ink)}
.ddfx-convenio-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:16px}.ddfx-convenio-metric{padding:14px;border-radius:17px;background:rgba(255,255,255,.78);border:1px solid rgba(190,207,220,.8)}.ddfx-convenio-metric strong{display:block;font-size:1.6rem;color:var(--ddfx-ink)}.ddfx-convenio-metric span{color:var(--ddfx-muted);font-size:.82rem}.ddfx-convenio-card-head{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.ddfx-convenio-status{display:inline-flex;padding:5px 9px;border-radius:999px;background:#edf4f8;color:#33536c;font-size:.72rem;font-weight:900}.ddfx-convenio-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}

/* Hiperfoco: uma tarefa por vez */
body.ddf-hyperfocus-active .sidebar,body.ddf-hyperfocus-active .topbar{opacity:.18;pointer-events:none;transition:.18s}
body.ddf-hyperfocus-active .ddf-hyperfocus-owner{box-shadow:0 22px 60px rgba(15,23,42,.16)!important}
.ddf-hyperfocus[open]>summary{margin-bottom:18px}.ddf-hyperfocus[open]>summary strong{font-size:1.05rem}

/* Alto contraste completo: nenhuma informacao fica apagada */
html.ddf-high-contrast .ddfx-wizard-progress button,html.ddf-high-contrast .ddfx-form-card-grid,html.ddf-high-contrast .ddfx-field-group-card,html.ddf-high-contrast .ddfx-custom-questions-card,html.ddf-high-contrast .ddfx-field-toggle-card,html.ddf-high-contrast .ddfx-custom-question-row,html.ddf-high-contrast .ddfx-radio-card,html.ddf-high-contrast .public-access-choice,html.ddf-high-contrast .ddfx-access-note,html.ddf-high-contrast .ddfx-leader-recommendation{background:#090909!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important}
html.ddf-high-contrast .ddfx-wizard-progress button>span,html.ddf-high-contrast .ddfx-step-icon,html.ddf-high-contrast .ddfx-mini-switch i,html.ddf-high-contrast .ddfx-radio-card:after{background:#000!important;border-color:#fff!important;color:#fff!important}
html.ddf-high-contrast .ddfx-wizard-progress button.is-active,html.ddf-high-contrast .ddfx-radio-card.is-selected,html.ddf-high-contrast .public-access-choice:has(input:checked){outline:4px solid #ffeb3b!important;outline-offset:2px}
html.ddf-high-contrast .ddfx-mini-switch input:checked+i{background:#ffeb3b!important}html.ddf-high-contrast .ddfx-mini-switch input:checked+i:after{background:#000!important}
html.ddf-high-contrast .ddfx-field-toggle-copy small,html.ddf-high-contrast .ddfx-radio-card small,html.ddf-high-contrast .ddfx-wizard-step-head p,html.ddf-high-contrast .ddfx-access-note span{color:#fff!important}
html.ddf-high-contrast input[type="checkbox"],html.ddf-high-contrast input[type="radio"]{accent-color:#ffeb3b!important}

@media(max-width:980px){.ddfx-field-groups{grid-template-columns:1fr}.ddfx-radio-card-grid{grid-template-columns:1fr}.ddfx-convenio-metrics{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){
  .ddfx-wizard-shell{padding:16px!important}.ddfx-wizard-progress{display:flex;overflow-x:auto;padding-bottom:4px}.ddfx-wizard-progress button{min-width:185px;flex:0 0 185px}.ddfx-wizard-step-head{gap:11px}.ddfx-step-icon{width:44px;height:44px;border-radius:14px}.ddfx-form-card-grid{padding:15px}.ddfx-field-group-card,.ddfx-custom-questions-card{padding:14px}.ddfx-field-toggle-card{grid-template-columns:minmax(0,1fr) auto}.ddfx-wizard-actions{display:grid;grid-template-columns:1fr}.ddfx-wizard-actions>span{display:none}.ddfx-wizard-actions button,.ddfx-wizard-actions .btn-outline{width:100%;min-width:0}.ddfx-radio-card{min-height:130px}.ddfx-share-actions{grid-template-columns:1fr}.ddfx-leader-recommendation{grid-template-columns:1fr}.ddfx-convenio-metrics{grid-template-columns:1fr}
  body.ddf-hyperfocus-active .sidebar,body.ddf-hyperfocus-active .topbar{display:none!important}
}

/* Cobertura visual e de contraste para as paginas principais da ONDA 1 */
.ddfx-config-page>.panel:not(.ddfx-module-hero){grid-column:1/-1}
.ddfx-settings-form-admin{margin-bottom:22px}
.ddfx-chat-page>.chat-grid,.ddfx-chat-page>.chat-intro{grid-column:1/-1}
.ddfx-chat-page .chat-grid{width:100%}
html.ddf-high-contrast .chat-intro,
html.ddf-high-contrast .chat-sidebar,
html.ddf-high-contrast .chat-window,
html.ddf-high-contrast .chat-header,
html.ddf-high-contrast .messages-box,
html.ddf-high-contrast .message,
html.ddf-high-contrast .conversation-item,
html.ddf-high-contrast .ddf-doacoes-head,
html.ddf-high-contrast .ddf-doacoes-foco-card,
html.ddf-high-contrast .ddf-doacao-detalhe,
html.ddf-high-contrast .ddf-opportunity-section,
html.ddf-high-contrast .imv-head,
html.ddf-high-contrast .imv-hero,
html.ddf-high-contrast .imv-panel,
html.ddf-high-contrast .ddf-profile-community-card,
html.ddf-high-contrast .ddf-profile-section,
html.ddf-high-contrast .ddf-accordion-item{background:#0b0b0b!important;color:#fff!important;border-color:#fff!important;box-shadow:none!important}
html.ddf-high-contrast .message.mine{background:#fff!important;color:#000!important}
html.ddf-high-contrast .message.mine *{color:#000!important}
html.ddf-high-contrast .message.theirs{background:#151515!important;color:#fff!important;border:1px solid #fff!important}
html.ddf-high-contrast .conversation-item.active,
html.ddf-high-contrast .conversation-item:hover{background:#fff!important;color:#000!important}
html.ddf-high-contrast .conversation-item.active *,
html.ddf-high-contrast .conversation-item:hover *{color:#000!important}
html.ddf-high-contrast .chat-compose textarea{background:#000!important;color:#fff!important;border-color:#fff!important}
html.ddf-high-contrast table,
html.ddf-high-contrast th,
html.ddf-high-contrast td{background:#000!important;color:#fff!important;border-color:#fff!important}
html.ddf-high-contrast .ddfx-settings-card h3,
html.ddf-high-contrast .ddfx-settings-card p{color:#fff!important}

/* ONDA 1 COMPLETA - colunas de missao e administracao de convenios */
.ddfx-module-columns{grid-column:1/-1;display:grid;gap:18px;align-items:start}
.ddfx-module-columns-two{grid-template-columns:repeat(2,minmax(0,1fr))}
.ddfx-module-columns>.panel{margin:0;min-width:0}
.ddfx-use-list{display:grid;gap:8px;margin-top:12px}
.ddfx-use-list p{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;margin:0;padding:10px 12px;border:1px solid var(--ddfx-line);border-radius:14px;background:rgba(255,255,255,.76)}
.ddfx-convenio-actions form{margin:0}.ddfx-convenio-actions button{width:auto}
.ddfx-gradient-leadership{background:linear-gradient(145deg,#fff,#fff6df)!important}
html.ddf-high-contrast .ddfx-module-columns>.panel,
html.ddf-high-contrast .ddfx-use-list p,
html.ddf-high-contrast .ddfx-gradient-leadership{background:#101010!important;color:#fff!important;border-color:#fff!important}
@media(max-width:980px){.ddfx-module-columns-two{grid-template-columns:1fr}}
@media(max-width:760px){.ddfx-use-list p{grid-template-columns:1fr}.ddfx-convenio-actions{display:grid;grid-template-columns:1fr}.ddfx-convenio-actions>*{width:100%}.ddfx-convenio-actions button,.ddfx-convenio-actions a{width:100%;text-align:center}}

/* Confirmacao presencial de convenios */
.ddfx-convenio-validation-page>.panel{grid-column:1/-1}
.ddfx-validation-card{max-width:900px;width:100%;margin-inline:auto!important}
.ddfx-validation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}
.ddfx-validation-grid article{display:flex;flex-direction:column;gap:5px;padding:16px;border:1px solid var(--ddfx-line);border-radius:18px;background:rgba(255,255,255,.78)}
.ddfx-validation-grid article small{color:var(--ddfx-muted);font-weight:800}.ddfx-validation-grid article strong{font-size:1.04rem;color:var(--ddfx-ink)}
.ddfx-validation-confirm{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.ddfx-validation-confirm a{display:inline-flex;align-items:center;justify-content:center}
html.ddf-high-contrast .ddfx-validation-grid article{background:#000!important;color:#fff!important;border-color:#fff!important}
@media(max-width:760px){.ddfx-validation-grid{grid-template-columns:1fr}.ddfx-validation-confirm{display:grid;grid-template-columns:1fr}.ddfx-validation-confirm>*{width:100%;text-align:center}}
