.ect-app{--blue:#055ee8;--ink:#202d40;--muted:#637186;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;color:var(--ink);background:#f7f9fd;padding:24px;border-radius:16px;max-width:1160px;margin:24px auto;box-sizing:border-box}.ect-app *{box-sizing:border-box}.ect-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:25px}.ect-header h2{margin:5px 0;font-size:26px}.ect-header small,.ect-header span,.ect-muted{color:var(--muted)}.ect-header small{letter-spacing:.13em;font-weight:800}.ect-header .ect-link{background:transparent;color:var(--blue);border:1px solid #d4deeb;padding:9px 14px}.ect-app button{border:none;border-radius:8px;background:var(--blue);color:#fff;padding:11px 18px;font-weight:650;cursor:pointer}.ect-app button:disabled{opacity:.5;cursor:wait}.ect-app input,.ect-app select{border:1px solid #c7d2e2;border-radius:8px;padding:9px 11px;background:#fff;color:#202d40;max-width:100%}.ect-app label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.ect-month,.ect-credit,#ect-import{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.ect-month{margin-bottom:22px}.ect-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:15px 0}.ect-card{padding:20px;border:1px solid #e2e9f3;border-radius:14px;background:#fff;min-width:0}.ect-card small{color:var(--muted);display:block}.ect-card strong{display:block;font-size:25px;margin-top:7px;overflow-wrap:anywhere}.ect-note{margin:18px 0;padding:15px;border-left:3px solid #d8a139;background:#fff9eb;line-height:1.5;border-radius:6px}.ect-app h3{font-size:18px;margin:20px 0 13px}.ect-panel{background:#fff;border:1px solid #e2e9f3;border-radius:14px;padding:20px;margin:15px 0;overflow-x:auto}.ect-table{border-collapse:collapse;width:100%;background:#fff;font-size:14px}.ect-table th{color:#647289;background:#f1f5fa;font-weight:700;text-align:left}.ect-table th,.ect-table td{border-bottom:1px solid #e5ebf3;padding:11px 12px;white-space:nowrap}.ect-two{display:grid;grid-template-columns:1.15fr 1fr;gap:15px}.ect-muted{font-size:12px;line-height:1.65}.ect-login{max-width:420px;margin:30px auto;padding:25px;background:#fff;border:1px solid #dae3ef;border-radius:16px;box-shadow:0 10px 24px #2442660c}.ect-login h2{font-size:19px;color:#055ee8;letter-spacing:.06em}.ect-login form{display:grid;gap:16px;margin-top:21px}.ect-login label input{width:100%}.ect-login .ect-alert{color:#9c2020}.ect-panel summary{font-weight:700;cursor:pointer;margin-bottom:10px}#ect-progress{margin-top:15px;color:#055ee8;font-weight:600;min-height:22px}@media(max-width:760px){.ect-app{padding:15px}.ect-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ect-two{grid-template-columns:1fr}.ect-header{align-items:flex-start}.ect-header h2{font-size:20px}}@media(max-width:420px){.ect-grid{grid-template-columns:1fr}}
/* EC Tributário 0.2: incrementos visuais */
.ect-app{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; color:#1d2939; background:#f8fafc;padding:22px;border-radius:14px;line-height:1.45}
.ect-app .ect-header{background:linear-gradient(100deg,#0549a7,#055ee8);color:#fff;padding:24px 28px;border-radius:14px;display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap}
.ect-app .ect-header h2{color:white;margin:5px 0}.ect-app .ect-header small{letter-spacing:.08em;color:#dbeafe}
.ect-app .ect-header span{color:#e2edff;font-size:13px}
.ect-app .ect-panel{background:white;border:1px solid #e5eaf0;border-radius:12px;padding:20px;margin-top:17px;box-shadow:0 2px 7px rgba(4,24,65,.025)}
.ect-app .ect-panel h3{margin:0 0 14px;color:#102044}
.ect-app .ect-note{background:#fff8e7;border:1px solid #f8df9c;color:#655008;border-radius:12px;padding:16px;margin:16px 0}
.ect-app .ect-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0}
.ect-app .ect-card{min-width:0;padding:19px;background:white;border:1px solid #e6eaf0;border-radius:12px}
.ect-app .ect-card small{display:block;color:#64748b;margin-bottom:7px}.ect-app .ect-card strong{display:block;font-size:20px;color:#0d325d;overflow-wrap:anywhere}
.ect-app .ect-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.ect-app .ect-two .ect-panel{margin-top:0}
.ect-app .ect-total{padding:16px 18px;background:#edf5ff;border-radius:10px;display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:14px}
.ect-app .ect-total b{font-size:24px;color:#074db3}
.ect-app .ect-scroll{width:100%;overflow:auto}.ect-app .ect-table{width:100%;border-collapse:collapse;font-size:13px;white-space:nowrap}
.ect-app .ect-table th,.ect-app .ect-table td{padding:11px;border-bottom:1px solid #e6eaf0;text-align:left}
.ect-app .ect-table th{background:#f3f7fd;color:#365477}
.ect-app form.ect-stack,.ect-app form#ect-adjust,.ect-app form#ect-efd,.ect-app form#ect-service-csv,.ect-app form#ect-import{display:flex;gap:13px;align-items:end;flex-wrap:wrap}
.ect-app form label{font-size:13px;color:#3b4b5f;display:flex;flex-direction:column;gap:5px;min-width:160px;flex:1}
.ect-app form label.ect-check{display:flex;flex-direction:row;align-items:center;min-width:240px}
.ect-app form input,.ect-app form select{box-sizing:border-box;min-height:39px;width:100%;background:#fff;color:#1d2939;border:1px solid #ced8e3;border-radius:7px;padding:7px 10px;font-size:14px}
.ect-app form label.ect-check input{width:auto;min-height:auto}
.ect-app button{border:0;border-radius:7px;background:#055ee8;color:white;min-height:39px;padding:9px 16px;font-weight:650;cursor:pointer}
.ect-app button:disabled{opacity:.6;cursor:wait}
.ect-app .ect-muted,.ect-app small{color:#697586}.ect-app .ect-month{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin:18px 0}
.ect-app .ect-month span{flex:2;min-width:250px;color:#637083;font-size:12px}
.ect-app [role=status]{padding-top:8px;color:#055ee8;font-size:13px}
.ect-app .ect-login{max-width:390px;margin:25px auto;padding:25px;border-radius:14px;background:#fff;border:1px solid #e5eaf0}
.ect-app .ect-login h2{font-size:20px;color:#055ee8}.ect-app .ect-login form{display:grid;gap:12px}
.ect-app details>summary{cursor:pointer}.ect-app .ect-link{background:transparent!important;border:1px solid #ffffff88!important}
@media(max-width:840px){.ect-app .ect-grid{grid-template-columns:repeat(2,1fr)}.ect-app .ect-two{grid-template-columns:1fr}.ect-app .ect-header{padding:17px}.ect-app{padding:12px}.ect-app .ect-total{align-items:flex-start;flex-direction:column}}
@media(max-width:480px){.ect-app .ect-grid{grid-template-columns:1fr}.ect-app .ect-card strong{font-size:18px}}

.ect-app .ect-service-toggle,.ect-app .ect-entry-toggle{display:flex;align-items:center;gap:6px}.ect-app .ect-service-toggle select,.ect-app .ect-entry-toggle select{min-width:104px}.ect-app .ect-entry-toggle input[type=number]{min-width:80px;width:80px}.ect-app .ect-service-toggle button,.ect-app .ect-entry-toggle button{padding:6px 10px}

/* EC Tributário 0.3.1 - refinamento visual */
.ect-app{background:linear-gradient(180deg,#f4f8ff 0%,#f8fbff 180px,#f7f9fd 181px,#f7f9fd 100%);border:1px solid #e4edf8;box-shadow:0 16px 40px rgba(10,57,122,.08);}
.ect-header{background:linear-gradient(135deg,#053b8c 0%,#055ee8 55%,#1ea0ff 100%);box-shadow:0 18px 35px rgba(5,94,232,.22);position:relative;overflow:hidden}
.ect-header:after{content:'';position:absolute;inset:auto -80px -80px auto;width:240px;height:240px;background:rgba(255,255,255,.08);border-radius:50%;filter:blur(2px)}
.ect-brand{display:flex;align-items:center;gap:18px;min-width:0;position:relative;z-index:1}
.ect-brand-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.ect-logo{display:block;height:auto;object-fit:contain}
.ect-logo-header{width:128px;max-width:32vw;background:#fff;border-radius:16px;padding:10px 14px;box-shadow:0 10px 25px rgba(4,31,81,.18)}
.ect-logo-login{width:170px;max-width:100%;margin:0 auto 6px auto}
.ect-kicker{display:inline-flex;align-items:center;gap:8px;background:#eaf2ff;color:#055ee8;border-radius:999px;padding:6px 10px;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
.ect-header small{display:inline-flex;align-items:center;gap:8px;font-size:12px;background:rgba(255,255,255,.12);padding:6px 10px;border-radius:999px;width:max-content}
.ect-header h2{font-size:32px;line-height:1.1;margin:2px 0 0}
.ect-header span{max-width:680px;line-height:1.45}
.ect-header-actions{display:flex;align-items:center;gap:10px;position:relative;z-index:1}
.ect-user-chip{background:rgba(255,255,255,.12);color:#fff;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.22);font-size:13px;max-width:260px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ect-link{backdrop-filter:blur(3px);}
.ect-grid{margin-top:-12px}
.ect-card{border:1px solid #dde8f5;box-shadow:0 8px 24px rgba(18,53,96,.05);position:relative;overflow:hidden}
.ect-card:before{content:'';position:absolute;left:0;top:0;bottom:0;width:5px;background:linear-gradient(180deg,#055ee8,#27b4ff)}
.ect-card small{font-size:13px;font-weight:600;text-transform:none}
.ect-card strong{font-size:30px;font-weight:800}
.ect-panel{box-shadow:0 10px 24px rgba(15,38,72,.04);border-color:#dde8f5}
.ect-panel h3{font-size:21px}
.ect-table{font-size:13px;border-radius:12px;overflow:hidden}
.ect-table th{font-size:12px;text-transform:uppercase;letter-spacing:.03em}
.ect-table td strong{color:#0b3f92}
.ect-total{background:linear-gradient(90deg,#edf5ff,#f7fbff);border:1px solid #d7e6fb;padding:18px 20px}
.ect-total b{font-size:36px;font-weight:800}
.ect-note{border-radius:14px;padding:18px 20px}
.ect-login{box-shadow:0 20px 45px rgba(13,54,107,.12);padding:28px}
.ect-login-brand{text-align:center;display:grid;gap:8px;margin-bottom:18px}
.ect-login h2{font-size:30px;letter-spacing:0;margin:0;color:#0d325d}
.ect-login p{margin:0;color:#5d6d83}
.ect-login label{font-size:13px;color:#3b4b5f}
.ect-login button{width:100%;border-radius:10px;font-size:16px;padding:12px 18px;box-shadow:0 10px 20px rgba(5,94,232,.18)}
#ect-progress{background:#edf5ff;border:1px dashed #9ec5ff;border-radius:10px;padding:12px 14px}
.ect-app input:focus,.ect-app select:focus,.ect-app textarea:focus{outline:none;border-color:#6ca8ff;box-shadow:0 0 0 4px rgba(5,94,232,.12)}
.ect-app textarea{border:1px solid #ced8e3;border-radius:10px;padding:12px;background:#fff;color:#1d2939}
@media(max-width:840px){.ect-brand{flex-direction:column;align-items:flex-start}.ect-logo-header{width:110px}.ect-header h2{font-size:24px}.ect-header-actions{width:100%;justify-content:space-between}.ect-user-chip{max-width:100%}.ect-card strong{font-size:24px}.ect-total b{font-size:30px}}
@media(max-width:520px){.ect-login{padding:20px}.ect-login h2{font-size:24px}.ect-logo-login{width:140px}.ect-header-actions{flex-direction:column;align-items:stretch}.ect-link{width:100%}}

/* 0.4.0 - seleção de regimes e conferencia de créditos */
.ect-app .ect-regimes{display:flex;gap:8px;margin:18px 0 16px;padding:5px;background:#eaf2ff;border:1px solid #d7e7fd;border-radius:14px;width:max-content;max-width:100%;flex-wrap:wrap}
.ect-app .ect-regimes a{display:inline-flex;align-items:center;text-decoration:none;padding:12px 22px;font-size:14px;font-weight:800;color:#355879;border-radius:10px;transition:.15s}
.ect-app .ect-regimes a.is-active{background:#055ee8;color:#fff;box-shadow:0 7px 15px rgba(5,94,232,.2)}
.ect-app .ect-regimes a:not(.is-active):hover{background:#fff;color:#055ee8}
.ect-app .ect-hybrid-result{border-radius:14px;border:1px solid #d5e5fa;padding:18px;background:#f6faff}
.ect-app .ect-hybrid-result small{display:block;color:#567087;font-weight:650}
.ect-app .ect-hybrid-result strong{display:block;color:#093c8c;font-size:29px;margin-top:5px}
.ect-app .ect-hybrid-ok{background:#eff8f4;color:#155d3d;border:1px solid #c8ead6;padding:12px;border-radius:10px}
.ect-app .ect-hybrid-credit-form{display:flex;align-items:end;flex-wrap:wrap;gap:9px}
.ect-app .ect-hybrid-credit-form label{min-width:140px;flex:1}
.ect-app .ect-hybrid-credit-form button{flex-shrink:0}
.ect-app .ect-hybrid-credit-form input{width:100%;min-width:100px}
.ect-app details.ect-panel summary{padding:5px 2px;margin:0;font-size:16px}
@media (max-width:630px){.ect-app .ect-regimes{width:100%;}.ect-app .ect-regimes a{flex:1;justify-content:center;padding:11px 10px}.ect-app .ect-hybrid-result strong{font-size:22px}}


/* 0.4.1 - alíquota efetiva e resumo do Simples híbrido */
.ect-app .ect-rate-form{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;align-items:end}
.ect-app .ect-rate-form label{min-width:0!important;width:100%;font-weight:650}
.ect-app .ect-rate-form button{grid-column:1/-1;justify-self:start}
.ect-app .ect-rate-form [hidden]{display:none!important}
.ect-app .ect-rate-preview{background:linear-gradient(120deg,#e7f0ff,#f5f9ff);border:1px solid #cfdefa;padding:15px 18px;border-radius:14px;margin:18px 0 12px;display:flex;flex-direction:column;gap:5px}
.ect-app .ect-rate-preview span{font-weight:650;color:#23476c}
.ect-app .ect-rate-preview strong{font-size:28px;color:#064cb4}
.ect-app .ect-rate-preview small{font-size:12px;color:#58728e}
.ect-app .ect-hybrid-summary-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:15px 0 18px}
.ect-app .ect-hybrid-summary-grid .ect-hybrid-result{min-width:0;padding:16px}
.ect-app .ect-hybrid-summary-grid .ect-hybrid-result strong{font-size:24px;overflow-wrap:anywhere}
@media(max-width:650px){.ect-app .ect-rate-form{grid-template-columns:1fr}.ect-app .ect-hybrid-summary-grid{grid-template-columns:1fr}}

/* 0.4.2 — painel de fluxo de caixa com detalhamento verificável */
.ect-app .ect-cashflow{margin:12px 0 18px;padding:26px 30px 22px;background:linear-gradient(120deg,#083974,#0752c8 72%,#136ce5);color:#fff;border-radius:20px;box-shadow:0 16px 32px rgba(3,57,136,.17);overflow:hidden;position:relative}
.ect-app .ect-cashflow::after{content:'';width:260px;height:260px;position:absolute;border:55px solid rgba(255,255,255,.035);border-radius:50%;right:-110px;top:-140px;pointer-events:none}
.ect-app .ect-cashflow-label{display:flex;flex-wrap:wrap;gap:12px;align-items:center;color:#e0edff;font-size:12px;margin-bottom:13px}
.ect-app .ect-pill{display:inline-flex;font-size:11px;letter-spacing:.04em;font-weight:750;border-radius:999px;padding:7px 11px}
.ect-app .ect-pill-white{background:#ffffff21;border:1px solid #ffffff4f;color:#fff}
.ect-app .ect-cashflow-heading{display:flex;justify-content:space-between;align-items:center;gap:26px;position:relative;z-index:1}
.ect-app .ect-cashflow-heading h3{color:#fff;font-weight:800;font-size:24px;margin:0 0 9px;line-height:1.25;letter-spacing:-.02em}
.ect-app .ect-cashflow-heading p{color:#dbeaff;font-size:13px;max-width:470px;line-height:1.65;margin:0}
.ect-app .ect-cashflow-big{font-size:clamp(28px,3.8vw,45px);font-weight:850;letter-spacing:-.035em;white-space:nowrap;color:#fff;line-height:1.1}
.ect-app .ect-cashflow-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1px;background:#ffffff33;border:1px solid #ffffff29;border-radius:13px;margin-top:24px;overflow:hidden}
.ect-app .ect-cashflow-kpis div{background:#0b509ead;padding:14px 16px;display:flex;flex-direction:column;gap:7px;min-width:0}
.ect-app .ect-cashflow-kpis span{color:#d5e6ff;font-size:12px}
.ect-app .ect-cashflow-kpis b{font-size:20px;white-space:nowrap;color:#fff;letter-spacing:-.015em}
.ect-app .ect-cashflow-alert{background:#fff5ea;color:#774312;padding:12px 14px;border-radius:9px;margin:18px 0 0;font-weight:700;font-size:13px}
.ect-app .ect-finance-panel{padding:24px 25px;border-radius:18px;overflow:visible}
.ect-app .ect-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:14px;margin-bottom:18px}
.ect-app .ect-section-heading h3{font-size:22px;margin:3px 0 0!important;letter-spacing:-.025em}
.ect-app .ect-section-heading p{font-size:12px;color:#66778f;max-width:300px;line-height:1.5;margin:0}
.ect-app .ect-eyebrow{color:#075ddc;font-weight:800;letter-spacing:.1em;font-size:10px}
.ect-app .ect-ledger{border:1px solid #e1e9f4;border-radius:13px;overflow:hidden}
.ect-app .ect-ledger-row{display:grid;grid-template-columns:minmax(0,1fr) max-content;align-items:center;gap:12px;padding:13px 16px;background:#fff;border-bottom:1px solid #e9edf4}
.ect-app .ect-ledger-row:last-child{border-bottom:0}
.ect-app .ect-ledger-row span{font-weight:650;font-size:13px;color:#1c3459}
.ect-app .ect-ledger-row span small{font-weight:400;font-size:11px;color:#748095;display:block;padding-top:3px}
.ect-app .ect-ledger-row strong{font-weight:800;color:#193555;font-size:16px;font-variant-numeric:tabular-nums;text-align:right}
.ect-app .ect-ledger-credit{background:#f3faf7}
.ect-app .ect-ledger-credit strong{color:#0b7657}
.ect-app .ect-credit-meter{margin:19px 0 17px}
.ect-app .ect-credit-meter-title{display:flex;justify-content:space-between;gap:12px;font-size:12px;color:#5e718d;margin-bottom:8px}
.ect-app .ect-credit-meter-title b{font-weight:800;color:#087b5b}
.ect-app .ect-credit-meter-track{height:9px;border-radius:50px;background:#e6edf4;overflow:hidden}
.ect-app .ect-credit-meter-track span{height:100%;display:block;background:linear-gradient(90deg,#00a886,#36c4aa);border-radius:50px;transition:width .2s ease}
.ect-app .ect-ledger-final{background:#eaf2ff;border:1px solid #c9dffb;border-radius:13px;padding:18px 20px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.ect-app .ect-ledger-final span{font-size:16px;color:#103b79;font-weight:750}
.ect-app .ect-ledger-final span small{display:block;font-size:11px;color:#597597;margin-top:4px;font-weight:400}
.ect-app .ect-ledger-final strong{color:#0348ab;font-size:clamp(23px,3vw,30px);font-weight:850;white-space:nowrap}
.ect-app .ect-small-warning{font-size:11px;line-height:1.75;color:#68788f;margin:12px 0 0}
.ect-app .ect-scenario-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.ect-app .ect-scenario{padding:20px;border:1px solid #dbe5f1;background:#fafcff;border-radius:13px;min-width:0}
.ect-app .ect-scenario>span{font-size:12px;font-weight:700;color:#597087;display:block}
.ect-app .ect-scenario>strong{display:block;font-size:clamp(23px,2.9vw,28px);letter-spacing:-.025em;margin:10px 0 6px;color:#1a355d}
.ect-app .ect-scenario>small{display:block;font-size:11px;color:#5b7087}
.ect-app .ect-scenario>p{font-size:12px;color:#64748b;line-height:1.55;margin:14px 0 0}
.ect-app .ect-scenario-estimate{border-color:#bcd5fc;background:#f2f7ff}
.ect-app .ect-scenario-estimate>strong{color:#055ee8}
.ect-app .ect-before-credit{font-size:12px;color:#5e708c;margin:16px 0 0}
.ect-app .ect-detail-card{border-radius:15px;overflow:hidden}
.ect-app details.ect-detail-card>summary,.ect-app details.ect-documents-drawer>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0;position:relative;padding-right:26px}
.ect-app details.ect-detail-card>summary::-webkit-details-marker,.ect-app details.ect-documents-drawer>summary::-webkit-details-marker{display:none}
.ect-app details.ect-detail-card>summary::after,.ect-app details.ect-documents-drawer>summary::after{content:'+';position:absolute;right:2px;font-size:24px;line-height:1;color:#0756c4}
.ect-app details.ect-detail-card[open]>summary::after,.ect-app details.ect-documents-drawer[open]>summary::after{content:'−'}
.ect-app details.ect-detail-card>summary span,.ect-app details.ect-documents-drawer>summary span{display:flex;flex-direction:column;gap:3px;min-width:0}
.ect-app details.ect-detail-card>summary b,.ect-app details.ect-documents-drawer>summary b{font-size:16px;color:#143e73}
.ect-app details.ect-detail-card>summary small,.ect-app details.ect-documents-drawer>summary small{font-weight:450;font-size:12px;color:#728297}
.ect-app details.ect-detail-card[open]>summary,.ect-app details.ect-documents-drawer[open]>summary{padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e5edf5}
.ect-app .ect-docs-mini{background:#f5f8fc;border:1px solid #e0e8f3;border-radius:14px;padding:16px 20px;margin:17px 0 13px}
.ect-app .ect-docs-mini strong{color:#1d4171}
.ect-app .ect-docs-mini p{font-size:12px;color:#62748c;margin:6px 0 0;line-height:1.6}
.ect-app .ect-documents-drawer>.ect-panel{background:#fff;box-shadow:none;border-color:#edf1f7}
.ect-app .ect-documents-drawer .ect-panel{overflow-x:auto}
.ect-app .ect-rate-form button{white-space:normal}
.ect-app .ect-export{margin:12px 0}
@media(max-width:800px){
  .ect-app .ect-cashflow{padding:23px 21px}
  .ect-app .ect-cashflow-heading{flex-direction:column;align-items:flex-start;gap:13px}
  .ect-app .ect-cashflow-kpis{grid-template-columns:1fr}
  .ect-app .ect-cashflow-kpis div{padding:12px 15px;flex-direction:row;align-items:center;justify-content:space-between;gap:12px}
  .ect-app .ect-cashflow-kpis b{font-size:17px}
  .ect-app .ect-section-heading{flex-direction:column;align-items:flex-start}
  .ect-app .ect-scenario-grid{grid-template-columns:1fr}
}
@media(max-width:520px){
  .ect-app .ect-finance-panel{padding:17px}
  .ect-app .ect-cashflow{padding:20px 16px}
  .ect-app .ect-cashflow-heading h3{font-size:21px}
  .ect-app .ect-cashflow-big{font-size:35px}
  .ect-app .ect-ledger-row{padding:12px;gap:10px}
  .ect-app .ect-ledger-row span{font-size:12px}
  .ect-app .ect-ledger-row strong{font-size:14px}
  .ect-app .ect-ledger-final{padding:15px;align-items:flex-start;flex-direction:column}
  .ect-app .ect-ledger-final strong{font-size:27px}
  .ect-app .ect-cashflow-kpis div{align-items:flex-start;flex-direction:column}
}

/* EC Tributário 0.4.3 - Simples Nacional puro */
.ect-app .ect-regimes{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.ect-app .ect-regimes a{white-space:nowrap}
.ect-app .ect-puro-hero{background:linear-gradient(125deg,#053b8c,#055ee8 60%,#1783f2)}
.ect-app .ect-puro-hero .ect-cashflow-heading p{max-width:630px}
.ect-app .ect-puro-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px}
.ect-app .ect-puro-form label{min-width:min(260px,100%);flex:1}
.ect-app .ect-puro-form button{flex:0 0 auto}
.ect-app .ect-puro-warnings{margin:8px 0;padding-left:21px}
.ect-app .ect-puro-warnings li{padding:5px 0;line-height:1.5}
.ect-app .ect-puro-form [hidden]{display:none!important}
@media(max-width:520px){.ect-app .ect-regimes a{flex:1 1 auto;text-align:center}.ect-app .ect-puro-form button{width:100%}}

/* Multiempresa — empresa ativa visível em todas as abas. */
.ect-app .ect-company-switch{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:14px 0 20px;padding:16px 20px;background:#fff;border:1px solid #cfe1ff;border-radius:14px;box-shadow:0 5px 14px rgba(6,58,131,.04)}
.ect-app .ect-company-switch>div strong{color:#0752b6}
.ect-app .ect-company-switch>div span{color:#5c6c81}
.ect-app .ect-company-switch form{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}
.ect-app .ect-company-switch select{min-width:260px}
.ect-app .ect-company-switch label{display:grid;gap:4px}
@media(max-width:720px){.ect-app .ect-company-switch form,.ect-app .ect-company-switch label{width:100%}.ect-app .ect-company-switch select{width:100%;min-width:0}}

/* 0.7.0 — comparativo por empresa, sem alterar os painéis existentes */
.ect-app .ect-compare-hero{border-radius:20px;background:linear-gradient(125deg,#072f72,#055ee8 77%,#2e9cff);color:white;padding:26px 30px;margin:12px 0 18px;box-shadow:0 16px 30px rgba(5,72,170,.14)}
.ect-app .ect-compare-hero .ect-eyebrow{display:block;color:#d9ecff;font-size:11px;font-weight:800;letter-spacing:.10em;margin-bottom:7px}
.ect-app .ect-compare-hero h3{font-size:clamp(22px,2.6vw,30px);color:#fff;margin:4px 0 8px;letter-spacing:-.025em}
.ect-app .ect-compare-hero p{color:#e4efff;font-size:13px;line-height:1.6;margin:0}
.ect-app .ect-compare-result{margin-top:21px;background:#ffffffed;color:#163b66;border-radius:14px;padding:19px 22px;display:flex;flex-direction:column;gap:5px}
.ect-app .ect-compare-result span{font-size:12px;color:#436589;font-weight:700}
.ect-app .ect-compare-result strong{font-size:29px;font-weight:850;letter-spacing:-.03em;color:#0649a6}
.ect-app .ect-compare-result p{color:#415977;margin:2px 0 0;font-size:12px}
.ect-app .ect-compare-pending{background:#fff8ec}
.ect-app .ect-compare-pending strong{color:#81520b}
.ect-app .ect-compare-table th{white-space:normal;text-align:left}
.ect-app .ect-compare-table td{vertical-align:middle;font-size:13px;white-space:normal}
.ect-app .ect-compare-table tbody tr:hover td{background:#f4f8ff}
.ect-app .ect-compare-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.ect-app .ect-compare-stat{border:1px solid #deebfa;border-radius:14px;background:white;padding:16px 18px;display:flex;flex-direction:column;gap:7px;min-width:0;box-shadow:0 7px 20px rgba(9,55,120,.035)}
.ect-app .ect-compare-stat small{font-weight:650;color:#49647e;font-size:12px}
.ect-app .ect-compare-stat strong{font-size:23px;font-weight:800;color:#0d417c;overflow-wrap:anywhere}
.ect-app .ect-compare-stat span{font-size:11px;color:#687d95}
.ect-app .ect-compare-detail{border:1px solid #e1eaf5;border-radius:12px;padding:0;margin:9px 0;background:#fff;overflow:hidden}
.ect-app .ect-compare-detail>summary{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:15px 16px;margin:0;cursor:pointer;background:#f7faff;font-weight:750}
.ect-app .ect-compare-detail>summary span{font-size:12px;color:#43678f}
.ect-app .ect-compare-detail[open]>summary{border-bottom:1px solid #e1eaf5}
.ect-app .ect-compare-detail>.ect-ledger,.ect-app .ect-compare-detail>p,.ect-app .ect-compare-detail>ul{margin:12px 17px}
.ect-app .ect-compare-detail li{margin-bottom:6px;font-size:12px}
.ect-app .ect-compare-info{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ect-app .ect-compare-info>div{padding:14px 17px;background:#f4f8ff;border-radius:11px;border:1px solid #dfebfc}
.ect-app .ect-compare-info b{color:#0d417c}
.ect-app .ect-compare-info p{font-size:12px;line-height:1.6;margin:6px 0 0;color:#55708b}
.ect-app #ect-compare-config{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end}
.ect-app #ect-compare-config>button{justify-self:start}
@media(max-width:850px){.ect-app .ect-compare-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:580px){.ect-app .ect-compare-hero{padding:20px 16px}.ect-app .ect-compare-metrics{grid-template-columns:1fr}.ect-app .ect-compare-info{grid-template-columns:1fr}.ect-app #ect-compare-config{grid-template-columns:1fr}.ect-app .ect-compare-result strong{font-size:23px}.ect-app .ect-compare-detail>summary{align-items:flex-start;flex-direction:column;gap:5px}}

/* 0.7.1: exibição progressiva — sempre mostrar a parte calculável. */
.ect-app .ect-compare-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0 22px}
.ect-app .ect-compare-mini{display:flex;flex-direction:column;gap:8px;padding:17px 19px;background:#fff;border:1px solid #dbe7f8;border-radius:13px;min-width:0}
.ect-app .ect-compare-mini small{font-size:12px;font-weight:750;color:#436589}
.ect-app .ect-compare-mini strong{font-size:20px;font-weight:800;color:#123e73;line-height:1.3;overflow-wrap:anywhere}
.ect-app .ect-compare-mini span{font-size:12px;color:#68788e}
.ect-app .ect-completion-item{padding:13px 0;border-bottom:1px solid #e8eff8}
.ect-app .ect-completion-item b{color:#164578}
.ect-app .ect-completion-item ul{margin:7px 0 0 20px;font-size:12px;color:#516981;line-height:1.55}
@media(max-width:600px){.ect-app .ect-compare-cards{grid-template-columns:1fr}}

/* Login: feedback da validacao do nonce em tempo real */
.ect-app .ect-login-feedback{font-size:13px;color:#48617f;line-height:1.4;min-height:1.2em;margin:4px 0 0}.ect-app .ect-login button:disabled{opacity:.75;cursor:wait}
/* EC Tributário 0.8.0 — folha por empresa e competência */
.ect-payroll-page{padding:26px!important}
.ect-payroll-banner{display:grid;gap:6px;background:#edf7ef;border:1px solid #c6e7d2;border-radius:13px;padding:17px 19px;margin:20px 0;color:#153e2b}
.ect-payroll-banner b{color:#135633}
.ect-payroll-banner strong{font-size:20px;color:#175b3d}
.ect-payroll-banner small{color:#496857}
.ect-payroll-review{display:grid;gap:18px;margin-top:20px}
.ect-payroll-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;background:#f7faff;border-radius:13px;padding:18px;border:1px solid #e3ecf8}
.ect-payroll-review label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:#314b71;font-weight:700}
.ect-payroll-review label input[type=number],.ect-payroll-review label input[type=text],.ect-payroll-review label input:not([type]){border:1px solid #cad9eb;border-radius:9px;padding:10px 12px;background:#fff;width:100%;min-height:42px;color:#193353}
.ect-payroll-review .ect-check{display:flex;flex-direction:row;align-items:flex-start;gap:12px;font-size:14px;color:#193353}
.ect-payroll-review .ect-check input{margin-top:2px;flex:none;width:17px;height:17px}
.ect-payroll-review button{justify-self:start}
#ect-payroll-import-status,#ect-payroll-save-status{font-weight:600;color:#0a55b8;min-height:18px}
.ect-regimes{flex-wrap:wrap}
@media(max-width:800px){.ect-payroll-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:530px){.ect-payroll-fields{grid-template-columns:minmax(0,1fr)}.ect-payroll-page{padding:16px!important}}

/* 0.8.1 — central de dados acima das simulações, sem importações duplicadas */
.ect-app .ect-data-nav{margin:20px 0 13px}
.ect-app .ect-data-nav-link{display:flex;align-items:center;gap:16px;padding:20px 24px;border:1px solid #a6caff;background:linear-gradient(105deg,#e6f0ff,#f7fbff);border-radius:16px;text-decoration:none;color:#163f76;box-shadow:0 7px 20px rgba(5,94,232,.06);transition:background .16s,border-color .16s,transform .16s}
.ect-app .ect-data-nav-link:hover{background:#dcebff;border-color:#3989ff;transform:translateY(-1px)}
.ect-app .ect-data-nav-link.is-active{background:linear-gradient(105deg,#055ee8,#147cf2);border-color:#055ee8;color:#fff}
.ect-app .ect-data-nav-link>span:nth-child(2){display:flex;flex-direction:column;gap:3px;flex:1;min-width:0}
.ect-app .ect-data-nav-link b{font-size:20px;line-height:1.25;color:inherit}
.ect-app .ect-data-nav-link small{font-size:13px;line-height:1.4;color:#566f8e}
.ect-app .ect-data-nav-link.is-active small{color:#e8f2ff}
.ect-app .ect-data-nav-icon{display:flex;align-items:center;justify-content:center;flex:none;width:46px;height:46px;border:1px solid #b9d5ff;border-radius:12px;background:#fff;color:#055ee8;font-size:25px;line-height:1}
.ect-app .ect-data-nav-arrow{font-size:23px;font-weight:700}
.ect-app .ect-regimes-label{display:flex;justify-content:space-between;flex-wrap:wrap;gap:4px 18px;margin:19px 3px 8px;align-items:baseline}
.ect-app .ect-regimes-label span{font-size:14px;font-weight:800;color:#214569}
.ect-app .ect-regimes-label small{font-size:12px;color:#70849e}
.ect-app .ect-regimes{margin-top:8px}
.ect-app .ect-data-intro{background:#fff;border:1px solid #dce8f9;border-radius:16px;padding:25px 27px;margin:18px 0 19px}
.ect-app .ect-data-intro .ect-eyebrow{color:#055ee8;font-size:11px;font-weight:850;letter-spacing:.07em}
.ect-app .ect-data-intro h3{font-size:26px;color:#123e72;margin:6px 0 7px}
.ect-app .ect-data-intro p{color:#4c6583;font-size:14px;line-height:1.6;margin:0 0 18px}
.ect-app .ect-data-jumps{display:flex;gap:9px;flex-wrap:wrap}
.ect-app .ect-data-jumps a{border:1px solid #cee0fa;background:#eff6ff;border-radius:999px;padding:9px 15px;font-size:13px;text-decoration:none;color:#0754bd;font-weight:700;transition:.15s}
.ect-app .ect-data-jumps a:hover{border-color:#055ee8;background:#e0efff}
.ect-app #ect-dados-saidas,.ect-app #ect-dados-entradas,.ect-app #ect-dados-servicos,.ect-app #ect-folha-pagamento{scroll-margin-top:20px}
.ect-app #ect-folha-pagamento{margin-top:25px}
.ect-app .ect-data-payroll-heading{border-top:1px solid #dce8f8;padding:20px 4px 4px;margin-bottom:12px}
.ect-app .ect-data-payroll-heading h3{font-size:23px;margin:6px 0;color:#153c6b}
.ect-app .ect-data-payroll-heading p{font-size:13px;color:#66819e;margin:0}
.ect-app .ect-data-payroll-heading .ect-eyebrow{font-size:11px;font-weight:800;color:#055ee8;letter-spacing:.06em}
@media(max-width:640px){.ect-app .ect-data-nav-link{padding:16px 14px;gap:10px}.ect-app .ect-data-nav-link b{font-size:17px}.ect-app .ect-data-nav-link small{font-size:12px}.ect-app .ect-data-nav-icon{width:38px;height:38px}.ect-app .ect-data-intro{padding:20px 16px}.ect-app .ect-data-intro h3{font-size:23px}}


/* 0.8.6 — métodos de compra unificados, sem alterar os formulários internos. */
.ect-app .ect-entry-import-panel{overflow:visible}
.ect-app .ect-entry-import-panel>h3{margin-bottom:12px}
.ect-app .ect-entry-import-panel>p{line-height:1.6}
.ect-app .ect-entry-import-option{padding:18px 20px;margin:16px 0 13px;border:1px solid #d7e5fa;border-radius:12px;background:#f8fbff}
.ect-app .ect-entry-option-title{display:flex;flex-direction:column;gap:5px;margin-bottom:10px}
.ect-app .ect-entry-option-title strong{color:#163f76;font-size:16px}
.ect-app .ect-entry-option-title span{color:#61768d;font-size:12px}
.ect-app .ect-entry-import-option p,.ect-app .ect-entry-import-alt-body p{font-size:13px;line-height:1.65;color:#455d79;margin:8px 0 13px}
.ect-app .ect-entry-import-option form{display:flex;align-items:end;flex-wrap:wrap;gap:10px}
.ect-app .ect-entry-import-option form label{flex:1;min-width:220px}
.ect-app .ect-entry-inner-detail{margin-top:16px;padding-top:13px;border-top:1px solid #dce8f7}
.ect-app .ect-entry-import-panel details>summary{font-weight:700;color:#124c97;cursor:pointer;margin:0}
.ect-app .ect-entry-import-panel .ect-entry-inner-detail>form{margin-top:12px}
.ect-app .ect-entry-import-alternative{padding:15px 18px;border:1px solid #dae3ee;border-radius:12px;background:#fff}
.ect-app .ect-entry-import-alt-body{padding-top:12px}
.ect-app .ect-entry-import-alt-body form{display:flex;flex-wrap:wrap;align-items:end;gap:12px}
.ect-app .ect-entry-import-alt-body form label{flex:1;min-width:185px}
.ect-app .ect-entry-import-footnote{margin-top:16px!important;color:#5d7188}
@media(max-width:660px){.ect-app .ect-entry-import-option{padding:15px 13px}.ect-app .ect-entry-import-alternative{padding:14px 12px}.ect-app .ect-entry-import-option form label,.ect-app .ect-entry-import-alt-body form label{min-width:100%;flex-basis:100%}.ect-app .ect-entry-import-option form button,.ect-app .ect-entry-import-alt-body form button{width:100%}}

/* 0.9.0 — comparação gerencial mensal sem usar saldos históricos */
.ect-app .ect-monthly-brief{border-color:#b9d5f9;background:#fbfdff}
.ect-app .ect-monthly-brief .ect-ledger-row{white-space:normal;gap:14px}
.ect-app .ect-monthly-total{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:16px 18px;margin:18px 0;border:1px solid #b6d4fa;background:#eaf3ff;border-radius:13px;color:#104785;font-weight:750}
.ect-app .ect-monthly-total strong{font-size:25px;color:#0755c5}
.ect-app #ect-state-month{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end}
.ect-app #ect-state-month label{min-width:185px;flex:1}
@media(max-width:670px){.ect-app .ect-monthly-total{align-items:flex-start;flex-direction:column}}


/* v0.9.3 - Central única de complementos fiscais */
.ect-app .ect-completion-data{scroll-margin-top:22px}
.ect-app .ect-completion-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.ect-app .ect-completion-steps>div{display:flex;flex-direction:column;gap:7px;padding:15px;background:#f6faff;border:1px solid #dce8fa;border-radius:12px}
.ect-app .ect-completion-steps strong{font-size:13px;color:#184a89}
.ect-app .ect-completion-steps span{font-size:12px;color:#607690;line-height:1.5}
.ect-app .ect-completion-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;margin:20px 0}
.ect-app .ect-completion-form label{display:flex;flex-direction:column;gap:6px;min-width:0}
.ect-app .ect-completion-form label strong{font-size:13px;color:#24486f}
.ect-app .ect-completion-form label small{font-size:12px;line-height:1.5;color:#657b96;min-height:52px}
.ect-app .ect-completion-form input{width:100%;min-height:43px;border:1px solid #ced9eb;border-radius:9px;background:white;color:#1d3451;padding:10px 12px}
.ect-app .ect-completion-save{grid-column:1/-1;display:flex;align-items:center;gap:15px;flex-wrap:wrap}
.ect-app .ect-completion-save button{flex:0 0 auto}
.ect-app .ect-success-line{background:#eef8f1;border:1px solid #cce9d4;padding:12px 15px;border-radius:10px;color:#165d38;font-size:13px}
.ect-app .ect-completion-help{margin-top:14px;border:1px solid #e0e9f4;border-radius:12px;padding:12px 15px;background:#f9fbfe}
.ect-app .ect-completion-help summary{margin:0;color:#134982}
.ect-app .ect-completion-help p{font-size:13px;color:#5a708b;line-height:1.6;margin:8px 0 0}
.ect-app .ect-completion-link{display:inline-flex;background:#055ee8;border-radius:10px;color:#fff;text-decoration:none;font-weight:800;padding:12px 18px;margin:7px 0 12px}
.ect-app .ect-completion-link:hover{background:#034fc5}
.ect-app .ect-compare-action{border-color:#cfe0fa}
.ect-app #ect-credito-documental{scroll-margin-top:22px}
@media(max-width:760px){.ect-app .ect-completion-steps{grid-template-columns:1fr}.ect-app .ect-completion-form{grid-template-columns:1fr}.ect-app .ect-completion-form label small{min-height:0}}

/* 0.9.4: análise de CPF/CNPJ e simulação B2B por CNPJ/competência */
.ect-app .ect-b2b-panel{border-color:#cfdef4}
.ect-app .ect-b2b-profiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.ect-app .ect-b2b-profile{border:1px solid #d7e6f8;background:#f7fbff;border-radius:13px;padding:16px;display:flex;flex-direction:column;gap:6px;min-width:0}
.ect-app .ect-b2b-profile small{font-size:12px;color:#52708e;font-weight:700}
.ect-app .ect-b2b-profile strong{font-size:28px;color:#0752ad;font-weight:850}
.ect-app .ect-b2b-profile>span{font-size:12px;color:#53708c}
.ect-app .ect-b2b-bar{height:7px;background:#e0e9f4;border-radius:99px;overflow:hidden}
.ect-app .ect-b2b-bar span{display:block;height:100%;background:#055ee8;border-radius:99px}
.ect-app .ect-b2b-form{display:grid;grid-template-columns:1fr 1fr;gap:14px;background:#f7faff;border:1px solid #dce8f7;border-radius:13px;padding:19px;margin:18px 0}
.ect-app .ect-b2b-form label{display:flex;flex-direction:column;gap:6px;min-width:0;color:#183d68}
.ect-app .ect-b2b-form label small{font-size:12px;font-weight:400;color:#55708d}
.ect-app .ect-b2b-form select{width:100%}
.ect-app .ect-b2b-save{grid-column:1/-1;display:flex;align-items:center;gap:14px;flex-wrap:wrap}
.ect-app .ect-b2b-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:17px 0}
.ect-app .ect-b2b-figures>div{border:1px solid #dce7f5;border-radius:12px;padding:13px;display:flex;flex-direction:column;gap:6px;background:#fff}
.ect-app .ect-b2b-figures small{font-size:12px;color:#59718e}
.ect-app .ect-b2b-figures strong{font-size:20px;color:#163e72}
.ect-app .ect-b2b-subtitle{margin:20px 0 7px;color:#123e73;font-size:18px}
.ect-app .ect-b2b-summary{padding:14px 17px;background:#edf5ff;border-radius:11px;border:1px solid #d5e6ff;line-height:1.5}
.ect-app .ect-b2b-table td{white-space:normal}
.ect-app .ect-b2b-table td small{display:block;color:#a05815;font-size:11px;margin-top:3px}
@media(max-width:760px){.ect-app .ect-b2b-profiles{grid-template-columns:1fr}.ect-app .ect-b2b-form{grid-template-columns:1fr}.ect-app .ect-b2b-figures{grid-template-columns:1fr}.ect-app .ect-b2b-profile strong{font-size:24px}}

/* 0.9.5 — duas visões do comparador, sem duplicar importação de dados */
.ect-insight-tabs{display:flex;flex-wrap:wrap;gap:10px;margin:14px 0 20px;padding:6px;border:1px solid #dce7f7;border-radius:14px;background:#f1f6fd}
.ect-insight-tabs a{flex:1 1 220px;text-decoration:none!important;text-align:center;border-radius:10px;padding:13px 16px;font-size:14px;font-weight:700;color:#254c78!important;background:transparent;transition:background .15s}
.ect-insight-tabs a:hover,.ect-insight-tabs a:focus{background:#e0ecfc}
.ect-insight-tabs a.is-active{background:#fff;color:#0755c5!important;box-shadow:0 1px 9px rgba(28,65,111,.12)}
.ect-benefit-hero{border:1px solid #cce0fa!important;background:linear-gradient(138deg,#f6faff,#fff 60%)}
.ect-benefit-summary,.ect-benefit-winners,.ect-benefit-assumptions,.ect-benefit-facts{display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px;margin:16px 0}
.ect-benefit-summary>div,.ect-benefit-winners>div,.ect-benefit-assumptions>div,.ect-benefit-facts>div{display:flex;flex-direction:column;gap:6px;padding:15px;border:1px solid #dbe5f3;border-radius:12px;background:#fff}
.ect-benefit-summary small,.ect-benefit-winners small,.ect-benefit-assumptions small,.ect-benefit-facts small{color:#5e7390;font-size:12px}
.ect-benefit-summary strong,.ect-benefit-winners strong,.ect-benefit-assumptions strong,.ect-benefit-facts strong{font-size:20px;color:#094cbb;overflow-wrap:anywhere}
.ect-benefit-summary span,.ect-benefit-winners span,.ect-benefit-facts span{font-size:13px;color:#49617e}
.ect-benefit-winners{grid-template-columns:repeat(auto-fit,minmax(250px,1fr))}
.ect-benefit-winners>div{border-left:4px solid #0668e7}
.ect-benefit-winners p{margin:2px 0 0;font-size:13px;color:#5a6880;line-height:1.5}
.ect-benefit-answer{padding:16px 18px;margin:15px 0 0;background:#edf5ff;border-radius:10px;border:1px solid #d2e5ff}
.ect-benefit-table td,.ect-benefit-table th{vertical-align:top;min-width:120px}
.ect-benefit-regimes{display:grid;grid-template-columns:repeat(auto-fit,minmax(310px,1fr));gap:15px}
.ect-benefit-regime{padding:20px;border:1px solid #dbe5f3;border-radius:14px;background:#fff;min-width:0}
.ect-benefit-regime-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:14px}
.ect-benefit-regime-head h4{margin:0;font-size:18px;color:#083e8b}
.ect-benefit-regime-head span{font-size:12px;color:#63728a;line-height:1.3;text-align:right}
.ect-benefit-regime-value{display:flex;flex-direction:column;gap:4px;padding:12px;border-radius:10px;background:#f1f6fd}
.ect-benefit-regime-value small{color:#61748e}
.ect-benefit-regime-value strong{font-size:21px;color:#0959cc}
.ect-benefit-regime>p{font-size:14px;line-height:1.5}
.ect-benefit-columns{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ect-benefit-columns h5{font-size:14px;margin:14px 0 8px;color:#244a7d}
.ect-benefit-columns ul,.ect-benefit-regime ul{padding-left:19px;margin:7px 0;line-height:1.55;font-size:13px}
.ect-benefit-columns li{margin:0 0 6px}
.ect-benefit-columns p{font-size:12px;line-height:1.5}
.ect-benefit-regime details{margin-top:14px}
@media(max-width:700px){.ect-benefit-columns{grid-template-columns:1fr}.ect-benefit-regimes{grid-template-columns:1fr}.ect-benefit-summary,.ect-benefit-facts{grid-template-columns:1fr 1fr}.ect-benefit-regime{padding:13px}}
@media(max-width:420px){.ect-benefit-summary,.ect-benefit-facts{grid-template-columns:1fr}}

.ect-benefit-because{margin:15px 0 0;padding:15px;background:#fff;border:1px solid #d8e7fa;border-radius:11px;font-size:14px}.ect-benefit-because p{margin:7px 0 0;line-height:1.5}

/* EC 0.9.6: competitividade entre fornecedores e custo efetivo do comprador */
.ect-app .ect-market-panel{border-color:#dbe5f5}
.ect-app .ect-market-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;background:#f5f9ff;border:1px solid #dbe6f6;border-radius:14px;padding:19px;margin:20px 0}
.ect-app .ect-market-form label{min-width:0;display:flex;flex-direction:column;gap:8px;color:#16375f;font-size:13px}
.ect-app .ect-market-form label strong{font-size:13px}
.ect-app .ect-market-form label small{color:#607b98;font-size:11px;font-weight:normal}
.ect-app .ect-market-form select{width:100%;border:1px solid #c6d8ed;padding:10px 12px;border-radius:9px;background:white;color:#173659;min-height:42px}
.ect-app .ect-market-actions{grid-column:1/-1;display:flex;gap:12px;align-items:center;flex-wrap:wrap}
.ect-app .ect-market-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}
.ect-app .ect-market-summary>div{border:1px solid #dbe5f2;padding:17px;border-radius:12px;background:#fafcff;display:flex;flex-direction:column;gap:7px;min-width:0}
.ect-app .ect-market-summary small{font-size:12px;color:#526e88}
.ect-app .ect-market-summary strong{font-size:22px;color:#0b4c9b;overflow-wrap:anywhere}
.ect-app .ect-market-summary span{font-size:12px;color:#536f8d;line-height:1.5}
.ect-app .ect-market-verdict{padding:18px;border:1px solid #d9e8f9;border-radius:13px;background:#f7faff;margin:22px 0}
.ect-app .ect-market-verdict h4{margin-top:0}
.ect-app .ect-market-verdict p{line-height:1.65}
.ect-app .ect-market-table th,.ect-app .ect-market-table td{min-width:120px}
@media(max-width:760px){.ect-app .ect-market-form,.ect-app .ect-market-summary{grid-template-columns:1fr}}

/* EC 0.9.7 — cenários de clientes PJ e conclusão explicada */
.ect-app .ect-preset-head h4{margin:20px 0 8px;color:#143d70;font-size:18px}
.ect-app .ect-preset-head p{margin-top:5px}
.ect-app .ect-preset-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}
.ect-app .ect-preset-card{padding:15px;border:1px solid #d5e3f4;border-radius:13px;background:#fff;display:flex;flex-direction:column;gap:8px;min-width:0}
.ect-app .ect-preset-card.is-current{border:2px solid #055ee8;background:#f6faff}
.ect-app .ect-preset-card>span{font-size:12px;color:#506f95}
.ect-app .ect-preset-card>strong{color:#0e4d99;font-size:18px}
.ect-app .ect-preset-card>small{font-size:12px;color:#38536f;line-height:1.4}
.ect-app .ect-preset-card button{margin-top:auto;align-self:stretch;min-height:38px}
.ect-app .ect-decision-box{border:1px solid #d5e2f4;border-radius:14px;background:#fff;padding:18px;margin:18px 0}
.ect-app .ect-decision-box h4{color:#0d448b;margin:0 0 6px;font-size:19px}
.ect-app .ect-decision-status{margin:3px 0 14px;font-size:13px;color:#744a0c}
.ect-app .ect-decision-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.ect-app .ect-decision-grid>div{background:#f7faff;border:1px solid #e1eaf7;border-radius:11px;padding:13px}
.ect-app .ect-decision-grid strong{font-size:13px;color:#1d5089}
.ect-app .ect-decision-grid p{font-size:13px;line-height:1.55;margin:7px 0 0;color:#35485f}
.ect-app .ect-decision-box details{margin-top:13px}
@media(max-width:760px){.ect-app .ect-preset-grid{grid-template-columns:1fr}.ect-app .ect-decision-grid{grid-template-columns:1fr}}


/* EC 0.9.8 — pagina exclusiva para o painel (sem elementos do tema).
   Escopo deliberado: SOMENTE body.ect-app-page; nunca ocultar .ect-header.
   Compativel com Hello/Elementor, Astra, temas classicos e temas de blocos. */
body.ect-app-page #masthead,
body.ect-app-page #site-header,
body.ect-app-page #header,
body.ect-app-page header.site-header,
body.ect-app-page .site-header,
body.ect-app-page .elementor-location-header,
body.ect-app-page .wp-site-blocks > header,
body.ect-app-page .wp-site-blocks > .wp-block-template-part:first-child,
body.ect-app-page .wp-site-blocks > .wp-block-template-part:has(header),
body.ect-app-page #colophon,
body.ect-app-page #site-footer,
body.ect-app-page #footer,
body.ect-app-page footer.site-footer,
body.ect-app-page .site-footer,
body.ect-app-page .elementor-location-footer,
body.ect-app-page .wp-site-blocks > footer,
body.ect-app-page .wp-site-blocks > .wp-block-template-part:last-child,
body.ect-app-page .wp-site-blocks > .wp-block-template-part:has(footer),
body.ect-app-page .site-info,
body.ect-app-page .page-header,
body.ect-app-page .entry-header,
body.ect-app-page .page-title,
body.ect-app-page .entry-title,
body.ect-app-page .wp-block-post-title,
body.ect-app-page .elementor-widget-theme-post-title,
body.ect-app-page .ast-archive-description,
body.ect-app-page .page-title-wrap,
body.ect-app-page .site-page-title,
body.ect-app-page .title-bar {
  display: none !important;
}
/* Ajuste apenas do espaco deixado pelos titulos externos; o cabecalho azul do app permanece. */
body.ect-app-page .entry-content { margin-top: 0 !important; }
body.ect-app-page .ect-app { margin-top: 12px; margin-bottom: 12px; }

/* v1.0.0 - aba de gráficos */
.ect-graphs-panel{margin-top:18px}
.ect-graph-metrics{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:14px;margin:16px 0 22px}
.ect-graph-metric{background:#fff;border:1px solid #dfe7fb;border-radius:18px;padding:16px 18px;box-shadow:0 8px 24px rgba(5,94,232,.06)}
.ect-graph-metric small{display:block;color:#6a7a99;font-size:12px;margin-bottom:8px}
.ect-graph-metric strong{display:block;color:#0d377c;font-size:30px;line-height:1.05;margin-bottom:6px}
.ect-graph-metric span{display:block;color:#6a7a99;font-size:13px}
.ect-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.ect-chart-card{background:#fff;border:1px solid #dfe7fb;border-radius:22px;padding:20px;box-shadow:0 8px 24px rgba(5,94,232,.06)}
.ect-chart-card-wide{grid-column:1 / -1}
.ect-chart-card h4{margin:0 0 8px;color:#0b2c64;font-size:22px}
.ect-bar-chart{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.ect-bar-row small,.ect-progress-item small{display:block;color:#7484a7;font-size:12px;margin-top:6px}
.ect-bar-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:8px}
.ect-bar-head span{font-weight:600;color:#12336d}
.ect-bar-head b{color:#0d377c;font-size:15px;text-align:right}
.ect-bar-track,.ect-segment-track{width:100%;height:14px;background:#edf3ff;border-radius:999px;overflow:hidden}
.ect-bar-fill,.ect-segment{display:block;height:100%;border-radius:999px}
 .ect-bar-blue,.ect-segment-blue{background:linear-gradient(90deg,#055ee8,#4b8df6)}
 .ect-bar-green,.ect-segment-green{background:linear-gradient(90deg,#0fa968,#46c387)}
 .ect-bar-amber,.ect-segment-amber{background:linear-gradient(90deg,#f5a524,#f6c35b)}
 .ect-bar-purple,.ect-segment-purple{background:linear-gradient(90deg,#7b61ff,#a088ff)}
 .ect-bar-gray,.ect-segment-gray{background:linear-gradient(90deg,#9aa6c1,#c5cede)}
.ect-legend{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px;margin-top:14px}
.ect-legend-item{display:flex;flex-direction:column;gap:4px;border:1px solid #e7edf9;background:#f9fbff;border-radius:14px;padding:12px}
.ect-dot{display:inline-block;width:10px;height:10px;border-radius:50%;margin-right:7px;vertical-align:middle}
.ect-dot-blue{background:#055ee8}.ect-dot-green{background:#0fa968}.ect-dot-amber{background:#f5a524}.ect-dot-purple{background:#7b61ff}.ect-dot-gray{background:#9aa6c1}
.ect-legend-item b{color:#12336d}.ect-legend-item small{color:#6f7d98}
.ect-composition-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:16px;margin-top:14px}
.ect-composition-card{background:#f9fbff;border:1px solid #e5edff;border-radius:18px;padding:16px}
.ect-composition-card strong{display:block;margin-bottom:12px;color:#12336d;font-size:17px}
.ect-mini-list{list-style:none;padding:0;margin:12px 0 0;display:flex;flex-direction:column;gap:8px}
.ect-mini-list li{display:grid;grid-template-columns:auto 1fr auto;gap:8px;align-items:center;font-size:13px;color:#50607d}
.ect-progress-stack{display:flex;flex-direction:column;gap:14px;margin-top:14px}
.ect-graph-footnote{margin-top:18px}
@media (max-width: 900px){
  .ect-chart-grid{grid-template-columns:1fr}
  .ect-chart-card-wide{grid-column:auto}
}

/* Aviso de documento individual após leitura da folha */
.ect-payroll-scope-warning{margin:12px 0;padding:14px 16px;border:1px solid #f0d48d;background:#fff9eb;color:#684710;border-radius:12px;font-weight:600;line-height:1.5}

/* v1.0.2 — Simulação hipotética da folha, separada do lançamento confirmado */
.ect-payroll-hypothesis{margin:18px 0;padding:20px;border:1px solid #cbdcf9;border-radius:16px;background:#f4f8ff}
.ect-payroll-hypothesis h3{margin:4px 0 10px;color:#083c91}
.ect-payroll-hypothesis p{margin:10px 0;line-height:1.55}
.ect-payroll-rates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:16px 0}
.ect-payroll-rates label{display:flex;flex-direction:column;gap:5px;font-weight:600;color:#174179}
.ect-payroll-rates input{border:1px solid #c7d8f5;background:white;border-radius:9px;padding:11px;width:100%;box-sizing:border-box}
.ect-payroll-preview{padding:14px 16px;background:white;border:1px solid #c7d8f5;border-left:4px solid #055ee8;border-radius:12px;line-height:1.65;color:#0b377a;font-weight:500}
@media (max-width:700px){.ect-payroll-rates{grid-template-columns:1fr}}

/* v1.0.3 - resumo claro de decisão (não altera os cálculos) */
.ect-app .ect-easy-panel{padding:26px 28px;background:#f9fbff;border:1px solid #d7e5fa;border-radius:20px}
.ect-easy-panel>h3{font-size:27px!important;line-height:1.22;margin:8px 0 9px!important;color:#0b326d}
.ect-easy-intro{max-width:880px;color:#506783;font-size:15px;line-height:1.6}
.ect-app .ect-easy-verdict{margin:20px 0;padding:24px 26px;border:1px solid #c7dcfb;border-left:5px solid #055ee8;border-radius:17px;background:#fff;box-shadow:0 8px 28px rgba(5,94,232,.07)}
.ect-easy-status{display:inline-block;font-weight:700;font-size:12px;letter-spacing:.02em;color:#1553aa;background:#eaf2ff;border-radius:999px;padding:7px 11px;margin-bottom:12px}
.ect-easy-leader{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}
.ect-easy-leader small,.ect-easy-leader-amount small{font-size:12px;color:#60758f;display:block}
.ect-easy-leader h4{font-size:32px!important;color:#093c88!important;margin:5px 0 7px!important}
.ect-easy-leader p{color:#4b607c;line-height:1.57;max-width:660px;margin:0}
.ect-easy-leader-amount{text-align:right;background:#eef5ff;border-radius:13px;padding:17px 20px;min-width:210px}
.ect-easy-leader-amount strong{color:#0957cd;display:block;font-size:30px;line-height:1.2;margin:6px 0}
.ect-easy-leader-amount span{font-size:12px;color:#61768d}
.ect-easy-savings{font-size:14px;border-top:1px solid #e8effa;margin-top:17px;padding-top:14px;color:#305078}
.ect-easy-savings strong{color:#074da5}
.ect-easy-caution{background:#fff8ed;border:1px solid #f4dec0;color:#77551e;font-size:13px;padding:12px 15px;border-radius:11px;margin:16px 0 0!important;line-height:1.55}
.ect-easy-reasons{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.ect-easy-reasons article{padding:19px;background:#fff;border:1px solid #e0e8f6;border-radius:15px}
.ect-easy-step{display:inline-block;font-size:12px;letter-spacing:.05em;color:#0759bd;font-weight:800;margin-bottom:8px}
.ect-easy-reasons h4{font-size:17px!important;margin:0 0 8px!important;color:#174375}
.ect-easy-reasons p{font-size:13px;color:#4a5b72;line-height:1.58;margin:0 0 10px}
.ect-easy-reasons small{font-size:12px;color:#7c8392;line-height:1.5;display:block}
.ect-easy-reasons a{display:inline-block;color:#085ed9;font-size:13px;font-weight:700;text-decoration:none}
.ect-easy-comparison{margin-top:20px}
.ect-easy-regimes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px;margin-top:18px}
.ect-easy-regime{background:#fff;border:1px solid #dce6f3;border-radius:18px;padding:20px;display:flex;flex-direction:column;gap:12px;min-width:0}
.ect-easy-regime-leader{border:2px solid #5b98f2;background:#f8fbff}
.ect-easy-regime-top{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.ect-easy-regime-top h4{font-size:19px!important;margin:0!important;color:#104584}
.ect-easy-regime-tag{background:#e6f0ff;padding:6px 9px;color:#1356b4;border-radius:999px;font-size:11px;font-weight:700;text-align:right;line-height:1.3}
.ect-easy-regime-tag.is-muted{background:#eef2f7;color:#67778b}
.ect-easy-regime-money small,.ect-easy-buyer small{display:block;font-size:12px;color:#64758c;margin-bottom:6px}
.ect-easy-regime-money strong{font-size:27px;color:#0d4ca8;line-height:1.2}
.ect-easy-difference{color:#9b630f;font-size:12px;font-weight:700;margin:0}
.ect-easy-explanation{font-size:13px!important;line-height:1.62;color:#485b75;margin:0!important;flex:1}
.ect-easy-buyer{background:#f4f8ff;padding:13px;border-radius:12px}
.ect-easy-buyer strong{display:block;color:#155ba8;font-size:20px}
.ect-easy-details{border-top:1px solid #e7edf6;margin-top:4px;padding-top:12px}
.ect-easy-details summary{font-weight:700;color:#0659cd;cursor:pointer;font-size:13px;line-height:1.5;list-style:revert}
.ect-easy-detail-body{margin-top:14px;font-size:13px;line-height:1.6;color:#52627a}
.ect-easy-detail-body h5{color:#1c518e;font-size:14px;margin:12px 0 6px}
.ect-easy-detail-body ul{padding-left:19px;margin:7px 0}
.ect-easy-detail-body li{margin-bottom:5px}
.ect-easy-pendencies{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}
.ect-easy-pendencies>div{background:#f6f9fe;border:1px solid #e0e9f5;border-radius:14px;padding:16px}
.ect-easy-pendencies strong{color:#0a3f84}
.ect-easy-pendencies ul{color:#4f647c;padding-left:17px;line-height:1.5;font-size:13px;margin:8px 0 0}
.ect-easy-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:18px 0}
.ect-app a.ect-easy-action-primary,.ect-app a.ect-easy-action-secondary{display:inline-block;padding:11px 14px;text-decoration:none!important;font-size:13px;font-weight:700;border-radius:10px;border:1px solid #055ee8}
.ect-app a.ect-easy-action-primary{background:#055ee8;color:#fff!important}
.ect-app a.ect-easy-action-secondary{background:#fff;color:#0753b3!important}
.ect-easy-technical{border:1px solid #e2e9f4;border-radius:12px;padding:15px;margin-top:14px}
@media(max-width:900px){.ect-easy-reasons{grid-template-columns:1fr}.ect-easy-leader{grid-template-columns:1fr}.ect-easy-leader-amount{text-align:left;min-width:0}.ect-easy-regimes{grid-template-columns:1fr}}
@media(max-width:600px){.ect-app .ect-easy-panel{padding:16px}.ect-app .ect-easy-verdict{padding:17px}.ect-easy-pendencies{grid-template-columns:1fr}.ect-easy-regime-top{flex-wrap:wrap}.ect-easy-leader-amount strong{font-size:25px}}

/* Importação de cupons - v1.0.4, alinhada ao painel atual. */
.ect-receipt-panel{scroll-margin-top:24px}
.ect-receipt-form{display:flex;flex-wrap:wrap;align-items:end;gap:14px;margin:18px 0 8px}
.ect-receipt-form label{flex:1 1 180px;min-width:150px}
.ect-receipt-form label:last-of-type{flex:2 1 260px}
.ect-receipt-actions{display:flex;flex-wrap:wrap;gap:6px}
.ect-receipt-actions button{padding:8px 11px;font-size:12px;white-space:normal}
.ect-receipt-table td small{display:block;max-width:290px;overflow-wrap:anywhere;margin-top:4px}
.ect-receipt-table td details summary{font-size:12px;cursor:pointer}
#ect-receipt-status{min-height:26px;font-weight:600;margin:8px 0}
@media(max-width:650px){.ect-receipt-form{display:block}.ect-receipt-form label{display:block;margin-bottom:10px}.ect-receipt-actions{flex-direction:column}}

.ect-receipt-edit{min-width:230px;display:grid;gap:7px;margin-top:10px}
.ect-receipt-edit label{display:flex;flex-direction:column;font-size:12px;gap:4px}
.ect-receipt-edit input,.ect-receipt-edit textarea{max-width:280px;font-size:13px}
/* v1.0.5 - conferência automática de cupons e vinculação fiscal em lote */
.ect-receipt-overview{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:10px;margin:18px 0}
.ect-receipt-overview>div{border:1px solid #dce6f3;background:#f7faff;border-radius:10px;padding:12px;min-width:0}
.ect-receipt-overview small{display:block;color:#425878;font-size:11px;line-height:1.4}
.ect-receipt-overview strong{display:block;font-size:22px;color:#112c50;margin-top:6px;font-weight:800}
.ect-receipt-batch-box{border:1px solid #bdd6fc;border-radius:12px;padding:16px;background:#f5f9ff;display:flex;gap:20px;align-items:center;justify-content:space-between;margin:15px 0}
.ect-receipt-batch-box h4{margin:0 0 6px;color:#0b397c;font-size:16px}
.ect-receipt-batch-box p{margin:0;color:#395576;font-size:13px;line-height:1.55}
.ect-receipt-batch-box button{flex-shrink:0;max-width:260px}
.ect-receipt-batch-box button:disabled{opacity:.5;cursor:not-allowed}
#ect-receipt-batch-status{margin:10px 0;white-space:pre-line;font-size:13px}
@media(max-width:760px){.ect-receipt-batch-box{flex-direction:column;align-items:stretch}.ect-receipt-batch-box button{max-width:none;width:100%}}

/* v1.0.6 – ação destrutiva com confirmação dupla e prévia do escopo */
.ect-receipt-reset-box{display:flex;align-items:center;justify-content:space-between;gap:20px;border:1px solid #f0cece;background:#fffafa;border-radius:12px;padding:16px;margin:15px 0}
.ect-receipt-reset-box h4{margin:0 0 6px;font-size:16px;color:#842727}
.ect-receipt-reset-box p{font-size:13px;line-height:1.5;margin:0;color:#634646}
.ect-receipt-reset-box button.ect-receipt-reset-button{background:#a32c2c;border-color:#a32c2c;color:white;flex-shrink:0;max-width:270px}
.ect-receipt-reset-box button.ect-receipt-reset-button:hover{background:#852121}
.ect-receipt-reset-box button:disabled{opacity:.5;cursor:not-allowed}
#ect-receipt-reset-status{white-space:pre-line;margin:10px 0;font-size:13px}
@media(max-width:760px){.ect-receipt-reset-box{flex-direction:column;align-items:stretch}.ect-receipt-reset-box button{width:100%;max-width:none!important}}


/* v1.0.7 - explicacoes dos dois modos de aliquota do Simples hibrido (somente interface) */
.ect-app .ect-rate-intro{margin:10px 0 15px;padding:13px 16px;border:1px solid #d7e3f4;background:#f7faff;border-radius:11px;font-size:14px;line-height:1.6;color:#253a55}
.ect-app .ect-rate-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 18px}
.ect-app .ect-rate-choice{border:1px solid #d5dfec;border-radius:13px;padding:14px 15px;background:#fff;color:#2a405c;line-height:1.45;min-width:0}
.ect-app .ect-rate-choice b{font-size:14px;color:#142f58}
.ect-app .ect-rate-choice p{margin:8px 0;font-size:13px;line-height:1.55}
.ect-app .ect-rate-choice small{display:block;font-size:12px;color:#596d86;line-height:1.5}
.ect-app .ect-rate-choice.is-selected{border:2px solid #055ee8;background:#f2f7ff;padding:13px 14px}
.ect-app .ect-rate-inline-help{grid-column:1/-1;margin:-4px 0 0;padding:11px 13px;background:#f0f6ff;border-left:3px solid #055ee8;border-radius:6px;font-size:13px;line-height:1.55;color:#1d446e}
.ect-app .ect-rate-icms-note{grid-column:1/-1;margin:0;color:#596b7b;font-size:12px;line-height:1.55}
.ect-app .ect-rate-independence{margin:13px 0 2px;padding:11px 13px;border-radius:10px;background:#f7f9fc;color:#4b5d74;font-size:12px;line-height:1.6}
@media(max-width:650px){.ect-app .ect-rate-choices{grid-template-columns:1fr}}

/* 1.0.8 - conferência da folha com duas vias de holerite */
.ect-payroll-batch-details{margin:12px 0;padding:12px 14px;border-radius:10px;border:1px solid #bad2f5;background:#f2f7ff;color:#173761;font-weight:600;line-height:1.5}

/* v1.0.12 — encargos patronais visíveis, sem alterar a apuração dos tributos */
.ect-real-patronal{border:1px solid #c5ddfb;background:#f5f9ff;border-radius:14px;margin:15px 0;padding:17px 19px}
.ect-real-patronal h3{margin:0 0 13px!important;color:#104584!important;font-size:17px!important}
.ect-real-patronal-row,.ect-real-patronal-result{display:flex;justify-content:space-between;align-items:baseline;gap:12px;padding:8px 0;font-size:14px;color:#35516e}
.ect-real-patronal-row strong{white-space:nowrap;color:#084c9e}
.ect-real-patronal-row small{font-size:11px;color:#6c7d92}
.ect-real-patronal-result{border-top:1px solid #ccdef5;padding-top:12px;color:#083c91;font-weight:700}
.ect-real-patronal-result strong{font-size:23px;white-space:nowrap}
.ect-real-patronal p{margin:12px 0 0;font-size:12px;line-height:1.5;color:#516780}
.ect-patronal-breakdown{padding:11px 13px;border:1px solid #cfdef1;border-radius:12px;background:#f4f8ff}
.ect-patronal-breakdown>div{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding:5px 0;color:#345371;font-size:12px}
.ect-patronal-breakdown strong{color:#0b4d9d;white-space:nowrap}
.ect-patronal-breakdown>div+div{border-top:1px solid #dde8f5;font-weight:700}
.ect-patronal-breakdown small{display:block;font-size:11px;color:#617287;line-height:1.5;margin-top:6px}
@media(max-width:600px){.ect-real-patronal-row,.ect-real-patronal-result,.ect-patronal-breakdown>div{flex-wrap:wrap}}

/* v1.0.13 — explicitar IRPJ/CSLL mensais já contidos no Lucro Real */
.ect-real-income-tax{border:1px solid #b8d3f5;background:#f4f8ff;border-radius:14px;margin:16px 0;padding:17px 19px}
.ect-real-income-tax h3{font-size:17px!important;color:#104584!important;margin:0 0 7px!important}
.ect-real-income-tax p{font-size:12px;color:#516780;line-height:1.5;margin:7px 0 10px}
.ect-monthly-income-details{background:#f4f8ff;border:1px solid #cfdef1;border-radius:12px;margin:10px 0;padding:10px 12px}
.ect-monthly-income-details>strong{color:#0a468d;display:block;font-size:12px;margin-bottom:6px}
.ect-monthly-income-details>div{display:flex;align-items:baseline;justify-content:space-between;gap:10px;padding:4px 0;color:#345371;font-size:12px}
.ect-monthly-income-details>div b{color:#0b4d9d;white-space:nowrap}
.ect-monthly-income-details small{display:block;color:#667990;font-size:11px;line-height:1.5;margin-top:6px}
@media(max-width:600px){.ect-monthly-income-details>div{flex-wrap:wrap}}

/* v1.0.15: cenário de pendência FCP — conserva os dados fiscais sem qualificá-los como isentos. */
.ect-fcp-scenario-panel{margin-top:16px}
.ect-fcp-scenario-check{display:flex;align-items:center;gap:10px;padding:13px 15px;border:1px solid var(--ect-line,#cbd5e1);border-radius:10px;background:rgba(5,94,232,.04);cursor:pointer}
.ect-fcp-scenario-check input[type=checkbox]{width:18px;height:18px;flex-shrink:0;accent-color:#055ee8}
.ect-fcp-scenario-panel form button{margin-top:12px}
.ect-fcp-scenario-active{padding:12px 15px;border-left:3px solid #055ee8;border-radius:6px;background:rgba(5,94,232,.06);line-height:1.5}
