:root{--res-ink:#17324d;--res-muted:#6b7f93;--res-border:#dce6ef;--res-soft:#f5f9fc;--res-accent:#b42318;--res-blue:#1769aa;--res-green:#13795b}
body.rescisao-page{background:linear-gradient(to bottom,rgba(155,121,63,.11) 1px,transparent 1px) 0 0 / 100% 32px,#f7f2e8;color:var(--res-ink);font-family:Inter,system-ui,sans-serif;padding-bottom:104px}.rescisao-shell{padding-top:92px;max-width:1780px;margin:0 auto}.rescisao-hero{display:flex;align-items:flex-end;justify-content:space-between;gap:1rem;margin:0 0 1rem;padding:1rem 1.15rem;border:1px solid #d7e4ee;border-radius:22px;background:linear-gradient(135deg,#fff,#f7fbfe);box-shadow:0 12px 34px rgba(28,66,97,.08)}.rescisao-hero h1{font:800 clamp(1.35rem,2vw,2rem) Nunito,sans-serif;margin:.15rem 0;color:#193a59}.rescisao-hero p{margin:0;max-width:820px;color:var(--res-muted);font-size:.84rem}.section-kicker{display:inline-flex;align-items:center;gap:.35rem;font-size:.64rem;font-weight:900;letter-spacing:.11em;color:#3779ad}.section-kicker .material-icons-round{font-size:16px!important}.hero-summary{display:grid;grid-template-columns:repeat(3,minmax(145px,1fr));gap:.55rem;min-width:min(560px,48vw)}.hero-summary span{padding:.7rem .8rem;border-radius:14px;background:#fff;border:1px solid var(--res-border);font-size:.65rem;color:var(--res-muted)}.hero-summary strong{display:block;margin-top:.15rem;color:var(--res-ink);font-size:.84rem}.rescisao-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(500px,.9fr);gap:1rem;align-items:start}.rescisao-inputs{display:grid;gap:.85rem}.rescisao-card{border:1px solid var(--res-border)!important;border-radius:18px!important;background:#fff;overflow:hidden;box-shadow:0 8px 28px rgba(32,62,85,.06)}.rescisao-card>.module-header{display:flex;align-items:center;gap:.7rem;padding:.85rem 1rem;cursor:pointer;background:#fff}.rescisao-card>.module-header>span:last-child{display:grid}.rescisao-card>.module-header strong{font-size:.82rem}.rescisao-card>.module-header small{font-size:.64rem;color:var(--res-muted)}.rescisao-card-body{padding:.85rem 1rem 1rem;border-top:1px solid #edf2f6}.form-grid{display:grid;gap:.7rem}.form-grid--4{grid-template-columns:repeat(4,minmax(0,1fr))}.form-grid label,.averages-grid label{display:grid;gap:.3rem}.form-grid label>span,.averages-grid label>span{font-size:.67rem;font-weight:800;color:#466079}.span-2{grid-column:span 2}.form-control,.form-select,.averages-grid input,.money-field input{min-height:39px!important;border:1px solid #cddbe6!important;border-radius:11px!important;font-size:.76rem!important;color:#233d56!important;background:#fff!important}.form-control:focus,.form-select:focus,.averages-grid input:focus,.money-field input:focus{border-color:#6aa7d4!important;box-shadow:0 0 0 3px rgba(37,118,177,.11)!important}.money-field{display:flex;align-items:center;border:1px solid #cddbe6;border-radius:11px;overflow:hidden;background:#fff}.money-field>span{padding:0 .55rem;font-size:.7rem;font-weight:800;color:#668097}.money-field input{border:0!important;border-radius:0!important;text-align:right;font-variant-numeric:tabular-nums}.money-field:focus-within{border-color:#6aa7d4;box-shadow:0 0 0 3px rgba(37,118,177,.11)}.money-field:focus-within input{box-shadow:none!important}.info-box{display:flex;align-items:center;gap:.5rem;padding:.6rem .7rem;border-radius:12px;background:#eef7ff;color:#315c80;font-size:.66rem;grid-column:span 2}.info-box .material-icons-round{font-size:19px!important}.info-box--soft{margin-top:.7rem;grid-column:auto;background:#f7fafc}.remuneration-card{display:grid;align-content:center;padding:.55rem .7rem;border:1px solid #d5e6dc;border-radius:12px;background:#f5fbf7}.remuneration-card small{font-size:.58rem;text-transform:uppercase;letter-spacing:.08em;color:#66806f;font-weight:900}.remuneration-card strong{font-size:.92rem;color:#116b4d}.remuneration-card span{font-size:.59rem;color:#72867a}.subsection-head{display:flex;align-items:center;justify-content:space-between;gap:.8rem;margin:.95rem 0 .55rem}.subsection-head>div{display:grid}.subsection-head strong{font-size:.72rem}.subsection-head small{font-size:.61rem;color:var(--res-muted)}.subsection-head .btn{display:inline-flex;align-items:center;gap:.25rem;font-size:.65rem}.subsection-head .material-icons-round{font-size:17px!important}.dynamic-list{display:grid;gap:.5rem}.dynamic-row{display:grid;grid-template-columns:minmax(110px,.65fr) minmax(190px,1.5fr) minmax(120px,.7fr) auto;gap:.5rem;align-items:center;padding:.55rem;border:1px solid #e1e9f0;border-radius:13px;background:#fbfdff}.dynamic-row--vacation{grid-template-columns:1fr 1fr .6fr .8fr auto}.dynamic-row--adjustment{grid-template-columns:.65fr 1.4fr .75fr auto}.dynamic-row input,.dynamic-row select{min-height:36px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;padding:.35rem .5rem;font-size:.69rem}.dynamic-row .btn{width:36px;height:36px;display:grid;place-items:center;border-radius:9px}.dynamic-row .material-icons-round{font-size:17px!important}.vacation-double{display:flex!important;align-items:center;gap:.35rem;font-size:.64rem;font-weight:700;color:#5d7287}.vacation-double input{min-height:0;width:16px;height:16px}.averages-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem}.averages-grid .money-field input{width:100%;padding:.4rem .55rem}.split-adjustments{display:grid;grid-template-columns:1fr 1fr;gap:1rem}.rescisao-results{min-width:0}.result-card{background:#fff;border:1px solid var(--res-border);border-radius:20px;box-shadow:0 14px 36px rgba(31,61,84,.09);overflow:hidden}.result-card--sticky{position:sticky;top:88px}.result-card-head{display:flex;align-items:center;justify-content:space-between;padding:.9rem 1rem;border-bottom:1px solid #e9eff4}.result-card-head h2{font:800 1.05rem Nunito,sans-serif;margin:.1rem 0 0}.result-status{font-size:.6rem;font-weight:850;padding:.35rem .55rem;border-radius:999px;background:#eef3f7;color:#647789}.result-status.is-ready{background:#e8f7ef;color:#166143}.totals-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:.45rem;padding:.75rem}.totals-grid>div{padding:.65rem;border-radius:13px;background:#f6f9fb;border:1px solid #e6edf2}.totals-grid small{display:block;font-size:.57rem;color:#718497;font-weight:800}.totals-grid strong{font-size:.8rem}.totals-grid .is-net{background:#edf9f2;border-color:#d0eadb}.totals-grid .is-net strong{color:#0d6a48}.result-table-wrap{max-height:52vh}.result-table{font-size:.65rem;margin:0}.result-table thead th{position:sticky;top:0;background:#f5f8fa;color:#536b80;font-size:.57rem;text-transform:uppercase;letter-spacing:.04em;z-index:2}.result-table td,.result-table th{padding:.5rem .45rem;vertical-align:middle;border-color:#edf2f5}.result-table tbody tr:nth-child(even){background:#fbfdfe}.result-table .money-positive{font-weight:800;color:#176346}.result-table .money-negative{font-weight:800;color:#a12a22}.result-table .memory-only{color:#7d669b}.memory-btn{width:30px;height:30px;display:grid;place-items:center;border:0;background:#eef5fb;border-radius:8px;color:#26648f}.memory-btn .material-icons-round{font-size:16px!important}.empty-state{text-align:center!important;color:#8292a1!important;padding:1.4rem!important}.memory-panel{display:flex;gap:.6rem;padding:.75rem 1rem;border-top:1px solid #e9eff4;background:#fafcfd}.memory-panel>.material-icons-round{color:#4b7da4}.memory-panel strong{font-size:.67rem}.memory-panel p{margin:.1rem 0 0;font-size:.6rem;color:#76899b}.memory-dialog{position:fixed;inset:0;z-index:2000;display:grid;place-items:center}.memory-dialog[hidden]{display:none}.memory-dialog-backdrop{position:absolute;inset:0;border:0;background:rgba(14,31,47,.52)}.memory-dialog-card{position:relative;width:min(680px,calc(100vw - 2rem));max-height:80vh;overflow:auto;border-radius:20px;background:#fff;box-shadow:0 30px 90px rgba(0,0,0,.25)}.memory-dialog-card header{display:flex;justify-content:space-between;align-items:center;padding:1rem;border-bottom:1px solid #e8eef3}.memory-dialog-card h2{margin:.1rem 0 0;font:800 1.05rem Nunito,sans-serif}.memory-dialog-card #memory-content{padding:1rem;font-size:.76rem;line-height:1.65;color:#3f566b}.memory-dialog-card .memory-formula{padding:.8rem;border-radius:12px;background:#f5f9fc;border:1px solid #dfebf3;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.btn .material-icons-round{vertical-align:middle}@media(max-width:1180px){.rescisao-layout{grid-template-columns:1fr}.result-card--sticky{position:static}.hero-summary{min-width:0}.form-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))}.rescisao-results{order:-1}.result-table-wrap{max-height:none}}@media(max-width:720px){body.rescisao-page{padding-bottom:92px}.rescisao-shell{padding-top:82px}.rescisao-hero{display:grid}.hero-summary{grid-template-columns:1fr}.form-grid--4,.averages-grid,.split-adjustments{grid-template-columns:1fr}.span-2,.info-box{grid-column:auto}.dynamic-row,.dynamic-row--vacation,.dynamic-row--adjustment{grid-template-columns:1fr}.dynamic-row .btn{justify-self:end}.totals-grid{grid-template-columns:1fr 1fr}.result-table{min-width:720px}}
@media print{.appbar,.mode-bottom-nav,.rescisao-inputs,.rescisao-hero .hero-summary,.result-status,.memory-btn,.memory-panel{display:none!important}.rescisao-shell{padding-top:0!important}.rescisao-layout{display:block}.rescisao-results{width:100%}.result-card{box-shadow:none;border:0}.result-table-wrap{max-height:none;overflow:visible}.result-table{font-size:8.5pt}.totals-grid{break-inside:avoid}body{background:#fff!important}}

/* v4.8.18-r47 — refinamentos do Módulo 7 */
.rescisao-hero{align-items:stretch;min-width:0;overflow:hidden}
.rescisao-hero>div:first-child{min-width:0;flex:1 1 auto}
.hero-summary{width:min(100%,560px);min-width:0;max-width:560px;align-self:center;flex:0 1 560px}
.hero-summary span{min-width:0;overflow:hidden}
.hero-summary strong{min-width:0;overflow-wrap:anywhere;word-break:break-word}
.rescisao-layout,.rescisao-inputs,.rescisao-results,.result-card{min-width:0}

.form-field{display:grid;gap:.3rem;min-width:0}
.field-label-row{display:flex;align-items:center;gap:.35rem;min-height:22px}
.field-label-row>label{font-size:.67rem;font-weight:800;color:#466079;margin:0}
.field-help{display:block;margin-top:.25rem;color:#718398;font-size:.58rem;line-height:1.4}
.inline-info-btn,.example-info-btn{border:0;background:transparent;color:#2d71b4;width:26px;height:26px;border-radius:50%;display:inline-grid;place-items:center;padding:0;transition:.16s ease}
.inline-info-btn:hover,.inline-info-btn:focus-visible,.example-info-btn:hover,.example-info-btn:focus-visible{background:#eaf4fc;color:#0b5b97;outline:0;box-shadow:0 0 0 3px rgba(45,113,180,.12)}
.inline-info-btn .material-icons-round,.example-info-btn .material-icons-round{font-size:18px!important}

/* O primeiro grupo do select recebe destaque visual; navegadores podem variar na renderização de option/optgroup. */
.dynamic-row select optgroup.fixed-catalog-group{color:#0f6b53;font-weight:800;background:#effaf5}
.dynamic-row select option.fixed-catalog-option{color:#0f6b53;font-weight:700;background:#f5fcf8}
.catalog-code-field{position:relative;min-width:0}
.catalog-code-field>input{width:100%;padding-right:30px}
.catalog-hit-icon{position:absolute;right:8px;top:50%;transform:translateY(-50%);font-size:16px!important;color:#16805f;opacity:0;pointer-events:none;transition:.15s ease}
.catalog-code-field:has(.catalog-code-hit) .catalog-hit-icon{opacity:1}
.catalog-code-hit,.catalog-description-hit{border-color:#72b99f!important;background:#f3fbf7!important}

.deduction-preset-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.45rem;margin:0 0 .55rem;align-items:center}
.deduction-preset-bar .btn{display:inline-flex;align-items:center;gap:.25rem;white-space:nowrap;font-size:.64rem}
.deduction-preset-bar .material-icons-round{font-size:17px!important}

.rescisao-export-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
.rescisao-example-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}
.rescisao-example-card{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-areas:"icon copy" "action action";gap:.65rem .75rem;align-items:start;padding:.85rem;border:1px solid #dce7f0;border-radius:16px;background:#fbfdff;box-shadow:0 5px 18px rgba(24,56,82,.05)}
.example-card-icon{grid-area:icon;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:#eef5fb;color:#2d71b4}
.example-card-icon .material-icons-round{font-size:22px!important}
.example-card-copy{grid-area:copy;min-width:0}
.example-title-row{display:flex;align-items:flex-start;gap:.25rem;justify-content:space-between}
.example-title-row h3{font:800 .82rem Nunito,sans-serif;color:#183a59;margin:0;line-height:1.25}
.example-badge{display:inline-flex;margin-top:.25rem;padding:.18rem .45rem;border-radius:999px;background:#eef6ff;color:#2d6592;font-size:.56rem;font-weight:800}
.example-card-copy p{margin:.42rem 0 0;color:#60758a;font-size:.64rem;line-height:1.46}
.example-load-btn{grid-area:action;justify-self:stretch;display:flex!important;justify-content:center;align-items:center;gap:.25rem;font-size:.64rem!important}
.example-load-btn .material-icons-round{font-size:17px!important}

.reason-info-lead{padding:.8rem .9rem;border-radius:14px;background:#eef6fc;border:1px solid #d5e6f3;color:#31546f;font-size:.76rem;line-height:1.55;margin-bottom:.75rem}
.reason-info-grid{display:grid;grid-template-columns:1fr 1fr;gap:.65rem}
.reason-info-grid section{display:flex;gap:.6rem;padding:.75rem;border:1px solid #dfe8ef;border-radius:14px;background:#fff}
.reason-info-grid section>.material-icons-round{font-size:21px!important;margin-top:.05rem;flex:0 0 auto}
.reason-info-grid strong{display:block;font-size:.7rem;color:#213e58;margin-bottom:.2rem}
.reason-info-grid p{margin:0;font-size:.64rem;color:#60758a;line-height:1.52}
.reason-info-grid .reason-info-attention{grid-column:1/-1;background:#fffaf3;border-color:#f2dfbc}
.reason-basis{margin-top:.7rem;padding:.65rem .75rem;border-radius:12px;background:#f7f9fb;color:#5d7184;font-size:.62rem;line-height:1.5}

.rescisao-card>summary::after{content:"expand_more";font-family:"Material Icons Round";margin-left:auto;color:#6d8092;font-size:20px;transition:transform .18s ease}
.rescisao-card[open]>summary::after{transform:rotate(180deg)}

@media(max-width:1280px){
  .rescisao-hero{display:grid}
  .hero-summary{width:100%;max-width:none;grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:900px){
  .rescisao-example-grid,.reason-info-grid{grid-template-columns:1fr}
  .reason-info-grid .reason-info-attention{grid-column:auto}
  .rescisao-export-grid{grid-template-columns:1fr!important}
}
@media(max-width:720px){
  .hero-summary{grid-template-columns:1fr!important}
  .deduction-preset-bar{grid-template-columns:1fr}
  .deduction-preset-bar .btn{justify-content:center}
}

/* v4.8.18-r48 — alinhamentos visuais, exportação e memória didática */
.rescisao-card>.module-header{display:flex;align-items:center;gap:.75rem}
.rescisao-card>.module-header>span:last-child{order:1;flex:1 1 auto;min-width:0}
.rescisao-card>.module-header>.material-icons-round:first-child{order:2;margin-left:auto;color:#53718d}
.rescisao-card>summary::after{margin-left:.15rem}

.appbar-icon-actions .appbar-icon-btn{padding:0!important;display:inline-grid!important;place-items:center!important;line-height:1!important;overflow:hidden}
.appbar-icon-actions .appbar-icon-btn .material-icons-round{display:block;line-height:1}

.quick-export-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.quick-export-choice{min-height:120px;display:flex;align-items:flex-start;gap:12px;padding:15px;border:1px solid #d8e2eb;border-radius:15px;background:#fff;text-align:left;transition:.15s ease}
.quick-export-choice:hover,.quick-export-choice:focus-visible{transform:translateY(-1px);border-color:#9ebbd2;box-shadow:0 8px 20px rgba(15,23,42,.07);outline:0}
.quick-export-choice>.material-icons-round{font-size:30px!important;flex:0 0 auto;margin-top:2px}
.quick-export-choice>div{display:block;min-width:0}
.quick-export-choice strong,.quick-export-choice small{display:block}
.quick-export-choice strong{color:#183d59;font-size:.9rem;line-height:1.25}
.quick-export-choice small{margin-top:4px;color:#6b7d8e;font-size:.69rem;line-height:1.45}

.result-table thead th:last-child,.result-table tbody td:last-child{width:58px}
.result-table .memory-btn{width:30px;height:30px;display:inline-grid;place-items:center;border:0;background:#eef5fb;border-radius:8px;color:#26648f}
.result-table .memory-btn:hover,.result-table .memory-btn:focus-visible{background:#dfeef9;color:#114e7b;outline:0;box-shadow:0 0 0 3px rgba(38,100,143,.12)}
.result-table .memory-btn .material-icons-round{font-size:17px!important}

.memory-content-stack{display:grid;gap:.8rem}
.memory-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.memory-info-card{padding:.78rem .85rem;border-radius:13px;background:#f8fbfd;border:1px solid #dde8f1}
.memory-info-card strong{display:block;font-size:.68rem;color:#21405e;margin-bottom:.22rem}
.memory-info-card p{margin:0;font-size:.67rem;color:#61788f;line-height:1.55}
.memory-info-card.is-full{grid-column:1/-1}
.memory-info-card.is-attention{background:#fffaf2;border-color:#f2dfbf}
.memory-dialog-card #memory-content .memory-formula{white-space:pre-wrap}

@media(max-width:900px){
  .memory-info-grid,.quick-export-choice-grid{grid-template-columns:1fr}
}

/* Hotfix — alinhamento integral dos ícones dos expanders */
.rescisao-card>.module-header{display:flex!important;align-items:center!important;gap:.65rem!important}
.rescisao-card>.module-header>span:last-of-type{order:0!important;flex:1 1 auto!important;min-width:0!important}
.rescisao-card>.module-header>.material-icons-round:first-child{order:1!important;margin-left:auto!important;flex:0 0 auto!important}
.rescisao-card>.module-header>.shell-expander-header-actions,
.rescisao-card>.module-header>.module-header-actions.shell-expander-header-actions{order:2!important;margin-left:0!important;flex:0 0 auto!important}
.rescisao-card>summary::after{order:3!important;margin-left:0!important;flex:0 0 auto!important}

/* Exemplos: ícones livres, sem minicards de fundo, e com cor por modalidade */
.rescisao-example-card{grid-template-columns:28px minmax(0,1fr)!important;grid-template-areas:"icon copy" "action action"!important}
.example-card-icon{grid-area:icon!important;width:auto!important;height:auto!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;display:block!important;place-items:unset!important;font-size:26px!important;line-height:1!important;margin-top:2px!important}
.example-card-icon--sem_justa_causa{color:#2563eb!important}
.example-card-icon--pedido_demissao{color:#f97316!important}
.example-card-icon--justa_causa{color:#dc2626!important}
.example-card-icon--acordo_mutuo{color:#7c3aed!important}
.example-card-icon--termino_prazo{color:#059669!important}
.example-card-icon--antecipada_empregador{color:#ea580c!important}
.example-card-icon--antecipada_empregado{color:#0f766e!important}
.example-card-icon--compulsoria_75{color:#4f46e5!important}
.example-info-btn--sem_justa_causa{color:#2563eb!important}
.example-info-btn--pedido_demissao{color:#f97316!important}
.example-info-btn--justa_causa{color:#dc2626!important}
.example-info-btn--acordo_mutuo{color:#7c3aed!important}
.example-info-btn--termino_prazo{color:#059669!important}
.example-info-btn--antecipada_empregador{color:#ea580c!important}
.example-info-btn--antecipada_empregado{color:#0f766e!important}
.example-info-btn--compulsoria_75{color:#4f46e5!important}

/* v4.8.18-r48 — cabeçalhos dos expanders: ações e ícone do módulo no mesmo grupo à direita */
.rescisao-card>.module-header{display:flex!important;align-items:center!important;gap:.75rem!important}
.rescisao-card>.module-header>.module-header-copy{display:grid!important;flex:1 1 auto!important;min-width:0!important;order:0!important}
.rescisao-card>.module-header>.module-header-actions{display:inline-flex!important;align-items:center!important;gap:8px!important;margin-left:auto!important;flex:0 0 auto!important;order:1!important}
.rescisao-card>.module-header>.module-header-actions .module-section-icon{width:31px;height:31px;display:inline-grid;place-items:center;border-radius:9px;background:#fff;border:1px solid #dbe6ee;box-shadow:0 2px 8px rgba(17,49,76,.04);font-size:18px!important}
.rescisao-card>.module-header>.module-header-actions .chevron{width:24px;height:31px;display:inline-grid;place-items:center;color:#5e7890;font-size:20px!important;transition:transform .18s ease}
.rescisao-card[open]>.module-header>.module-header-actions .chevron{transform:rotate(180deg)}
.rescisao-card>summary::after{display:none!important;content:none!important}
.rescisao-card>.module-header>.material-icons-round:first-child{margin-left:0!important}

/* v4.8.18-r48 — exemplos: sem ícones decorativos internos; apenas ações funcionais coloridas */
.rescisao-example-card{grid-template-columns:1fr!important;grid-template-areas:"copy" "action"!important}
.example-card-icon{display:none!important}
.rescisao-example-card .example-info-btn,.rescisao-example-card .example-load-btn .material-icons-round{color:var(--example-tone,#2563eb)!important}
.rescisao-example-card .example-badge{color:var(--example-tone,#2563eb)!important;background:color-mix(in srgb,var(--example-tone,#2563eb) 10%,white)!important}
.rescisao-example-card .example-load-btn{border-color:color-mix(in srgb,var(--example-tone,#2563eb) 72%,white)!important;color:var(--example-tone,#2563eb)!important}
.rescisao-example-card .example-load-btn:hover,.rescisao-example-card .example-load-btn:focus-visible{background:color-mix(in srgb,var(--example-tone,#2563eb) 7%,white)!important}
.example-tone-1{--example-tone:#2563eb}.example-tone-2{--example-tone:#7c3aed}.example-tone-3{--example-tone:#dc2626}.example-tone-4{--example-tone:#0891b2}.example-tone-5{--example-tone:#059669}.example-tone-6{--example-tone:#ea580c}.example-tone-7{--example-tone:#b45309}.example-tone-8{--example-tone:#4f46e5}
.rescisao-card .module-header-actions .shell-expander-action--clear{order:1}
.rescisao-card .module-header-actions .shell-expander-action--copy{order:2}
.rescisao-card .module-header-actions .shell-expander-action--download{order:3}
.rescisao-card .module-header-actions .module-section-icon{order:4}
.rescisao-card .module-header-actions .chevron{order:5}

/* v4.8.18-r49 — férias parciais, edição bidirecional e sincronização do catálogo */
.dynamic-row--fixed{grid-template-columns:minmax(120px,.6fr) minmax(240px,1.5fr) minmax(150px,.65fr) auto}
.dynamic-row--adjustment{grid-template-columns:minmax(110px,.6fr) minmax(240px,1.55fr) minmax(150px,.7fr) auto}
.dynamic-row--adjustment .money-field,.dynamic-row--fixed .money-field{min-width:145px;width:100%}
.dynamic-row--adjustment .money-field input,.dynamic-row--fixed .money-field input{width:100%;min-width:92px;color:#233d56!important;background:#fff!important;opacity:1!important}
.dynamic-row--vacation{grid-template-columns:minmax(145px,1fr) minmax(145px,1fr) minmax(90px,.55fr) minmax(105px,.58fr) minmax(105px,.58fr) minmax(105px,.7fr) auto;align-items:end}
.vac-field{display:grid!important;gap:.22rem;min-width:0}
.vac-field>span{font-size:.57rem;font-weight:800;color:#61788f;text-transform:uppercase;letter-spacing:.035em}
.vac-field>small{font-size:.53rem;color:#6c8397;line-height:1.15;min-height:.65rem}
.vac-field input[readonly]{background:#f1f6f9!important;color:#35536d!important;font-weight:800}
.vacation-double{min-height:36px;padding:.25rem .4rem;border:1px solid #e0e8ef;border-radius:9px;background:#f8fbfd;white-space:nowrap}

.thirteenth-paid-panel{margin-bottom:.9rem;padding:.75rem;border:1px solid #dce7ef;border-radius:14px;background:#fbfdff}
.thirteenth-paid-panel .subsection-head{margin:0 0 .55rem}
.thirteenth-paid-grid{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(180px,.8fr);gap:.65rem}
.thirteenth-paid-grid label{display:grid;gap:.3rem}
.thirteenth-paid-grid label>span{font-size:.64rem;font-weight:800;color:#466079}

.result-overrides-panel{margin-bottom:.9rem;padding:.75rem;border:1px solid #e4dcfb;border-radius:14px;background:#fcfaff}
.result-overrides-panel[hidden]{display:none!important}
.result-overrides-panel .subsection-head{margin:0 0 .55rem}
.result-override-row{grid-template-columns:minmax(210px,1.35fr) minmax(120px,.55fr) minmax(160px,.65fr) auto;border-color:#ded4f8;background:#fff}
.override-copy{display:grid;min-width:0}
.override-copy strong{font-size:.66rem;color:#443178}
.override-copy small{font-size:.58rem;color:#756b91;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.override-original{display:grid}
.override-original span{font-size:.52rem;text-transform:uppercase;letter-spacing:.05em;color:#7b7193;font-weight:800}
.override-original strong{font-size:.68rem;color:#5e5474}

.result-money-editor{display:inline-flex;align-items:center;justify-content:flex-end;min-width:112px;border:1px solid transparent;border-radius:8px;background:transparent;overflow:hidden;transition:.15s ease}
.result-money-editor:hover,.result-money-editor:focus-within{border-color:#b8cee0;background:#fff;box-shadow:0 0 0 3px rgba(45,113,180,.08)}
.result-money-editor.is-overridden{border-color:#a68aea;background:#fbf9ff}
.result-money-editor>span{padding-left:.35rem;font-size:.58rem;font-weight:850;color:#668097}
.result-money-editor input{width:86px;min-width:0;border:0!important;background:transparent!important;text-align:right!important;font-size:.64rem!important;font-weight:800!important;padding:.3rem .35rem!important;outline:0!important;box-shadow:none!important;color:inherit!important}
.money-positive .result-money-editor input{color:#176346!important}
.money-negative .result-money-editor input{color:#a12a22!important}
.memory-only .result-money-editor input{color:#72518f!important}

@media(max-width:1360px){
  .dynamic-row--vacation{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dynamic-row--vacation .btn{justify-self:end}
}
@media(max-width:900px){
  .thirteenth-paid-grid{grid-template-columns:1fr}
  .result-override-row{grid-template-columns:1fr}
}

/* v4.8.18-r50 — férias compactas e faltas/DSR automáticos */
.dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(210px,1.3fr) minmax(150px,.75fr) minmax(150px,.8fr) minmax(150px,.8fr) auto;gap:.65rem;align-items:stretch;padding:.7rem}
.vac-field{display:grid;gap:.28rem;min-width:0}
.vac-field>span{font-size:.58rem;font-weight:850;color:#536c82;text-transform:uppercase;letter-spacing:.03em}
.vac-field>small{font-size:.56rem;color:#71879b;line-height:1.25}
.vac-field input{width:100%;min-width:0}
.vacation-param-button{min-width:0;display:flex;align-items:center;gap:.55rem;padding:.48rem .6rem;border:1px solid #d6e3ed;border-radius:10px;background:#f9fcfe;color:#274c69;text-align:left;transition:.16s ease}
.vacation-param-button:hover,.vacation-param-button:focus-visible{border-color:#8db9d7;background:#f1f8fd;outline:0;box-shadow:0 0 0 3px rgba(45,113,180,.10)}
.vacation-param-button>.material-icons-round{font-size:19px!important;color:#e15d2f;flex:0 0 auto}
.vacation-param-button--double>.material-icons-round{color:#7a4ce0}
.vacation-param-button>span:last-child{display:grid;min-width:0}
.vacation-param-button strong{font-size:.64rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vacation-param-button small{font-size:.54rem;color:#73889a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vacation-remove{align-self:center}

.vacation-param-grid{display:grid;gap:1rem}
.vacation-param-grid>label:first-child{display:grid;gap:.35rem}
.vacation-param-grid label>span{font-size:.68rem;font-weight:800;color:#3d5d76}
.vacation-param-grid label>small{font-size:.6rem;color:#75889a}
.vacation-double-switch{display:grid;grid-template-columns:minmax(0,1fr) auto 46px;gap:.7rem;align-items:center;padding:.8rem;border:1px solid #dfe8ef;border-radius:13px;background:#fafcfe;cursor:pointer}
.vacation-double-switch>span:first-child{display:grid}
.vacation-double-switch>span:first-child strong{font-size:.7rem;color:#27475f}
.vacation-double-switch>span:first-child small{font-size:.59rem;color:#74889a}
.vacation-double-switch>input{position:absolute;opacity:0;pointer-events:none}
.vacation-switch-track{width:44px;height:24px;border-radius:999px;background:#dfe6ec;padding:3px;transition:.18s ease}
.vacation-switch-track>span{display:block;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 4px rgba(0,0,0,.18);transition:.18s ease}
.vacation-double-switch:has(input:checked) .vacation-switch-track{background:#7a4ce0}
.vacation-double-switch:has(input:checked) .vacation-switch-track>span{transform:translateX(20px)}
.vacation-param-preview{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:1rem}
.vacation-param-preview>div{padding:.65rem;border:1px solid #e0e9f0;border-radius:11px;background:#f8fbfd}
.vacation-param-preview span{display:block;font-size:.54rem;color:#718497;font-weight:750;text-transform:uppercase}
.vacation-param-preview strong{display:block;margin-top:.12rem;font-size:.74rem;color:#24465f}

.absence-deduction-list{display:grid;gap:.5rem;margin-bottom:.55rem}
.absence-deduction-card{display:flex;align-items:center;justify-content:space-between;gap:.7rem;padding:.65rem .7rem;border:1px solid #f0d0d0;border-radius:12px;background:#fffafa}
.absence-deduction-card>div:first-child{display:grid;min-width:0}
.absence-deduction-kicker{font-size:.53rem;font-weight:900;color:#b33838;text-transform:uppercase;letter-spacing:.05em}
.absence-deduction-card strong{font-size:.68rem;color:#3f5264}
.absence-deduction-card small{font-size:.58rem;color:#7d8792}
.absence-deduction-actions{display:flex;gap:.35rem;flex:0 0 auto}
.absence-deduction-actions .btn{width:34px;height:34px;display:grid;place-items:center;padding:0}
.absence-deduction-actions .material-icons-round{font-size:17px!important}

.absence-config-head{display:grid;grid-template-columns:minmax(220px,.75fr) minmax(220px,1fr);gap:.75rem;align-items:end;margin-bottom:.8rem}
.absence-config-head>label{display:grid;gap:.3rem}
.absence-config-head>label>span{font-size:.64rem;font-weight:800;color:#4d667c}
.absence-base-card{display:grid;padding:.62rem .75rem;border:1px solid #dce7ef;border-radius:12px;background:#f7fafc}
.absence-base-card small{font-size:.53rem;text-transform:uppercase;font-weight:850;color:#73869a;letter-spacing:.04em}
.absence-base-card strong{font-size:.83rem;color:#b13a32}
.absence-base-card span{font-size:.55rem;color:#77899b}
.absence-calendar{border:1px solid #dfe8ef;border-radius:14px;padding:.75rem;background:#fbfdff}
.absence-calendar-title{display:flex;align-items:end;justify-content:space-between;gap:.7rem;margin-bottom:.6rem}
.absence-calendar-title strong{font-size:.78rem;color:#25465f}
.absence-calendar-title small{font-size:.58rem;color:#74889b}
.absence-weekdays,.absence-days-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:.35rem}
.absence-weekdays{margin-bottom:.35rem}
.absence-weekdays span{text-align:center;font-size:.52rem;font-weight:850;color:#7b8d9d;text-transform:uppercase}
.absence-day-placeholder{min-height:42px}
.absence-day-button{min-height:42px;border:1px solid #dce6ee;border-radius:10px;background:#fff;color:#38576f;display:grid;place-items:center;padding:.25rem;transition:.15s ease}
.absence-day-button span{font-size:.68rem;font-weight:800}
.absence-day-button small{font-size:.48rem;color:#9a759b;min-height:.55rem}
.absence-day-button.is-sunday{background:#faf7fd}
.absence-day-button:hover,.absence-day-button:focus-visible{border-color:#86b4d1;outline:0}
.absence-day-button.is-selected{background:#d94c43;color:#fff;border-color:#d94c43;box-shadow:0 4px 10px rgba(190,55,47,.16)}
.absence-day-button.is-selected small{color:#ffe2df}
.absence-empty{padding:1rem;text-align:center;color:#7b8d9f;font-size:.67rem}
.absence-calc-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.5rem;margin-top:.75rem}
.absence-calc-summary>div{padding:.62rem .7rem;border:1px solid #e0e8ef;border-radius:11px;background:#f8fbfd}
.absence-calc-summary>div.is-total{background:#fff4f2;border-color:#f2d1cc}
.absence-calc-summary span{display:block;font-size:.52rem;text-transform:uppercase;font-weight:800;color:#728498}
.absence-calc-summary strong{display:block;margin-top:.1rem;font-size:.78rem;color:#29475f}
.absence-calc-summary small{display:block;font-size:.55rem;color:#7a8997}
.absence-carryover-note{grid-column:1/-1;margin:0;padding:.55rem .65rem;border-radius:10px;background:#eef5ff;color:#476684;font-size:.59rem;display:flex;gap:.35rem;align-items:flex-start}
.absence-carryover-note .material-icons-round{font-size:16px!important}

@media(max-width:1180px){
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:repeat(2,minmax(0,1fr)) auto}
  .vacation-remove{grid-column:3;grid-row:1 / span 2}
}
@media(max-width:720px){
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:1fr}
  .vacation-remove{grid-column:auto;grid-row:auto;justify-self:end}
  .vacation-param-preview,.absence-calc-summary{grid-template-columns:repeat(2,minmax(0,1fr))}
  .absence-config-head{grid-template-columns:1fr}
  .absence-weekdays,.absence-days-grid{gap:.2rem}
  .absence-day-button{min-height:38px;border-radius:8px}
}
.absence-code-badge{display:inline-flex;align-items:center;justify-content:center;padding:.08rem .28rem;border-radius:6px;background:#fee9e7;color:#a92f29;font-size:.55rem;font-weight:900;vertical-align:.04rem}
.absence-code-sep{color:#99a8b4;font-weight:700;margin:0 .14rem}

/* v4.8.18-r51 — layout wide, contrato em linhas de 3 campos e férias em linha única */
.rescisao-shell{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding-left:clamp(10px,1.1vw,22px)!important;
  padding-right:clamp(10px,1.1vw,22px)!important;
}
.rescisao-page .appbar .app-wide{width:100%!important;max-width:none!important}
.rescisao-layout{grid-template-columns:minmax(0,1.48fr) minmax(520px,.92fr);gap:clamp(.75rem,1vw,1.1rem)}
.rescisao-hero{width:100%}

.contract-form-grid{
  display:grid;
  grid-template-columns:minmax(180px,.9fr) minmax(210px,1fr) minmax(300px,1.55fr);
  gap:.7rem;
  align-items:start;
}
.contract-form-grid>label{display:grid;gap:.3rem;min-width:0}
.contract-form-grid>label>span{font-size:.67rem;font-weight:800;color:#466079}
.contract-reason-field{min-width:0}
.contract-info-box{grid-column:1/-1}

.dynamic-row--vacation.vacation-row-clean{
  grid-template-columns:minmax(250px,1.55fr) 112px minmax(230px,.95fr) 38px!important;
  gap:.65rem!important;
  align-items:end!important;
  padding:.7rem!important;
}
.vac-field--enjoyed{width:112px;max-width:112px}
.vac-field--enjoyed input{text-align:center}
.vacation-param-toggle{
  min-width:0;
  min-height:58px;
  display:grid;
  grid-template-columns:28px minmax(0,1fr) 14px;
  align-items:center;
  gap:.5rem;
  padding:.45rem .6rem;
  border:1px solid #d6e3ed;
  border-radius:11px;
  background:#f9fcfe;
  color:#274c69;
  text-align:left;
  transition:.16s ease;
}
.vacation-param-toggle:hover,.vacation-param-toggle:focus-visible{border-color:#8db9d7;background:#f1f8fd;outline:0;box-shadow:0 0 0 3px rgba(45,113,180,.10)}
.vacation-param-toggle>.material-icons-round{font-size:19px!important;color:#6b4bd2}
.vacation-param-toggle>span:nth-child(2){display:grid;min-width:0}
.vacation-param-toggle strong{font-size:.63rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vacation-param-toggle small{font-size:.54rem;color:#73889a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vacation-toggle-dot{width:10px;height:10px;border-radius:50%;background:#cbd8e2;box-shadow:0 0 0 3px #eef3f7}
.vacation-row-clean.has-vacation-params .vacation-toggle-dot{background:#7a4ce0;box-shadow:0 0 0 3px #eee8fd}
.vacation-remove{width:38px!important;height:38px!important;align-self:center!important}

.absence-config-head{grid-template-columns:minmax(210px,.72fr) minmax(280px,1fr)}
#absence-competence-display{font-variant-numeric:tabular-nums;font-weight:750;color:#2c4a63;background:#f8fbfd!important}

.rescisao-export-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}

@media(max-width:1180px){
  .rescisao-layout{grid-template-columns:1fr}
  .rescisao-results{order:-1}
  .contract-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(230px,1.5fr) 105px minmax(220px,1fr) 38px!important}
}
@media(max-width:780px){
  .contract-form-grid{grid-template-columns:1fr}
  .contract-info-box{grid-column:auto}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(0,1fr) 100px!important;align-items:end!important}
  .vac-field--start{grid-column:1}
  .vac-field--enjoyed{grid-column:2;width:100%;max-width:none}
  .vacation-param-toggle{grid-column:1/-1}
  .vacation-remove{grid-column:2;justify-self:end}
  .absence-config-head{grid-template-columns:1fr}
}
@media(max-width:520px){
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:1fr!important}
  .vac-field--start,.vac-field--enjoyed,.vacation-param-toggle,.vacation-remove{grid-column:auto}
  .vac-field--enjoyed{width:100%;max-width:none}
  .vacation-remove{justify-self:end}
}

/* v4.8.18-r52 — proporções compactas e consistência visual do Módulo 7 */
.required-badge{display:inline-flex;align-items:center;margin-left:.3rem;padding:.12rem .38rem;border-radius:999px;background:#fff1f1;color:#b42318;font-size:.52rem;font-weight:900;letter-spacing:.02em;vertical-align:middle}
.salary-base-required>.field-help{max-width:360px}

/* Contrato: seis campos proporcionais em uma linha no desktop wide. */
.contract-form-grid{
  grid-template-columns:minmax(145px,.88fr) minmax(170px,1fr) minmax(285px,1.75fr) minmax(145px,.9fr) minmax(86px,.48fr) minmax(98px,.56fr)!important;
  gap:.62rem!important;
  align-items:start!important;
}
.contract-reason-field .field-help{font-size:.54rem;line-height:1.3;margin-top:.18rem}
#salary-days,#notice-discount-days{text-align:center;font-variant-numeric:tabular-nums}
.contract-info-box{grid-column:1/-1!important;margin-top:.05rem}

/* Remuneração: campos proporcionais e salário-base destacado como fonte única. */
.form-grid--4{grid-template-columns:minmax(220px,1.05fr) minmax(205px,.92fr) minmax(220px,1fr) minmax(235px,1.05fr)!important}
.dynamic-row--fixed{grid-template-columns:118px minmax(260px,1fr) 155px 38px!important;gap:.55rem!important}
.dynamic-row--adjustment{grid-template-columns:118px minmax(240px,1fr) 155px 38px!important;gap:.55rem!important}

/* Férias: sem minicard; apenas a linha funcional solicitada. */
#vacation-periods{gap:.35rem}
.dynamic-row--vacation.vacation-row-clean{
  grid-template-columns:minmax(235px,1.45fr) 105px minmax(205px,.78fr) 38px!important;
  gap:.65rem!important;
  align-items:end!important;
  padding:.25rem 0 .65rem!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.dynamic-row--vacation.vacation-row-clean:not(:last-child){border-bottom:1px solid #e7eef4!important}
.vac-field{display:grid;gap:.28rem;min-width:0}
.vac-field>span{font-size:.62rem!important;font-weight:800;color:#466079}
.vac-field small{font-size:.54rem;color:#718497;line-height:1.25}
.vac-field--enjoyed{width:105px!important;max-width:105px!important}
.vac-field--enjoyed input{width:100%;text-align:center;padding-inline:.35rem}
.vacation-param-toggle{
  min-width:0!important;
  min-height:38px!important;
  height:38px!important;
  display:grid!important;
  grid-template-columns:20px minmax(0,1fr) 9px!important;
  gap:.42rem!important;
  align-items:center!important;
  padding:.3rem .55rem!important;
  border-radius:9px!important;
  background:#f8fbfd!important;
}
.vacation-param-toggle>.material-icons-round{font-size:17px!important}
.vacation-param-button-copy{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:.5rem!important;min-width:0}
.vacation-param-button-copy strong{font-size:.61rem!important;white-space:nowrap}
.vacation-param-button-copy small{font-size:.52rem!important;white-space:nowrap;color:#718497}
.vacation-toggle-dot{width:7px!important;height:7px!important;box-shadow:0 0 0 2px #eef3f7!important}
.vacation-remove{width:38px!important;height:38px!important;align-self:end!important}

/* Modal de parâmetros: faltas e dobra lado a lado na razão 1:2. */
#modalVacationParams .modal-dialog{max-width:620px}
.vacation-param-grid{grid-template-columns:minmax(145px,1fr) minmax(280px,2fr)!important;gap:.75rem!important;align-items:stretch}
.vacation-absence-compact{display:grid!important;grid-template-rows:auto auto auto;align-content:start;gap:.3rem!important;min-width:0}
.vacation-absence-compact #vacation-param-absences{width:118px!important;max-width:118px!important;text-align:center!important;padding-inline:.35rem!important}
.vacation-absence-compact small{white-space:nowrap}
.vacation-double-switch{height:100%;min-height:74px;padding:.65rem .75rem!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:.65rem!important}
.vacation-double-switch>.vacation-switch-track{grid-column:2}
.vacation-param-preview{grid-template-columns:repeat(4,minmax(92px,1fr))!important;gap:.45rem!important;margin-top:.8rem!important}
.vacation-param-preview>div{padding:.52rem .58rem!important}

/* Demais grids: evita controles desproporcionalmente largos. */
.thirteenth-paid-grid{grid-template-columns:minmax(260px,1.35fr) minmax(180px,.65fr)!important}
.deduction-preset-bar{grid-template-columns:minmax(240px,1fr) auto!important}

@media(max-width:1280px){
  .contract-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .form-grid--4{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:900px){
  .contract-form-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .dynamic-row--fixed,.dynamic-row--adjustment{grid-template-columns:105px minmax(0,1fr) 135px 38px!important}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(210px,1fr) 95px minmax(185px,.8fr) 38px!important}
  .vac-field--enjoyed{width:95px!important;max-width:95px!important}
}
@media(max-width:680px){
  .contract-form-grid,.form-grid--4,.thirteenth-paid-grid{grid-template-columns:1fr!important}
  .contract-info-box{grid-column:auto!important}
  .dynamic-row--fixed,.dynamic-row--adjustment{grid-template-columns:1fr!important}
  .dynamic-row--fixed .btn,.dynamic-row--adjustment .btn{justify-self:end}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(0,1fr) 90px 38px!important;align-items:end!important}
  .vac-field--start{grid-column:1}
  .vac-field--enjoyed{grid-column:2;width:90px!important;max-width:90px!important}
  .vacation-param-toggle{grid-column:1/3!important;grid-row:2}
  .vacation-remove{grid-column:3;grid-row:1/3;align-self:center!important}
  .vacation-param-grid{grid-template-columns:1fr!important}
  .vacation-absence-compact #vacation-param-absences{width:110px!important}
  .vacation-param-preview{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:430px){
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:1fr 38px!important}
  .vac-field--start,.vac-field--enjoyed,.vacation-param-toggle{grid-column:1!important}
  .vac-field--enjoyed{width:100%!important;max-width:none!important}
  .vacation-remove{grid-column:2!important;grid-row:1/4!important;align-self:center!important}
  .vacation-param-button-copy{display:grid!important;justify-content:start!important;gap:.05rem!important}
}
.salary-base-required.is-missing .money-field{border-color:#e3a19b!important;background:#fffafa!important}
.salary-base-required.is-missing>.field-help{color:#a33b32;font-weight:650}

/* v4.8.18-r53 — estrutura editorial dos quatro expanders do Módulo 7 */
.expander-body-structured{padding:1rem 1.05rem 1.08rem!important}
.expander-section{min-width:0}
.expander-section--divided{margin-top:1rem;padding-top:1rem;border-top:1px solid #e7eef4}
.expander-section-label{display:flex;align-items:center;gap:.45rem;margin:0 0 .62rem;color:#183b58}
.expander-section-label>span{display:inline-flex;align-items:center;padding:.16rem .42rem;border-radius:999px;background:#eef5fb;color:#39729e;font-size:.51rem;font-weight:900;letter-spacing:.07em;text-transform:uppercase}
.expander-section-label>strong{font-size:.69rem;font-weight:850;letter-spacing:.015em;text-transform:uppercase}
.structured-subsection-head{margin:.05rem 0 .58rem!important}
.structured-subsection-head>div{min-width:0}
.structured-subsection-head>div>small{display:block;margin-top:.15rem;max-width:820px}
.structured-table-head{display:grid;align-items:center;gap:.55rem;padding:0 .58rem .34rem;color:#6d8194;font-size:.52rem;font-weight:850;letter-spacing:.05em;text-transform:uppercase}
.structured-table-head span:last-child{text-align:center}

/* 1. Contrato e desligamento */
.contract-section+.contract-section{margin-top:.9rem;padding-top:.9rem;border-top:1px dashed #e0e9f0}
.contract-row{display:grid;gap:.72rem;align-items:start}
.contract-row>label,.contract-row>.form-field{min-width:0}
.contract-row>label{display:grid;gap:.3rem}
.contract-row>label>span,.contract-row .field-label-row>label{font-size:.66rem;font-weight:800;color:#466079}
.contract-row--identity{grid-template-columns:minmax(175px,.85fr) minmax(195px,.95fr) minmax(330px,1.65fr)}
.contract-row--calculation{grid-template-columns:minmax(230px,1.35fr) minmax(112px,.52fr) minmax(122px,.56fr);max-width:850px}
.contract-row--calculation .compact-number-field input{max-width:135px;text-align:center;font-variant-numeric:tabular-nums}
.contract-reason-field .field-help{margin-top:.22rem;line-height:1.35}
.contract-projection-banner{grid-column:auto!important;margin-top:.9rem!important;padding:.67rem .78rem!important;border:1px solid #d9e9f7;background:#eef7ff!important}
.contract-projection-banner .material-icons-round{color:#2678b7}

/* 2. Remuneração e verbas-base */
.remuneration-contract-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,330px);gap:1rem;align-items:stretch}
.remuneration-params-grid{display:grid;grid-template-columns:minmax(220px,1fr) minmax(205px,.9fr);gap:.72rem;align-content:start}
.remuneration-params-grid>label{display:grid;gap:.3rem;min-width:0}
.remuneration-params-grid>label>span{font-size:.66rem;font-weight:800;color:#466079}
.remuneration-params-grid .fgts-field{grid-column:1}
.remuneration-params-grid .field-help{display:flex;align-items:flex-start;gap:.25rem;max-width:360px}
.remuneration-params-grid .field-help .material-icons-round{font-size:14px!important;margin-top:.02rem;color:#3979ab}
.remuneration-summary-card{display:grid;align-content:start;padding:.78rem .85rem;border:1px solid #cfe4d8;border-radius:14px;background:linear-gradient(180deg,#f6fcf8,#f1faf5)}
.remuneration-summary-card>small{font-size:.55rem;font-weight:900;letter-spacing:.08em;color:#63816f}
.remuneration-summary-card>strong{margin:.12rem 0 .55rem;font:850 1rem Nunito,sans-serif;color:#0f6d4d}
.remuneration-summary-card dl{display:grid;gap:.25rem;margin:0}
.remuneration-summary-card dl>div{display:flex;justify-content:space-between;gap:.65rem;font-size:.62rem}
.remuneration-summary-card dt{font-weight:650;color:#647b6d}
.remuneration-summary-card dd{margin:0;font-weight:800;color:#244b38;font-variant-numeric:tabular-nums}
.remuneration-summary-card .summary-hour{margin-top:.28rem;padding-top:.42rem;border-top:1px solid #d5e7dc}
.fixed-table-head{grid-template-columns:92px minmax(250px,1fr) 150px 38px}
#fixed-verbs{gap:0}
#fixed-verbs .dynamic-row--fixed{grid-template-columns:92px minmax(250px,1fr) 150px 38px!important;gap:.55rem!important;padding:.44rem .58rem!important;border:0!important;border-top:1px solid #edf2f6!important;border-radius:0!important;background:#fff!important}
#fixed-verbs .dynamic-row--fixed:last-child{border-bottom:1px solid #edf2f6!important}
#fixed-verbs .dynamic-row--fixed:hover{background:#fbfdff!important}
.structured-averages-grid{margin-top:.15rem}

/* 3. Períodos de férias */
.vacation-section .structured-subsection-head{margin-bottom:.72rem!important}
.vacation-table-head{grid-template-columns:minmax(315px,1.65fr) 105px 135px minmax(195px,.9fr) 38px;padding-inline:.15rem}
.vacation-period-list{gap:0!important}
.dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(315px,1.65fr) 105px 135px minmax(195px,.9fr) 38px!important;gap:.62rem!important;align-items:center!important;padding:.48rem .15rem!important;border:0!important;border-top:1px solid #edf2f6!important;border-radius:0!important;background:#fff!important}
.dynamic-row--vacation.vacation-row-clean:last-child{border-bottom:1px solid #edf2f6!important}
.vac-period-cell{display:flex;align-items:center;gap:.5rem;min-width:0}
.vac-period-cell>input{width:168px;min-width:168px;min-height:36px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;padding:.35rem .5rem;font-size:.68rem}
.vac-period-end{display:flex;align-items:center;gap:.35rem;min-width:0;color:#75889a;font-size:.61rem;white-space:nowrap}
.vac-period-end strong{color:#38536a;font-size:.65rem;font-weight:800;font-variant-numeric:tabular-nums}
.vac-enjoyed-cell{display:flex;align-items:center;gap:.28rem;white-space:nowrap}
.vac-enjoyed-cell input{width:68px;min-height:36px;border:1px solid #d5e1eb;border-radius:9px;background:#fff;padding:.35rem .35rem;text-align:center;font-size:.69rem}
.vac-enjoyed-cell>span{font-size:.6rem;color:#718497}
.vac-pending-cell{display:flex;align-items:center;min-height:36px;padding:.35rem .58rem;border:1px solid #e0e8ef;border-radius:9px;background:#f7fafc}
.vac-pending-cell strong{font-size:.67rem;color:#31526b;font-variant-numeric:tabular-nums}
.vacation-param-toggle{min-height:36px!important;height:36px!important;grid-template-columns:18px minmax(0,1fr)!important;padding:.3rem .52rem!important;background:#f8fbfd!important}
.vacation-param-toggle>.material-icons-round{font-size:16px!important}
.vacation-param-button-copy{display:block!important;min-width:0}
.vacation-param-button-copy strong{display:block;font-size:.59rem!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.vacation-toggle-dot{display:none!important}
.vacation-remove{align-self:center!important}
.vacation-auto-note{margin-top:.75rem!important}

/* 4. Ajustes, benefícios e descontos */
.structured-thirteenth-panel{margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
.structured-thirteenth-panel .thirteenth-paid-grid{grid-template-columns:minmax(320px,1.45fr) minmax(220px,.75fr)!important;max-width:920px}
.adjustments-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem}
.adjustment-column{min-width:0;padding:.1rem 0}
.adjustment-column+.adjustment-column{padding-left:1rem;border-left:1px solid #e6edf3}
.adjustment-column .subsection-head{align-items:flex-start}
.adjustment-column .subsection-head strong{text-transform:uppercase;font-size:.66rem;letter-spacing:.025em}
.adjustment-column .dynamic-row--adjustment{grid-template-columns:82px minmax(155px,1fr) 125px 36px!important;gap:.42rem!important;padding:.45rem!important}
.adjustment-column .dynamic-row--adjustment input{min-width:0}
.adjustment-column .dynamic-row--adjustment .money-field{min-width:0!important}
#manual-additions:empty::before{content:'Nenhum crédito adicional lançado.';display:grid;place-items:center;min-height:92px;padding:1rem;border:1px dashed #d9e4ed;border-radius:12px;background:#fbfdff;color:#7b8d9d;font-size:.64rem;text-align:center}
.adjustment-list{margin-top:.4rem}
.absence-deduction-card{background:#fffaf9}

@media(max-width:1380px){
  .contract-row--identity{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contract-reason-field{grid-column:1/-1}
  .remuneration-contract-layout{grid-template-columns:minmax(0,1fr) 285px}
  .vacation-table-head,.dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(265px,1.45fr) 95px 120px minmax(180px,.85fr) 38px!important}
  .vac-period-cell>input{width:150px;min-width:150px}
}
@media(max-width:1100px){
  .contract-row--identity{grid-template-columns:repeat(2,minmax(0,1fr))}
  .contract-row--calculation{grid-template-columns:minmax(220px,1fr) 120px 130px;max-width:none}
  .remuneration-contract-layout{grid-template-columns:1fr}
  .remuneration-summary-card{grid-template-columns:auto;max-width:none}
  .adjustments-columns{grid-template-columns:1fr}
  .adjustment-column+.adjustment-column{padding-left:0;padding-top:1rem;border-left:0;border-top:1px solid #e6edf3}
  .vacation-table-head{display:none}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:minmax(250px,1.4fr) 92px 120px minmax(175px,.85fr) 38px!important}
}
@media(max-width:760px){
  .contract-row--identity,.contract-row--calculation,.remuneration-params-grid,.structured-thirteenth-panel .thirteenth-paid-grid{grid-template-columns:1fr!important}
  .contract-reason-field{grid-column:auto}
  .contract-row--calculation .compact-number-field input{max-width:140px}
  .remuneration-params-grid .fgts-field{grid-column:auto}
  .fixed-table-head{display:none}
  #fixed-verbs .dynamic-row--fixed,.adjustment-column .dynamic-row--adjustment{grid-template-columns:1fr!important;border:1px solid #e3ebf1!important;border-radius:11px!important;margin-bottom:.45rem}
  #fixed-verbs .dynamic-row--fixed .btn,.adjustment-column .dynamic-row--adjustment .btn{justify-self:end}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:1fr 82px 38px!important;align-items:end!important;padding:.65rem 0!important}
  .vac-period-cell{grid-column:1/-1;flex-wrap:wrap}
  .vac-enjoyed-cell{grid-column:1}
  .vac-pending-cell{grid-column:2;justify-content:center}
  .vacation-param-toggle{grid-column:1/3;width:100%}
  .vacation-remove{grid-column:3;grid-row:2/4}
}
@media(max-width:430px){
  .expander-body-structured{padding:.8rem!important}
  .vac-period-cell>input{width:100%;min-width:0}
  .vac-period-end{width:100%}
  .dynamic-row--vacation.vacation-row-clean{grid-template-columns:1fr 38px!important}
  .vac-enjoyed-cell,.vac-pending-cell,.vacation-param-toggle{grid-column:1!important}
  .vacation-remove{grid-column:2!important;grid-row:1/5!important;align-self:center!important}
  .remuneration-summary-card dl>div{font-size:.59rem}
}

/* v4.8.18-r54 - acabamento visual, catálogo e padronização numérica */
.module-header-copy{display:grid;gap:.08rem;min-width:0}
.module-expander-title{margin:0;font:800 .82rem/1.2 Nunito,Inter,sans-serif;color:var(--res-ink)}
.module-header-copy small{font-size:.64rem;color:var(--res-muted)}

.fixed-table-head{grid-template-columns:minmax(190px,.75fr) minmax(290px,1.6fr) 150px 38px}
#fixed-verbs .dynamic-row--fixed{grid-template-columns:minmax(190px,.75fr) minmax(290px,1.6fr) 150px 38px!important}
.catalog-code-field>.fixed-verb-select{width:100%;padding-right:38px!important;min-width:0}
.catalog-code-field:has(.fixed-verb-select.catalog-code-hit) .catalog-hit-icon{opacity:1}

.reason-info-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch}
.reason-info-grid section{min-height:126px;height:100%}
.reason-info-grid .reason-info-attention{grid-column:auto;background:#fffaf3;border-color:#f2dfbc}
.reason-info-grid section>div{display:flex;flex-direction:column;min-width:0}
.reason-info-grid p{flex:1}

@media(max-width:900px){
  .reason-info-grid{grid-template-columns:1fr}
  .reason-info-grid section{min-height:auto}
}
@media(max-width:1180px) and (min-width:721px){
  .fixed-table-head{grid-template-columns:minmax(160px,.8fr) minmax(230px,1.4fr) 140px 38px}
  #fixed-verbs .dynamic-row--fixed{grid-template-columns:minmax(160px,.8fr) minmax(230px,1.4fr) 140px 38px!important}
}

/* v4.8.18-r56 - 13º pago por parcelas, com recálculo e memória auditável */
.structured-thirteenth-panel .thirteenth-paid-help{display:flex;align-items:flex-start;gap:.45rem;margin:.5rem 0 .75rem;padding:.6rem .7rem;border:1px solid #d9e7f2;border-radius:11px;background:#f7fbfe;color:#49657e;font-size:.61rem;line-height:1.45}
.structured-thirteenth-panel .thirteenth-paid-help .material-icons-round{font-size:17px;color:#2563eb;flex:0 0 auto}
.thirteenth-paid-toolbar{display:grid;grid-template-columns:minmax(320px,1.35fr) minmax(230px,.65fr);gap:.8rem;align-items:stretch}
.thirteenth-status-field,.thirteenth-note-field,.thirteenth-payment-item label{display:grid;gap:.3rem;min-width:0}
.thirteenth-status-field>span,.thirteenth-note-field>span,.thirteenth-payment-item label>span{font-size:.62rem;font-weight:850;color:#466079}
.thirteenth-paid-total-card{display:grid;align-content:center;gap:.12rem;padding:.58rem .72rem;border:1px solid #d7e8dd;border-radius:11px;background:#f4fbf6}
.thirteenth-paid-total-card small{font-size:.54rem;font-weight:850;text-transform:uppercase;letter-spacing:.035em;color:#5b7765}
.thirteenth-paid-total-card strong{font-size:.92rem;color:#0f704d;font-variant-numeric:tabular-nums}
.thirteenth-paid-total-card span{font-size:.52rem;color:#718579}
.thirteenth-payment-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin-top:.75rem}
.thirteenth-payment-item{display:grid;grid-template-columns:minmax(125px,.9fr) minmax(150px,1fr);gap:.48rem .6rem;align-items:end;padding:.65rem;border:1px solid #dce6ef;border-radius:12px;background:#fbfdff}
.thirteenth-payment-item[hidden]{display:none!important}
.thirteenth-payment-title{grid-column:1/-1;display:flex;align-items:center;gap:.38rem;padding-bottom:.3rem;border-bottom:1px solid #edf2f6;color:#27475f}
.thirteenth-payment-title .material-icons-round{font-size:17px}
.thirteenth-payment-title strong{font-size:.66rem}
.thirteenth-payment-item input{min-width:0;width:100%}
.thirteenth-payment-item .money-field{min-width:0;width:100%}
.thirteenth-note-field{margin-top:.7rem}
.thirteenth-recalc-summary{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:.55rem;margin-top:.75rem}
.thirteenth-recalc-summary>div{display:grid;gap:.15rem;padding:.55rem .62rem;border:1px solid #e0e8ef;border-radius:10px;background:#f8fbfd}
.thirteenth-recalc-summary small{font-size:.52rem;font-weight:800;color:#63788c;text-transform:uppercase;letter-spacing:.025em}
.thirteenth-recalc-summary strong{font-size:.72rem;color:#28485f;font-variant-numeric:tabular-nums}
.thirteenth-recalc-summary .thirteenth-summary-total{border-color:#cce6d6;background:#f1faf4}
.thirteenth-recalc-summary .thirteenth-summary-total strong{color:#0f704d}
.thirteenth-excess-note{display:flex;align-items:flex-start;gap:.45rem;margin-top:.65rem;padding:.55rem .65rem;border:1px solid #f0cf9c;border-radius:10px;background:#fff9ef;color:#7f5722;font-size:.58rem;line-height:1.4}
.thirteenth-excess-note[hidden]{display:none!important}
.thirteenth-excess-note .material-icons-round{font-size:17px;color:#ea580c}
@media(max-width:1280px){.thirteenth-payment-grid{grid-template-columns:1fr 1fr}.thirteenth-payment-item[data-thirteenth-payment="adjustment"]{grid-column:1/-1}.thirteenth-recalc-summary{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:820px){.thirteenth-paid-toolbar,.thirteenth-payment-grid,.thirteenth-recalc-summary{grid-template-columns:1fr}.thirteenth-payment-item[data-thirteenth-payment="adjustment"]{grid-column:auto}.thirteenth-payment-item{grid-template-columns:1fr}}

/* v4.8.18-r57 - guia didático contextual do Módulo 7 */
.context-info-btn{width:20px;height:20px;min-width:20px;min-height:20px;display:inline-grid;place-items:center;flex:0 0 auto;border:0;border-radius:0;background:transparent;color:#2563eb;padding:0;cursor:pointer;box-shadow:none;transition:color .15s ease}
.context-info-btn:hover,.context-info-btn:focus-visible{background:transparent;border-color:transparent;color:#174ea6;transform:none;outline:0;box-shadow:none}
.context-info-btn .material-icons-round{font-size:17px!important;color:inherit}
.context-info-btn--banner{margin-left:auto;background:transparent;border:0}
.subsection-title-with-help{display:flex;align-items:center;gap:.4rem;min-width:0}
.result-head-actions{display:flex;align-items:center;gap:.45rem}
.contract-projection-banner{align-items:flex-start!important}
.contract-projection-banner>div{display:grid;gap:.18rem;min-width:0;flex:1}
.contract-projection-banner>div>span{line-height:1.45}
.contract-projection-banner small{display:block;color:#56748c;font-size:.6rem;line-height:1.45;font-weight:500}
.modal-context-note{display:flex;align-items:flex-start;gap:.55rem;margin:0 0 .8rem;padding:.7rem .8rem;border:1px solid #d9e8f3;border-radius:13px;background:#f4f9fd;color:#4f6c84;font-size:.66rem;line-height:1.55}
.modal-context-note>.material-icons-round{flex:0 0 auto;font-size:19px!important;margin-top:.02rem}
.rescisao-guide-modal .modal-body{background:#fbfdff}
.rescisao-guide-lead{padding:.85rem .95rem;border:1px solid #cfe3f0;border-radius:15px;background:#eef7fd;color:#315a78;font-size:.76rem;line-height:1.6;margin-bottom:.8rem}
.guide-current-context{display:flex;gap:.65rem;align-items:flex-start;padding:.8rem .9rem;margin-bottom:.8rem;border:1px solid #cfe5d8;border-radius:15px;background:#f2fbf6}
.guide-current-context>.material-icons-round{color:#13825b;font-size:21px!important}
.guide-current-context strong{display:block;color:#235642;font-size:.72rem;margin-bottom:.18rem}
.guide-current-context p{margin:0;color:#567567;font-size:.68rem;line-height:1.55}
.rescisao-guide-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.7rem}
.rescisao-guide-grid section{display:flex;gap:.65rem;align-items:flex-start;padding:.8rem .85rem;border:1px solid #dce6ee;border-radius:15px;background:#fff;min-height:126px}
.rescisao-guide-grid section>.material-icons-round{flex:0 0 auto;color:#2d78aa;font-size:21px!important;margin-top:.03rem}
.rescisao-guide-grid strong{display:block;color:#203e58;font-size:.7rem;margin-bottom:.22rem}
.rescisao-guide-grid p{margin:0;color:#60758a;font-size:.65rem;line-height:1.58}
.rescisao-guide-basis{margin-top:.75rem;padding:.72rem .85rem;border:1px solid #dde6ed;border-radius:13px;background:#f6f8fa}
.rescisao-guide-basis strong{display:block;color:#435d73;font-size:.66rem;margin-bottom:.18rem;text-transform:uppercase;letter-spacing:.035em}
.rescisao-guide-basis p{margin:0;color:#62788b;font-size:.64rem;line-height:1.52}
.rescisao-guide-warning{display:flex;gap:.6rem;align-items:flex-start;margin-top:.65rem;padding:.75rem .85rem;border:1px solid #f0d8aa;border-radius:13px;background:#fff9ef}
.rescisao-guide-warning>.material-icons-round{color:#d27b00;font-size:20px!important}
.rescisao-guide-warning strong{display:block;color:#73501f;font-size:.68rem;margin-bottom:.18rem}
.rescisao-guide-warning p{margin:0;color:#7b684c;font-size:.64rem;line-height:1.55}
.reason-current-note{margin-top:.38rem!important;padding-top:.38rem;border-top:1px dashed #dce6ef;color:#4d6b82!important}
.reason-current-note strong{display:inline!important;font-size:inherit!important;color:#315b78!important}
@media(max-width:760px){.rescisao-guide-grid{grid-template-columns:1fr}.rescisao-guide-grid section{min-height:auto}.context-info-btn--banner{margin-left:.15rem}}
