.cfp{border:1px solid #d9e6ee;border-radius:16px;padding:22px;margin:18px 0;background:#fff;color:#193c50}.cfp>header{display:flex;justify-content:space-between;gap:16px;align-items:center;margin-bottom:18px}.cfp-heading{display:flex;align-items:center;gap:12px}.cfp-heading>svg{color:#07849c;flex-shrink:0}.cfp h3{margin:0 0 5px;font-size:18px}.cfp p{margin:6px 0;line-height:1.6}.cfp-heading p,.cfp small,.cfp-save-hint{color:#678195;font-size:12px}.cfp-notice,.cfp-guide{background:#eff8fa;border-radius:12px;padding:15px 18px;font-size:13px;line-height:1.7}.cfp-notice{display:flex;gap:12px;margin-bottom:16px}.cfp-notice svg{flex-shrink:0;color:#087f96}.cfp-guide{padding-left:35px}.cfp-guide li+li{margin-top:10px}.cfp-empty{padding:25px;border:1px dashed #cadde8;border-radius:12px;margin-bottom:16px;color:#678195}.cfp-card{border:1px solid #d6e5ed;border-radius:12px;margin:14px 0;overflow:hidden}.cfp-card summary{cursor:pointer;background:#f5fafc;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:14px}.cfp-card summary small{display:block;margin-top:5px}.cfp-status{border-radius:20px;padding:5px 10px;background:#edf1f5;color:#64798a;font-size:11px;white-space:nowrap}.cfp-status.active{background:#e4f5ef;color:#13745b}.cfp fieldset{border:0;padding:18px;min-width:0}.cfp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.cfp-grid>label{display:grid;gap:7px;font-size:12px}.cfp input:not([type=checkbox]),.cfp select,.cfp textarea{width:100%;min-width:0;box-sizing:border-box;border:1px solid #cbdde8;border-radius:9px;background:white;padding:11px;color:#183c51;font:inherit;min-height:42px}.cfp input:focus,.cfp textarea:focus,.cfp select:focus{outline:2px solid #8bd0df;outline-offset:1px}.cfp-wide{grid-column:1/-1}.cfp-check{display:flex!important;align-items:center;gap:9px;font-size:12px}.cfp input[type=checkbox]{width:17px;height:17px;accent-color:#087f96}.cfp-choices{display:grid;gap:7px;max-height:190px;overflow:auto;margin-top:10px;border:1px solid #e0ebf0;border-radius:9px;padding:10px}.cfp-choices label{display:flex;gap:8px;align-items:center;font-size:12px}.cfp-chips,.cfp-selected{display:flex;flex-wrap:wrap;gap:6px;margin:10px 0}.cfp-chips button,.cfp-selected button{border:1px solid #ccdfe9;border-radius:8px;padding:7px 10px;background:#fff;color:#2c566b;cursor:pointer}.cfp-chips button[aria-pressed=true]{background:#087f96;color:#fff;border-color:#087f96}.cfp-foot{border-top:1px solid #e0e9ef;display:flex;flex-wrap:wrap;gap:15px;align-items:center;padding-top:16px;margin-top:18px}.cfp-card>p,.cfp-card>small{display:block;padding:0 16px 8px;overflow-wrap:anywhere}.cfp-calcs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;padding:0 16px}.cfp-calcs div{background:#f2f8fa;border-radius:8px;padding:12px}.cfp-calcs dt{font-size:11px;color:#6b8393}.cfp-calcs dd{margin:6px 0 0;font-weight:bold;font-size:13px}.cfp button:disabled{cursor:not-allowed;opacity:.6}@media(max-width:680px){.cfp{padding:14px}.cfp>header{align-items:flex-start;flex-direction:column}.cfp-grid{grid-template-columns:1fr}.cfp-wide{grid-column:auto}.cfp-card summary{flex-wrap:wrap}.cfp-calcs{grid-template-columns:repeat(2,minmax(0,1fr))}.cfp-foot>.btn{width:100%}.cfp-card fieldset{padding:12px}}

/* Espaço ampliado apenas no cadastro com perfis fiscais visíveis. */
.ops-modal:has(.cfp:not(.cfp-review)){width:min(1320px,calc(100vw - 32px));max-width:min(1320px,calc(100vw - 32px))}.cfp-grid{gap:20px}.cfp-scope-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.cfp-scope{min-width:0;background:#f8fbfd;border:1px solid #d9e6ee;border-radius:12px;padding:16px}.cfp-scope>label{display:grid;gap:7px;margin-bottom:12px}.cfp-typeahead{display:flex;align-items:center;gap:7px;border:1px solid #cbdde8;background:#fff;border-radius:10px;padding:5px 6px 5px 10px;min-width:0}.cfp-typeahead>svg{color:#648292;flex-shrink:0}.cfp .cfp-typeahead>input{border:0;min-width:0;padding:8px 3px;min-height:36px;flex:1;width:0}.cfp-typeahead>button:not(.btn),.cfp-scope-selected>div>button{background:transparent;border:0;color:#647f90;cursor:pointer;padding:7px;flex-shrink:0;display:inline-flex}.cfp-typeahead>.btn{padding:9px;flex-shrink:0}.cfp-scope-help{display:block;margin:8px 0;line-height:1.6}.cfp-suggestions{max-height:285px;overflow:auto;border:1px solid #d4e4ed;border-radius:10px;margin:10px 0;background:white}.cfp-suggestions>button{border:0;border-bottom:1px solid #e7eff4;background:#fff;padding:12px;display:flex;align-items:center;gap:10px;width:100%;text-align:left;cursor:pointer;color:#214b60}.cfp-suggestions>button>span{flex:1;min-width:0;overflow-wrap:anywhere}.cfp-suggestions strong,.cfp-suggestions small{display:block}.cfp-suggestions small{margin-top:5px;line-height:1.5}.cfp-suggestions>button:hover,.cfp-suggestions>button[aria-selected=true]{background:#eaf7fa}.cfp-suggestions svg{flex-shrink:0;color:#07839b}.cfp-scope-selected{display:grid;gap:9px;margin-top:12px}.cfp-scope-selected>div{border:1px solid #d6e6ec;border-radius:10px;background:white;display:flex;gap:10px;align-items:flex-start;padding:12px;min-width:0}.cfp-scope-selected>div>div{flex:1;min-width:0;overflow-wrap:anywhere}.cfp-scope-selected strong,.cfp-scope-selected small{display:block;line-height:1.5}.cfp-scope-selected small{margin-top:4px}.cfp-scope-icon{color:#087f96;background:#eaf6f8;border-radius:8px;padding:7px;display:flex;flex-shrink:0}.cfp .cfp-description-button{background:none;border:0;color:#087f96;padding:6px 0;text-align:left;font-size:11px;cursor:pointer}.cfp-picker-error{padding:10px;background:#fff4e4;color:#895614;border:1px solid #efd6a4;border-radius:8px;font-size:12px}.cfp-lookup-state{display:flex;align-items:center;gap:6px;margin-top:8px}.cfp-selection-total{display:block;margin-top:10px;font-weight:600}@media(max-width:1050px){.cfp-scope-grid{grid-template-columns:1fr}}@media(max-width:680px){.ops-modal:has(.cfp:not(.cfp-review)){width:calc(100vw - 16px);max-width:calc(100vw - 16px)}.cfp-scope{padding:12px}.cfp-typeahead{flex-wrap:wrap}.cfp-typeahead>.btn{width:100%;justify-content:center}.cfp-typeahead>input{flex-basis:65%}.cfp-grid{gap:15px}}



.cfp-benefit-picker{min-width:0;padding:18px;border:1px solid #cce1e9;background:#f5fafc;border-radius:14px}.cfp-benefit-picker>header{display:flex;align-items:center;gap:12px;margin-bottom:14px}.cfp-benefit-picker>header svg{color:#078398;flex-shrink:0}.cfp-benefit-picker>header small{display:block;margin-top:5px}.cfp-benefit-picker>label{display:block;margin:10px 0 6px;font-size:12px}.cfp-benefit-search{display:flex;gap:9px;align-items:center;background:white;border:1px solid #bdd7e3;border-radius:10px;padding:5px 12px}.cfp .cfp-benefit-search input{border:0;background:none;padding:8px 0;min-width:0;flex:1;width:0}.cfp-benefit-search>svg{flex-shrink:0;color:#148298}.cfp-benefit-search:focus-within{outline:2px solid #87cbd7;outline-offset:2px}.cfp-benefit-results{max-height:300px;overflow:auto;border:1px solid #d0e1e9;border-radius:10px;margin-top:10px;background:white}.cfp-benefit-results>button{display:block;width:100%;border:0;border-bottom:1px solid #e1edf2;padding:13px;text-align:left;background:white;color:#1a4358;cursor:pointer}.cfp-benefit-results>button[aria-selected=true],.cfp-benefit-results>button:hover{background:#e9f7fa}.cfp-benefit-results strong,.cfp-benefit-results small{display:block;overflow-wrap:anywhere}.cfp-benefit-results small{margin-top:5px;line-height:1.5}.cfp-benefit-detail{margin-top:15px;padding:17px;background:white;border:1px solid #d1e5ec;border-radius:12px;overflow-wrap:anywhere}.cfp-benefit-detail>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}.cfp-benefit-detail .cfp-chips>span{background:#e9f5f8;color:#08798d;padding:5px 9px;border-radius:7px;font-size:12px}.cfp-benefit-detail dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.cfp-benefit-detail dl>div{padding:12px;background:#f2f8fb;border-radius:8px}.cfp-benefit-detail dt{font-size:11px;color:#698296}.cfp-benefit-detail dd{margin:6px 0 0;font-size:12px;font-weight:600}.cfp-benefit-detail>a{display:inline-flex;align-items:center;gap:7px;color:#087e95;margin:8px 0 14px;font-size:12px}.cfp-benefit-detail>.btn{display:flex;margin-top:12px}.cfp-benefit-note{display:flex;align-items:flex-start;gap:8px;background:#edf7fa;border-radius:9px;padding:12px;font-size:12px!important;line-height:1.6}.cfp-benefit-note>svg{flex-shrink:0}.cfp-benefit-prefill{padding:18px;border:1px solid #abd8e2;border-radius:12px;background:#effafa;margin-top:15px;overflow-wrap:anywhere}.cfp-benefit-prefill li{font-size:12px;margin:7px 0;line-height:1.6}.cfp-benefit-prefill .btn{margin-top:12px}@media(max-width:680px){.cfp-benefit-picker{padding:12px}.cfp-benefit-detail{padding:12px}.cfp-benefit-detail dl{grid-template-columns:1fr}.cfp-benefit-prefill{padding:12px}.cfp-benefit-picker .btn{width:100%}}

.cfc{color:#153449;max-width:1600px;margin:auto;padding:28px}.cfc h1{font-size:30px;margin:8px 0}.cfc p{line-height:1.6;color:#60798e}.cfc-header,.cfc-actions,.cfc-toolbar,.cfc-new,.cfc-list article,.cfc-table-version{display:flex;align-items:center;gap:12px;justify-content:space-between}.cfc-header{margin-bottom:22px}.cfc small{display:block;color:#628094}.cfc-header>div>small{letter-spacing:1.3px;font-weight:700;color:#00869a}.cfc button{cursor:pointer;min-height:42px;white-space:normal}.cfc button:disabled{cursor:default;opacity:.55}.cfc-tabs{display:flex;gap:8px;margin:20px 0}.cfc-tabs button{display:flex;align-items:center;gap:9px;padding:12px 18px;border:1px solid #c6dce5;background:white;border-radius:12px;color:#234a5b}.cfc-tabs button[aria-pressed=true]{background:#0a7890;color:white}.cfc-kpis{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:20px}.cfc-kpis button{text-align:left;border:1px solid #d7e5ec;background:white;border-radius:14px;padding:18px;color:#4b667c}.cfc-kpis strong{display:block;font-size:28px;margin-top:12px;color:#11374a}.cfc-kpis button[aria-pressed=true]{border-color:#009bb1;background:#effbfc;box-shadow:0 0 0 2px #009bb114}.cfc-panel{background:white;border:1px solid #d5e4ec;border-radius:16px;padding:22px;margin:16px 0}.cfc input:not([type=checkbox]),.cfc select,.cfc textarea{width:100%;box-sizing:border-box;padding:12px;border:1px solid #c4d9e5;border-radius:10px;font:inherit;min-height:44px;color:#173d53;background:white}.cfc label{display:block;font-size:13px;line-height:1.6}.cfc-toolbar{border-bottom:1px solid #e0ebf1;padding-bottom:18px}.cfc-toolbar>label{display:flex;align-items:center;gap:10px;max-width:650px;flex:1}.cfc-new{padding:20px 0;align-items:flex-end}.cfc-client-search{position:relative;flex:1;max-width:680px}.cfc-suggestions{position:absolute;left:0;right:0;top:100%;z-index:8;background:white;border:1px solid #bcd5df;box-shadow:0 10px 30px #12354a20;max-height:300px;overflow:auto;border-radius:10px}.cfc-suggestions button{display:flex;gap:10px;align-items:center;width:100%;text-align:left;border:0;border-bottom:1px solid #e1ebf0;background:white;padding:12px}.cfc-suggestions button:hover{background:#ecf9fb}.cfc-list article{padding:22px 0;border-top:1px solid #e3edf1;min-width:0}.cfc-list article>div{min-width:0;overflow-wrap:anywhere}.cfc-list h3{margin:7px 0}.cfc-list p{margin:5px 0}.cfc-badge{display:inline-block;font-size:11px;padding:5px 9px;border-radius:8px;background:#eff5f8;color:#547286;margin:6px 6px 0 0}.cfc-badge.active{color:#0b6e55;background:#e8f7ef}.cfc-badge.expired{color:#ae243a;background:#fff0f2}.cfc-empty{text-align:center;padding:50px}.cfc-guide{background:#eff9fb;border:1px solid #cce6ec;border-radius:16px;padding:25px 25px 25px 45px}.cfc-guide li{padding:8px;line-height:1.6}.cfc-error{background:#fff2f3;border:1px solid #f0c2ca;color:#9d243a;padding:14px;border-radius:10px;display:flex;justify-content:space-between;gap:8px;overflow-wrap:anywhere}.cfc-error button{border:0;background:none}.cfc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:16px}.cfc-check{display:flex!important;align-items:center;gap:10px;margin:18px 0}.cfc-table-version{padding:20px 0;border-bottom:1px solid #dde9ef;overflow-wrap:anywhere}.cfc-table-version small{max-width:700px;margin-top:10px}.cfc-backdrop{position:fixed;inset:0;z-index:1200;background:#08273c80;backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:16px}.cfc-editor{display:flex;flex-direction:column;max-height:calc(100dvh - 32px);width:min(1320px,100%);background:#f6fafd;border-radius:20px;overflow:hidden;box-shadow:0 20px 80px #08273c40}.cfc-editor>header,.cfc-editor>footer{background:white;display:flex;justify-content:space-between;align-items:center;padding:20px 24px;gap:16px;flex-shrink:0;border-bottom:1px solid #dce8ef}.cfc-editor h2{margin:5px 0;overflow-wrap:anywhere}.cfc-editor-body{overflow:auto;min-height:0;padding:22px}.cfc-editor>footer{border-top:1px solid #dce8ef;border-bottom:0}.cfc-editor .cfp{background:white;padding:20px;border:1px solid #d8e7ee;border-radius:16px}.cfc-editor .cfp>.btn,.cfc-editor .cfp-save-hint,.cfc-editor .cfp-foot>button{display:none}.cfc-upload{display:inline-flex!important;gap:10px;align-items:center;border:1px solid #bad9e2;border-radius:10px;padding:12px;margin:10px;cursor:pointer;color:#007a91}.cfc-upload input{max-width:230px}.cfc-simulation{background:#f3f9fc;padding:16px;border-radius:10px;margin-top:16px}.cfc-simulation>div{border-bottom:1px solid #d5e7ef}.cfc-panel h3{display:flex;align-items:center;gap:9px}.cfc :focus-visible{outline:3px solid #009bb170;outline-offset:3px}
@media(max-width:1000px){.cfc-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.cfc-header,.cfc-new{flex-wrap:wrap}.cfc-new>button{max-width:100%}}@media(max-width:600px){.cfc{padding:16px 10px}.cfc h1{font-size:26px}.cfc-header,.cfc-actions,.cfc-new,.cfc-list article,.cfc-table-version{align-items:stretch;flex-wrap:wrap}.cfc-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.cfc-kpis button{padding:14px}.cfc-panel{padding:16px}.cfc-grid{grid-template-columns:1fr}.cfc-tabs{display:grid;grid-template-columns:1fr 1fr}.cfc-tabs button{padding:10px;justify-content:center;text-align:center}.cfc-toolbar{flex-wrap:wrap}.cfc-toolbar>label,.cfc-client-search{flex-basis:100%;width:100%}.cfc-backdrop{padding:8px}.cfc-editor{max-height:calc(100dvh - 16px);border-radius:14px}.cfc-editor>header,.cfc-editor>footer{padding:14px}.cfc-editor-body{padding:10px}.cfc-editor .cfp{padding:12px}.cfc-editor>header h2{font-size:19px}.cfc-editor .cfp>header{flex-wrap:wrap}.cfc-list article>.btn{width:100%}.cfc-upload{margin:10px 0;max-width:100%;flex-wrap:wrap}.cfc-upload input{max-width:100%}}

.cfc-upload{position:relative}.cfc-upload input[type=file]{position:absolute;opacity:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important;overflow:hidden}.cfc-upload:focus-within{outline:3px solid #009bb170;outline-offset:3px}

.cfc-backdrop{max-width:none;margin:0}
.cfc-import-heading{display:flex;align-items:center;gap:16px}.cfc-import-heading>span{display:grid;place-items:center;width:56px;height:56px;flex-shrink:0;border-radius:16px;background:#e4f4f7;color:#087f96}.cfc-import-heading h2{margin:0 0 8px;font-size:22px}.cfc-import-heading p{margin:0}.cfc-import-steps{display:flex;gap:12px;list-style:none;padding:0;margin:22px 0 0}.cfc-import-steps li{display:flex;align-items:center;gap:10px;flex:1;background:#f0f8fb;padding:12px;border-radius:10px}.cfc-import-steps b{background:#d9eef2;border-radius:50%;width:27px;height:27px;display:grid;place-items:center;color:#08758a}.cfc-import-controls{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}.cfc-import-controls>label:first-child{width:130px}.cfc-file-button{position:relative;display:inline-flex!important;align-items:center;justify-content:center;gap:9px;padding:12px 16px;border-radius:10px;border:1px solid #b9d7e1;cursor:pointer;font-weight:600;color:#075c73;min-height:44px}.cfc-file-button input{position:absolute;opacity:0;width:1px!important;height:1px!important;min-height:0!important;padding:0!important}.cfc-file-button:focus-within{outline:3px solid #009bb170}.cfc-import-note{background:#f3f9fc;padding:14px;border-radius:10px}.cfc-import-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.cfc-import-summary>div{padding:16px;background:#f2f8fb;border-radius:10px}.cfc-import-summary strong{display:block;margin-top:8px}.cfc-import-search{display:flex!important;align-items:center;gap:10px;margin:16px 0}.cfc-import-preview{max-height:430px;overflow:auto;border:1px solid #d5e6ee;border-radius:12px}.cfc-import-preview article{padding:16px;border-bottom:1px solid #e2edf3}.cfc-import-preview article>div{display:flex;gap:10px;justify-content:space-between;flex-wrap:wrap}.cfc-import-preview article>div>span{padding:4px 8px;border-radius:7px;background:#e9f6f8;color:#08778a;font-size:12px}.cfc-import-preview p{margin:8px 0}.cfc-import-details{border:1px solid #d6e8ef;border-radius:10px;padding:14px;margin-top:18px}.cfc-import-details summary{display:flex;align-items:center;gap:8px;cursor:pointer;font-weight:600;margin-bottom:10px}.cfc-import-details small{overflow-wrap:anywhere}.cfc-import-warning{background:#fff6e3;color:#8c5a03!important;padding:12px;border-radius:10px}.cfc-activation{border:1px solid #059aaf;background:#f0fafb}
@media(max-width:600px){.cfc-import-steps{flex-direction:column}.cfc-import-summary{grid-template-columns:1fr}.cfc-import-controls{align-items:stretch;flex-direction:column}.cfc-import-controls>label:first-child{width:100%}.cfc-import-heading{align-items:flex-start}.cfc-import-heading h2{font-size:20px}.cfc-import-controls>.btn,.cfc-file-button{width:100%}.cfc-activation .cfc-actions>*{width:100%}}
