/* REMAR 3.0 — sistema visual. Ações, dados e validações pertencem aos módulos. */
@media screen {
:root {
 color-scheme:dark;
 --rem-bg:#071a15;--rem-panel:#0e2922;--rem-raised:#15372e;--rem-text:#edf5f1;--rem-muted:#b0c7bd;--rem-line:#34564b;--rem-gold:#f2c419;--rem-side:244px;
 --bg:var(--rem-bg)!important;--ink:var(--rem-text)!important;--muted:var(--rem-muted)!important;--line:var(--rem-line)!important;--green:var(--rem-gold)!important;--gold:var(--rem-gold)!important;
 --cp-bg:var(--rem-bg)!important;--cp-card:var(--rem-panel)!important;--cp-soft:#0a211b!important;--cp-ink:var(--rem-text)!important;--cp-muted:var(--rem-muted)!important;--cp-line:var(--rem-line)!important;--cp-line-2:#26473b!important;--cp-green:var(--rem-gold)!important;--cp-green-2:#15372e!important;--cp-dark:#0a211b!important;--cp-gold:var(--rem-gold)!important;
 --c-bg:var(--rem-bg)!important;--c-ink:var(--rem-text)!important;--c-muted:var(--rem-muted)!important;--c-line:var(--rem-line)!important;--c-green:var(--rem-gold)!important;--c-dark:#0a211b!important;--c-danger:#ffb0a6!important;
 --s-valida:#66d9a0!important;--s-valida-bg:#153b2d!important;--s-avencer:#f5d875!important;--s-avencer-bg:#38331c!important;--s-vencida:#ffb079!important;--s-vencida-bg:#3a2a20!important;--s-pendencia:#ffb0a6!important;--s-pendencia-bg:#3b2725!important;--s-erro:#cfb8ff!important;--s-erro-bg:#302743!important;--s-sem:#b9cbd1!important;--s-sem-bg:#24363b!important;--s-off:#99ada5!important;--s-run:#a7cfff!important;
 --fin-bg:var(--rem-bg)!important;--fin-ink:var(--rem-text)!important;--fin-muted:var(--rem-muted)!important;--fin-line:var(--rem-line)!important;--fin-green:var(--rem-gold)!important;--fin-green-dark:#ffd84d!important;
 --siga-bg:var(--rem-bg)!important;--siga-white:var(--rem-panel)!important;--siga-ink:var(--rem-text)!important;--siga-muted:var(--rem-muted)!important;--siga-line:var(--rem-line)!important;--siga-green:var(--rem-gold)!important;--siga-green-dark:#ffd84d!important;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:18px}
body.rem-ui2{margin:0!important;background:var(--rem-bg)!important;color:var(--rem-text)!important;font:14px/1.6 "Segoe UI",Inter,Arial,sans-serif!important}
body.rem-shell{padding-left:var(--rem-side)!important}
body.rem-ui2 a{text-decoration:none}
body.rem-ui2 :is(h1,h2,h3,h4){color:var(--rem-text)!important;line-height:1.25;overflow-wrap:anywhere}
body.rem-ui2 h1{font-size:clamp(25px,2.4vw,36px)!important;font-weight:720!important;letter-spacing:-.025em}
body.rem-ui2 h2{font-size:clamp(20px,1.8vw,26px)}
body.rem-ui2 p{line-height:1.6}
body.rem-ui2 :is(img,video,canvas){max-width:100%}
body.rem-ui2 :is(main,section,article,fieldset,form){min-width:0}
body.rem-ui2 [hidden]{display:none!important}
body.rem-ui2 :is(button,a,input,select,textarea):focus-visible{outline:3px solid var(--rem-gold)!important;outline-offset:3px}
body.rem-ui2 :is(.eyebrow,[class$="-eyebrow"],.cp-eyebrow){color:var(--rem-gold)!important;font-size:11px!important;letter-spacing:.12em}
/* Navegação comum, com uma hierarquia única. */
.rem-sidebar{position:fixed;inset:0 auto 0 0;width:var(--rem-side);height:100dvh;padding:26px 16px 18px;display:flex;flex-direction:column;gap:10px;background:#081e18;border-right:1px solid #29483c;z-index:70;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:#34564b #081e18}
.rem-brand{display:block;padding:0 16px 20px;text-decoration:none!important;flex-shrink:0}
.rem-brand img{display:block;width:168px;height:68px;object-fit:contain}
.rem-brand>span{display:block;color:var(--rem-muted)!important;letter-spacing:.19em;font-size:9px;margin-top:9px}
.rem-nav{display:grid;gap:5px}
.rem-nav-label{padding:17px 13px 7px;font-size:10px;color:#9cb8ab!important;letter-spacing:.13em}
.rem-nav a.rem-nav-link{display:flex;align-items:center;gap:12px;padding:12px 13px;min-height:46px;border-radius:10px;color:var(--rem-muted)!important;font-size:13px;line-height:1.4;background:transparent!important;box-shadow:none;text-decoration:none!important}
.rem-nav a.rem-nav-link:hover{background:#173c2f!important;color:var(--rem-text)!important}
.rem-nav a.rem-nav-link.is-current{background:#30361b!important;color:var(--rem-gold)!important;box-shadow:inset 3px 0 var(--rem-gold)}
.rem-icon{display:flex;width:21px;height:21px;flex:0 0 21px}.rem-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.rem-nav-link>span:last-child{overflow-wrap:anywhere}
.rem-sidebar-bottom{margin-top:auto;padding:18px 12px 0;border-top:1px solid var(--rem-line);display:flex;gap:10px;align-items:center;flex-shrink:0}.rem-sidebar-bottom>div{min-width:0}.rem-sidebar-bottom strong{display:block;font-size:12px;color:var(--rem-text)!important;overflow-wrap:anywhere}.rem-sidebar-bottom small{display:block;color:var(--rem-muted)!important;font-size:11px}.rem-avatar{display:grid;place-items:center;flex:0 0 34px;height:34px;background:#30361b;color:var(--rem-gold)!important;border:1px solid #6b6533;border-radius:10px;font-size:12px;font-weight:700}
.rem-menu-toggle,.rem-close{display:none}
.rem-system-header{height:auto!important;min-height:78px!important;padding:16px 28px!important;display:flex!important;flex-wrap:wrap!important;gap:16px!important;align-items:center!important;justify-content:space-between!important;background:#081e18!important;border-bottom:1px solid var(--rem-line)!important;position:relative!important;z-index:30!important}
.rem-breadcrumb{display:flex;align-items:center;gap:10px;flex:1 1 180px;min-width:0;font-size:12px;color:var(--rem-muted)!important}.rem-breadcrumb>a{color:var(--rem-muted)!important;white-space:nowrap}.rem-breadcrumb>span{color:var(--rem-text)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rem-shell .rem-system-header>.logo,.rem-shell .rem-system-header>a:has(>.logo),.rem-shell .ui-brand,.rem-shell .pc-brand,.rem-shell .fin-portal-context,.rem-shell .rem-system-header>.brand,.rem-shell .rem-system-header>.topbar-inner>.brand,.rem-shell .rem-system-header>.brand-logo{display:none!important}
.rem-shell .fin-sidebar,.rem-shell .fin-overlay,.rem-shell .fin-menu-toggle{display:none!important}
.rem-shell .fin-app{display:block!important}.rem-shell .fin-shell{width:auto!important;min-width:0!important;margin-left:0!important}
.rem-shell :is(.ui-nav,.pc-nav){display:none!important}
.rem-shell :is(.ui-bar-in,.topbar-inner){width:100%;max-width:none!important;height:auto!important;min-width:0;flex-wrap:wrap;gap:12px}
.rem-shell :is(.header-actions,.fin-topbar-actions,.ui-actions){display:flex;flex-wrap:wrap;align-items:center;gap:8px!important;min-width:0;max-width:100%;margin-left:auto;flex-shrink:1!important}
/* Financeiro: duas faixas, sem apertar empresa e ações na mesma linha. */
.rem-shell .fin-topbar{display:grid!important;grid-template-columns:minmax(220px,1fr) auto;gap:12px 20px!important;align-items:end!important}
.rem-shell .fin-topbar>.rem-breadcrumb{grid-column:1/-1}
.rem-shell .fin-topbar-left{width:100%;min-width:0;display:block!important}
.rem-shell .fin-company-switcher{display:block!important;width:min(100%,510px)!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important}
.rem-shell .fin-company-switcher-row{display:flex!important;gap:8px;min-width:0;width:100%}
.rem-shell .fin-company-switcher select{flex:1 1 0!important;width:0!important;min-width:0!important;max-width:100%!important;text-overflow:ellipsis;height:44px!important}
.rem-shell .fin-company-switch-button{flex:0 0 auto;min-width:64px}
.rem-shell .fin-company-context-label{display:block!important;margin:0 0 6px!important;color:var(--rem-muted)!important;font-size:11px!important;line-height:1.3!important;position:static!important}
.rem-shell .fin-company-context-single{background:transparent!important;padding:0!important;border:0!important;max-width:100%}
.rem-shell .fin-user-chip{background:#123127!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important;max-width:240px}.rem-shell .fin-user-name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.rem-shell .fin-user-avatar{background:#30361b!important;color:var(--rem-gold)!important}
/* Conteúdo: fluxo normal, sem encaixes com margens negativas. */
.rem-shell :is(.hero,.admin-hero,.automation-hero,.siga-hero,.iss-hero,.cnfe-hero,.cp-hero,.c-hero,.exec-hero,.hist-hero,.det-hero,.imp-hero,.log-hero,.m-hero,.page-hero,.siged-hero,.sigan-hero,.isst-hero,.pg-hero){background:linear-gradient(120deg,#0b251e,#10372b)!important;padding:30px 28px!important;margin:0!important;text-align:left!important;border-bottom:1px solid #29483c}
.rem-shell :is(.hero-inner,.admin-hero-inner,.automation-hero-inner,.siga-hero-inner,.cnfe-hero-inner,.cp-inner,.c-inner,.exec-hero-inner,.hist-hero-inner,.det-hero-inner,.imp-hero-inner,.log-hero-inner,.m-hero-inner,.page-hero-inner,.siged-hero-inner,.sigan-hero-inner,.isst-hero-inner){max-width:1480px!important;width:100%;margin:0 auto;min-width:0}
.rem-shell :is(.container,.admin-container,.automation-container,.siga-container,.iss-container,.cnfe-container,.cp-wrap,.c-wrap,.exec-container,.hist-container,.det-container,.imp-container,.log-container,.m-container,.page-wrap,.siged-container,.sigan-container,.isst-container,.pg-container,.dp-container,.cal-container,.ui-main,.fin-main,.pc-main){width:100%!important;max-width:1536px!important;margin:0 auto!important;padding:24px 28px 44px!important;min-width:0!important}
.rem-shell :is(.panel,.login-card,.admin-panel,.automation-panel,.siga-panel,.iss-panel,.cnfe-panel,.c-panel,.cp-card,.cp-main,.cp-filter-card,.exec-panel,.hist-panel,.det-panel,.imp-panel,.log-panel,.m-panel,.siged-panel,.sigan-panel,.isst-panel,.ui-card,.fin-card,.fin-form-card,.fin-filter-card,.fin-table-card,.dp-card,.tool-card,.automation-card,.fin-dashboard-card,.fin-summary-card,.contador-card){background:var(--rem-panel)!important;color:var(--rem-text)!important;border:1px solid var(--rem-line)!important;border-radius:16px!important;box-shadow:0 8px 24px #00000014!important;min-width:0}
.rem-shell :is(.tool-card,.automation-card,.dp-card){padding:22px!important}
body.rem-ui2 :is([class$="-muted"],.muted,.small,.hint,.help,.c-help,.cp-sub){color:var(--rem-muted)!important}
body.rem-ui2 :is(.c-company,.cnfe-company,.company-name,.siga-table,.cnfe-table,.c-table,.m-table,.exec-table,.hist-table) strong{color:var(--rem-text)!important}
body.rem-ui2 :is(.siga-stat,.cnfe-stat,.c-stat,.m-stat,.exec-summary-number,.hist-stat,.log-stat,.isst-stat,.iss-stat) strong{color:var(--rem-gold)!important}
/* Controles: rótulo, foco e estados consistentes. */
body.rem-ui2 :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=date],input[type=month],input[type=datetime-local],input[type=time],input[type=tel],input[type=url],select,textarea){background:#09221b!important;color:var(--rem-text)!important;border:1px solid #48695b!important;border-radius:9px!important;padding:10px 12px!important;font:inherit!important;line-height:1.4!important;min-height:42px;max-width:100%;box-shadow:none!important;min-width:0}
body.rem-ui2 textarea{resize:vertical;overflow-wrap:anywhere}
body.rem-ui2 :is(input,textarea)::placeholder{color:#a5beb2!important;opacity:1}
body.rem-ui2 select option{background:#0e2922!important;color:var(--rem-text)!important}
body.rem-ui2 :is(input[type=checkbox],input[type=radio]){accent-color:var(--rem-gold);flex-shrink:0}
body.rem-ui2 input[type=file]{font:inherit;color:var(--rem-muted)!important;width:100%;max-width:100%;min-width:0;overflow:hidden}
body.rem-ui2 input[type=file]::file-selector-button{font:inherit;background:#193f31;color:var(--rem-text);border:1px solid var(--rem-line);border-radius:8px;padding:10px 12px;margin-right:10px;max-width:100%;white-space:normal}
body.rem-ui2 :is(.field,.c-field,.fin-field,.fin-filter-field,.ui-field,.dp-field,.cp-f)>label{display:block;margin-bottom:6px;color:var(--rem-muted)!important;font-size:12px!important;font-weight:600!important}
body.rem-ui2 :is(.btn,.cp-btn,.fin-value-toggle,.fin-company-switch-button){display:inline-flex;align-items:center;justify-content:center;gap:7px;border-radius:10px!important;min-height:42px;padding:10px 14px!important;font:600 13px/1.35 "Segoe UI",Arial,sans-serif!important;cursor:pointer;text-decoration:none!important;white-space:normal!important;text-align:center;border:1px solid var(--rem-line)!important;box-shadow:none!important;max-width:100%}
body.rem-ui2 :is(.btn-secondary,.cp-btn,.fin-value-toggle){background:#17392d!important;color:var(--rem-text)!important}
body.rem-ui2 :is(.btn-primary,.btn-gold,.cp-btn.pri,.cp-btn.gold,.fin-company-switch-button){background:var(--rem-gold)!important;color:#15251a!important;border-color:var(--rem-gold)!important}
body.rem-ui2 :is(.btn-danger,.cp-btn.danger){background:#3b2725!important;color:#ffb0a6!important;border-color:#87584e!important}
body.rem-ui2 :is(.btn,.cp-btn,.fin-value-toggle):hover:not(:disabled){filter:brightness(1.12);transform:none}
body.rem-ui2 :is(button:disabled,input:disabled,select:disabled,.btn.disabled){opacity:.55;cursor:not-allowed}
body.rem-ui2 :is(.cnfe-row-actions,.row-actions,.fin-row-actions,.admin-row-actions,.cp-acts){display:flex;gap:8px;flex-wrap:wrap;align-items:center}
/* Tabelas rolam dentro do seu módulo; nunca empurram a página. */
body.rem-ui2 :is(.table-wrap,[class$="-table-wrap"],.cp-scroll){max-width:100%!important;min-width:0;overflow:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#48695b #09221b}
body.rem-ui2 table{width:100%;color:var(--rem-text)!important;border-collapse:collapse;font-variant-numeric:tabular-nums}
body.rem-ui2 table :is(th,td){border-color:#2d4d40!important}
body.rem-ui2 table th{background:#102e24!important;color:var(--rem-muted)!important;font-size:11px!important;letter-spacing:.035em;line-height:1.4!important;padding:12px!important}
body.rem-ui2 table td{color:var(--rem-text)!important;font-size:13px!important;line-height:1.5!important;padding:12px!important;background:transparent!important}
body.rem-ui2 table td :is(strong,.c-company-name,.cnfe-company-name){color:var(--rem-text)!important}
body.rem-ui2 table small{color:var(--rem-muted)!important}
body.rem-ui2 table tbody tr:hover td{background:#173a2d!important}
body.rem-ui2 :is(.c-link,.cnfe-row-actions a,.row-actions a){color:var(--rem-gold)!important}
body.rem-ui2 :is(.c-danger,.cnfe-row-actions .danger){color:#ffb0a6!important}
body.rem-ui2 :is(.badge,.c-badge,.siga-status,.m-status,.hist-status,.fin-status,.ui-tag){font-size:11px!important;font-weight:650!important;line-height:1.4!important;border-radius:7px!important;padding:5px 8px!important}
body.rem-ui2 :is(.badge.active,.c-badge.ok,.siga-status.ok,.fin-status-ok,.ui-tag.ok){background:#153b2d!important;color:#93e4b7!important}
body.rem-ui2 :is(.badge.inactive,.c-badge.error,.fin-status-danger,.ui-tag.err){background:#3b2725!important;color:#ffb0a6!important}
body.rem-ui2 :is(.c-badge.warn,.fin-status-warn,.ui-tag.warn){background:#38331c!important;color:#f5d875!important}
/* Certidões: todos os estados compartilham os mesmos tokens. */
body.rem-ui2 .cp-nav{background:#0e2922!important;border-color:var(--rem-line)!important;flex-wrap:wrap;overflow:visible;gap:6px;padding:8px;box-shadow:none}
body.rem-ui2 .cp-nav a{color:var(--rem-muted)!important;padding:9px 12px;min-height:38px}
body.rem-ui2 .cp-nav a.on{background:#30361b!important;color:var(--rem-gold)!important}
body.rem-ui2 .cp-nav :is(a.cp-nav-cta,button.cp-nav-cta){background:var(--rem-gold)!important;color:#15251a!important;min-height:40px}
body.rem-ui2 .cp-kpis{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:12px;margin:0 0 18px}
body.rem-ui2 .cp-kpi{background:#0e2922!important;border-color:var(--rem-line)!important;min-height:116px;padding:16px!important;color:var(--rem-text)!important;white-space:normal;text-align:left}
body.rem-ui2 .cp-kpi.main{--k:#66d9a0;grid-column:auto}
body.rem-ui2 .cp-kpi :is(span,em){color:var(--rem-muted)!important}
body.rem-ui2 .cp-kpi strong{color:var(--k,var(--rem-text))!important;font-size:30px!important;line-height:1.2!important}
body.rem-ui2 .cp-charts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-bottom:20px}
body.rem-ui2 .cp-card{padding:20px!important;min-width:0}
body.rem-ui2 .cp-card h3{font-size:16px!important;margin-bottom:5px}
body.rem-ui2 :is(.cp-legend button,.cp-funnel button){background:#123228!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important;min-height:42px}
body.rem-ui2 :is(.cp-legend button.on,.cp-legend button:hover,.cp-funnel button:hover){background:#1b4132!important}
body.rem-ui2 :is(.cp-donut text){fill:var(--rem-text)!important}
body.rem-ui2 :is(.cp-legend .lb,.cp-legend b,.cp-funnel button span,.cp-funnel button b,.cp-col b,.cp-bar-row>span){color:var(--rem-text)!important}
body.rem-ui2 .cp-bar-row{grid-template-columns:88px minmax(0,1fr) 40px}
body.rem-ui2 .cp-stack{min-width:0;background:#29483c!important}
body.rem-ui2 .cp-cols{height:170px}
body.rem-ui2 .cp-filters{position:relative!important;top:auto!important;z-index:10!important;background:transparent!important;padding:0;margin:0 0 18px;backdrop-filter:none}
body.rem-ui2 .cp-search input{padding-left:36px!important}
body.rem-ui2 :is(.cp-select,.cp-inline){padding-right:28px!important}
body.rem-ui2 .cp-chips{background:#09221b!important}
body.rem-ui2 .cp-chip{color:var(--rem-muted)!important;min-height:36px}
body.rem-ui2 .cp-chip.on{background:#30361b!important;color:var(--rem-gold)!important}
body.rem-ui2 :is(.cp-tabs,.c-tabs){background:#0e2922!important;gap:8px}
body.rem-ui2 :is(.cp-tab,.c-tab){color:var(--rem-muted)!important;min-height:42px;white-space:normal}
body.rem-ui2 :is(.cp-tab.on,.c-tab.active){background:#24341f!important;color:var(--rem-gold)!important;border-color:var(--rem-gold)!important}
body.rem-ui2 .cp-tabs-tools{flex-wrap:wrap}
body.rem-ui2 .cp-tab .n{background:#203e30!important;color:var(--rem-text)!important}
body.rem-ui2 .cp-main{overflow:hidden}
body.rem-ui2 .cp-scroll{max-height:min(65dvh,740px);min-height:240px;position:relative}
body.rem-ui2 .cp-map{min-width:1130px}
body.rem-ui2 .cp-map th{z-index:2}
body.rem-ui2 .cp-cell{background:var(--bg)!important;color:var(--fg)!important;min-width:132px;padding:10px!important;white-space:normal;border-color:transparent!important}
body.rem-ui2 .cp-cell b{color:var(--fg)!important}
body.rem-ui2 .cp-cell small{color:var(--rem-text)!important;opacity:1}
body.rem-ui2 .g-atencao{--fg:#f5d875!important}
body.rem-ui2 :is(.cp-pill,.cp-tl-item .d){background:var(--bg)!important;color:var(--fg)!important}
body.rem-ui2 :is(.cp-tl-group,.cp-events,.cp-cert,.cp-menu-pop,.cp-mbox,.cp-drawer){background:var(--rem-panel)!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important}
body.rem-ui2 .cp-timeline{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}
body.rem-ui2 .cp-menu-pop{z-index:55;min-width:min(280px,calc(100vw - 48px));max-width:calc(100vw - 48px);box-shadow:0 16px 40px #0006}
body.rem-ui2 .cp-menu-pop button{color:var(--rem-text)!important;min-height:42px;white-space:normal}
body.rem-ui2 .cp-menu-pop button:hover{background:#193f30!important}
body.rem-ui2 .cp-overlay{z-index:90!important;background:#020b08b3!important}
body.rem-ui2 .cp-drawer{z-index:100!important;width:min(680px,100%)!important;max-height:100dvh;border-left:1px solid var(--rem-line)}
body.rem-ui2 .cp-dh{background:#12362a!important;padding:20px!important;flex-shrink:0}
body.rem-ui2 .cp-dh h2{overflow-wrap:anywhere}
body.rem-ui2 .cp-db{background:#09221b!important;min-height:0;overflow:auto;overscroll-behavior:contain;padding:18px 20px 28px!important}
body.rem-ui2 .cp-cert-h{flex-wrap:wrap;align-items:flex-start}
body.rem-ui2 .cp-cert-h .r{flex-wrap:wrap;margin-left:0;gap:7px}
body.rem-ui2 .cp-cert-b{overflow-wrap:anywhere}
body.rem-ui2 .cp-msg{background:#38331c!important;color:#f5d875!important;max-height:200px}
body.rem-ui2 .cp-kv{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.rem-ui2 .cp-trat .foot{flex-wrap:wrap;gap:12px}
body.rem-ui2 :is(.t-nova,.t-analise,.t-notificado,.t-aguardando,.t-resolvida){border:1px solid var(--rem-line)}
body.rem-ui2 .t-nova{background:#3b2725!important;color:#ffb0a6!important}
body.rem-ui2 .t-analise{background:#203446!important;color:#a7cfff!important}
body.rem-ui2 .t-notificado{background:#38331c!important;color:#f5d875!important}
body.rem-ui2 .t-aguardando{background:#302743!important;color:#cfb8ff!important}
body.rem-ui2 .t-resolvida{background:#153b2d!important;color:#93e4b7!important}
body.rem-ui2 .cp-modal{z-index:120!important;padding:24px!important;background:#020b08c4!important;max-width:100vw}
body.rem-ui2 .cp-mbox{max-height:calc(100dvh - 48px)!important;min-height:0;border:1px solid var(--rem-line)}
body.rem-ui2 .cp-mb{min-height:0;overscroll-behavior:contain}
body.rem-ui2 .cp-mf{background:#09221b!important;flex-shrink:0}
body.rem-ui2 .cp-notif{grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr)}
body.rem-ui2 .cp-preview{min-width:0;min-height:260px}
body.rem-ui2 .cp-preview iframe{max-width:100%;height:450px}
body.rem-ui2 .cp-x{color:var(--rem-text)!important;background:#214536!important;flex:0 0 36px;min-height:36px}
body.rem-ui2 .cp-toast{z-index:140!important;background:#1a4030!important;color:var(--rem-text)!important;border:1px solid var(--rem-line)}
/* Grids e barras reais dos demais módulos. */
body.rem-ui2 :is(.siga-toolbar,.cnfe-toolbar,.c-toolbar,.exec-toolbar,.hist-toolbar,.det-toolbar,.log-toolbar,.m-toolbar,.admin-actions-bar,.fin-toolbar,.fin-page-heading,.c-page-head,.fin-card-header){display:flex;flex-wrap:wrap;gap:16px;align-items:flex-start}
body.rem-ui2 :is(.siga-toolbar,.cnfe-toolbar,.c-toolbar,.exec-toolbar,.hist-toolbar,.det-toolbar,.log-toolbar,.m-toolbar,.admin-actions-bar,.fin-toolbar,.c-page-head)>*{min-width:0;max-width:100%}
body.rem-ui2 :is(.siga-toolbar-actions,.cnfe-actions,.c-actions,.exec-top-actions,.hist-toolbar-actions,.det-actions,.log-actions,.m-row-actions,.fin-filter-actions,.fin-toolbar-actions,.admin-filter-actions){display:flex;flex-wrap:wrap;gap:8px;min-width:0;max-width:100%}
body.rem-ui2 :is(.siga-stats,.cnfe-stats,.c-stats,.hist-stats,.det-stats,.log-stats,.m-stats,.isst-stats,.iss-stats,.admin-stats,.fin-kpi-grid,.fin-summary-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,165px),1fr))!important;gap:14px}
body.rem-ui2 :is(.exec-config-grid,.cnfe-info-grid,.c-summary,.imp-summary,.fin-dashboard-quick-grid,.fin-quick-grid,.contador-summary-grid){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr))!important;gap:16px}
body.rem-ui2 :is(.exec-config-card,.cnfe-stat,.siga-stat,.c-stat,.hist-stat,.det-stat,.log-stat,.m-stat,.iss-stat,.fin-kpi-card,.fin-summary-card,.exec-summary-number){background:var(--rem-panel)!important;border:1px solid var(--rem-line)!important;border-radius:14px!important;color:var(--rem-text)!important;min-width:0}
body.rem-ui2 :is(.fin-kpi-value,.fin-dashboard-cash-item strong){color:var(--rem-text)!important}
body.rem-ui2 .fin-kpi-card.warn .fin-kpi-value{color:#f5d875!important}
body.rem-ui2 .fin-kpi-card.danger .fin-kpi-value{color:#ffb0a6!important}
body.rem-ui2 :is(.fin-dashboard-grid,.fin-dashboard-grid-lower){grid-template-columns:minmax(0,1.5fr) minmax(0,1fr)!important;gap:18px}
body.rem-ui2 :is(.fin-dashboard-cash-item,.fin-user-chip,.contador-summary-item){background:#123228!important;border-color:var(--rem-line)!important}
body.rem-ui2 .adm-progress-item{background:transparent!important;color:var(--rem-muted)!important}
body.rem-ui2 .adm-progress-item b{background:#15372e!important;color:var(--rem-muted)!important;border-color:var(--rem-line)!important;box-shadow:none!important}
body.rem-ui2 .adm-progress-item.active{color:var(--rem-gold)!important}
body.rem-ui2 .adm-progress-item.active b{background:var(--rem-gold)!important;color:#15251a!important;border-color:var(--rem-gold)!important}
body.rem-ui2 .adm-progress-item.done b{background:#153b2d!important;color:#93e4b7!important}
body.rem-ui2 .adm-progress:before{background:var(--rem-line)!important}
body.rem-ui2 .adm-progress-line{background:var(--rem-gold)!important}
body.rem-ui2 :is(.wizard,.step-panel,.step-card,.seg-card,.factor-panel,.result-hero,.stat-card,.tax-card,.impact-card,.cal-side-card,.cal-day){background:var(--rem-panel)!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important}
body.rem-ui2 :is(.trustbar,.trust,.dp-intro,.dp-consent,.resc-aviso,.fer-info,.fer-modelo){background:#123228!important;color:var(--rem-muted)!important;border-color:var(--rem-line)!important}
body.rem-ui2 :is(.cal-weekday,.cal-day .cal-num){color:var(--rem-text)!important}
body.rem-ui2 .cal-day.outside{background:#09221b!important}.cal-day.outside .cal-num{color:#93ad9e!important}
body.rem-ui2 .cal-day.weekend{background:#123228!important}.cal-day.holiday{background:#302924!important}
/* Camadas: menus < detalhes < janelas < avisos. Sem alterar classes de abertura. */
body.rem-ui2 :is(.det-modal-overlay,.iss-error-modal,.log-clean-modal){z-index:110!important}
body.rem-ui2 :is(.det-modal,.c-detail-dialog){max-width:calc(100vw - 32px)!important;max-height:calc(100dvh - 32px)!important;overflow:auto;background:var(--rem-panel)!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important;z-index:120!important}
body.rem-ui2 :is(.det-modal-body,.c-detail-body){min-height:0;overflow:auto;overflow-wrap:anywhere}
body.rem-ui2 :is(.det-modal-header,.det-modal-footer){flex-wrap:wrap;gap:12px;background:#123228!important}
body.rem-ui2 :is(.c-detail-grid,.det-summary){grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr))!important}
/* Acesso público recebe identidade, sem navegação autenticada. */
body.rem-ui2:not(.rem-shell) .header{background:#081e18!important;border-color:var(--rem-line)!important}
body.rem-ui2:not(.rem-shell) .hero{background:linear-gradient(120deg,#0b251e,#10372b)!important}
body.rem-ui2 .login-card{background:var(--rem-panel)!important;border-color:var(--rem-line)!important}
body.rem-ui2 .login-wrap{max-width:500px}
@media(min-width:1720px){body.rem-ui2 .cp-charts{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:1400px){.rem-shell .fin-topbar{grid-template-columns:minmax(0,1fr)!important}.rem-shell .fin-topbar-actions{margin-left:0!important;justify-content:flex-start}.rem-shell .fin-company-switcher{width:min(100%,620px)!important}body.rem-ui2 .fin-user-chip{max-width:220px}}
@media(max-width:1100px){
 body.rem-shell{padding-left:0!important}.rem-sidebar{transform:translateX(-102%);transition:transform .18s;box-shadow:20px 0 70px #0008;z-index:130}.rem-sidebar.is-open{transform:none}
 .rem-close{display:grid;place-items:center;position:absolute;right:8px;top:8px;width:34px;height:34px;border:1px solid var(--rem-line);border-radius:9px;background:#0e2922;color:var(--rem-text);font-size:24px}
 .rem-menu-toggle{display:grid;place-items:center;flex:0 0 38px;min-height:38px;border:1px solid var(--rem-line);border-radius:9px;background:#15372e;color:var(--rem-text);font-size:20px}
 .rem-shell :is(.fin-dashboard-grid,.fin-dashboard-grid-lower){grid-template-columns:minmax(0,1fr)!important}
 body.rem-ui2 :is(.fin-form-grid,.fin-filter-grid,.fin-config-grid,.contador-config-grid,.c-filter-grid,.cnfe-form,.isst-form,.ld-grid4){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.rem-ui2 .cp-notif{grid-template-columns:minmax(0,1fr)}
}
@media(max-width:700px){
 .rem-system-header{padding:12px 16px!important;gap:12px!important}.rem-breadcrumb{flex-basis:100%}
 .rem-shell :is(.header-actions,.fin-topbar-actions,.ui-actions){margin-left:0!important;width:100%;justify-content:flex-start}
 .rem-shell .userbox,.rem-shell .fin-user-chip{display:none!important}
 .rem-shell :is(.hero,.admin-hero,.automation-hero,.siga-hero,.iss-hero,.cnfe-hero,.cp-hero,.c-hero,.exec-hero,.hist-hero,.det-hero,.imp-hero,.log-hero,.m-hero,.page-hero,.siged-hero,.sigan-hero,.isst-hero,.pg-hero){padding:24px 16px!important}
 .rem-shell :is(.container,.admin-container,.automation-container,.siga-container,.iss-container,.cnfe-container,.cp-wrap,.c-wrap,.exec-container,.hist-container,.det-container,.imp-container,.log-container,.m-container,.page-wrap,.siged-container,.sigan-container,.isst-container,.pg-container,.dp-container,.cal-container,.ui-main,.fin-main,.pc-main){padding:18px 14px 30px!important}
 body.rem-ui2 :is(.panel,.admin-panel,.siga-panel,.iss-panel,.cnfe-panel,.c-panel,.exec-panel,.hist-panel,.det-panel,.log-panel,.m-panel,.dp-card,.ui-card){padding:16px!important}
 body.rem-ui2 :is(input:not([type]),input[type=text],input[type=search],input[type=email],input[type=password],input[type=number],input[type=date],input[type=month],input[type=datetime-local],input[type=time],input[type=tel],select,textarea){font-size:16px!important}
 body.rem-ui2 :is(.grid,.dp-grid,.admin-grid-2,.admin-check-grid,.admin-form-grid,.c-form-grid,.c-toggle-grid,.exec-config-grid,.siged-grid,.sigan-grid,.fin-form-grid,.fin-filter-grid,.fin-filter-grid-compact,.fin-config-grid,.contador-config-grid,.contador-layout,.fin-dashboard-cash-grid,.fin-person-classification-grid,.cnfe-info-grid,.cnfe-form,.c-filter-grid,.c-detail-grid,.isst-grid,.isst-form,.ld-grid2,.ld-grid3,.ld-grid4,.seg-grid,.factor-grid,.split-grid,.result-grid,.import-grid,.tax-grid,.impact-grid,.limit-grid,.resc-aviso-grid,.fer-grid,.g-form){grid-template-columns:minmax(0,1fr)!important}
 body.rem-ui2 :is(.full,.c-field.full,.fin-field.full){grid-column:1/-1!important}
 body.rem-ui2 :is(.cp-charts,.cp-trat,.cp-kv){grid-template-columns:minmax(0,1fr)!important}
 body.rem-ui2 .cp-kpis{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cp-kpi.main{grid-column:1/-1!important}
 body.rem-ui2 .cp-kpi strong{font-size:27px!important}
 body.rem-ui2 .cp-nav{gap:4px}.cp-nav-sp{display:none}.cp-nav .cp-nav-cta{flex:1 1 100%;text-align:center}
 body.rem-ui2 .cp-exec{min-width:0;width:100%}
 body.rem-ui2 .cp-frow{align-items:stretch}.cp-search{flex-basis:100%}.cp-frow .cp-select{flex:1 1 100%;max-width:none!important}
 body.rem-ui2 .cp-chips{width:100%;overflow:auto;flex-wrap:nowrap}
 body.rem-ui2 .cp-filter-card{padding:12px!important}.cp-tabs-sp{display:none}.cp-tabs-tools{width:100%}
 body.rem-ui2 .cp-tabs{padding:8px!important}.cp-tab{flex:1 1 auto;padding:10px 8px!important}
 body.rem-ui2 .cp-modal{padding:10px!important}.cp-mbox{max-height:calc(100dvh - 20px)!important;border-radius:12px!important}.cp-mh,.cp-mf,.cp-mb{padding:14px!important}
 body.rem-ui2 .cp-dh{padding:16px!important}.cp-dh h2{font-size:20px!important}.cp-db{padding:14px!important}
 body.rem-ui2 .cp-cert-h .r{width:100%}.cp-dh-top>div{min-width:0}.cp-dh .cp-acts{margin-top:12px}
 body.rem-ui2 .cp-menu-pop{right:0;min-width:250px}
 body.rem-ui2 .adm-progress{overflow-x:auto;justify-content:flex-start;gap:16px;padding-bottom:12px}.adm-progress-item{min-width:70px;flex:0 0 70px}.adm-progress:before{display:none}
 body.rem-ui2 .cal-grid{min-width:620px}.cal-main{max-width:100%;overflow-x:auto}.cal-toolbar{flex-wrap:wrap!important;gap:12px}
 body.rem-ui2 :is(.fin-filter-actions,.c-filter-actions,.c-filter-left,.c-filter-right,.c-batch-bar,.exec-company-toolbar,.exec-company-toolbar-actions){flex-wrap:wrap;max-width:100%;gap:10px}
 body.rem-ui2 .fin-filter-actions-nowrap{flex-wrap:wrap!important}
 body.rem-ui2 .fin-company-switcher-row{width:100%}
 body.rem-ui2 .cp-scroll{max-height:65dvh}
}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
}
@media print{.rem-sidebar,.rem-breadcrumb,.rem-menu-toggle{display:none!important}body.rem-shell{padding-left:0!important}}
@media screen {
body.rem-ui2 :is(.fin-btn,.ui-btn){display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:42px;height:auto!important;border-radius:10px!important;padding:10px 14px!important;font:600 13px/1.35 "Segoe UI",Arial,sans-serif!important;white-space:normal!important;max-width:100%;text-decoration:none!important}
body.rem-ui2 :is(.fin-btn-secondary,.ui-btn-secondary){background:#17392d!important;color:#edf5f1!important;border-color:#34564b!important}
body.rem-ui2 :is(.fin-btn-primary,.ui-btn-primary){background:#f2c419!important;color:#15251a!important;border-color:#f2c419!important}
body.rem-ui2 .fin-btn-danger{background:#3b2725!important;color:#ffb0a6!important;border-color:#87584e!important}
body.rem-ui2 .fin-form-card:has(.fin-search-select.is-open){overflow:visible!important}
body.rem-ui2 .fin-search-select-menu{max-height:min(280px,45dvh)!important;overscroll-behavior:contain;z-index:25!important;background:#0e2922!important;color:#edf5f1!important;border-color:#34564b!important}
body.rem-ui2 :is(.contador-map-row,.contador-param-row,.contador-people-row):focus-within{z-index:20!important}
body.rem-ui2 .contador-account-search:focus-within{z-index:21!important}
body.rem-ui2 .contador-account-search-panel{z-index:22!important;max-height:min(310px,45dvh)!important;overscroll-behavior:contain;background:#0e2922!important;color:#edf5f1!important;border-color:#34564b!important}
body.rem-ui2 :is(.adm-jornada,.adm-jornada-scroll,.fer-tabela){min-width:0;max-width:100%;overflow-x:auto}
body.rem-ui2 :is(.admin-form-grid,.admin-check-grid,.g-form,.cal-columns,.ui-grid)>*{min-width:0}
body.rem-ui2 :is(.admin-check-card,.fin-sensitive-value,.cal-next a){overflow-wrap:anywhere}
body.rem-ui2 .fin-form-footer{display:flex;flex-wrap:wrap;gap:12px}
body.rem-ui2 :is(.tax-total,.grand-total,.result-head-actions,.adm-actions){flex-wrap:wrap;gap:12px}
body.rem-ui2 :is(.grand-total strong,.result-hero h3){overflow-wrap:anywhere}
body.rem-ui2 :is(.fin-switch input:focus-visible+.fin-switch-ui,.c-switch input:focus-visible+.c-slider){outline:3px solid #f2c419!important;outline-offset:3px}
@media(max-width:1440px){body.rem-ui2 .fin-filter-grid-compact{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:980px){body.rem-ui2 .ui-grid.c4>.ui-span3{grid-column:1/-1!important}}
@media(max-width:900px){
 body.rem-ui2 :is(.contador-engine-filters,.activity-row,.activity-head){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.rem-ui2 .contador-engine-filters>*{min-width:0}
}
@media(max-width:700px){
 body.rem-ui2 :is(.contador-h-editor-grid,.contador-engine-filters,.fin-conc-filter,.admin-filter,.ui-grid,.cards[style*="grid-template-columns"],.ui-body [style*="grid-template-columns:repeat(3"],.fin-filter-grid-compact,.activity-row,.activity-head){grid-template-columns:minmax(0,1fr)!important}
 body.rem-ui2 .fin-fat-pay{min-width:0!important;grid-template-columns:minmax(0,1fr)!important}
 body.rem-ui2 :is(.ui-input-group,.ui-card-head,.g-actions,.g-row-actions){flex-wrap:wrap;gap:10px;max-width:100%}
}
@media(max-width:480px){body.rem-ui2[data-rem-module="calculadora"] .steps{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px}body.rem-ui2[data-rem-module="calculadora"] .steps::before{display:none!important}}
}

@media screen and (min-width:701px) and (max-width:1719px){body.rem-ui2 .cp-kpis{grid-template-columns:repeat(4,minmax(0,1fr))!important}body.rem-ui2 .cp-kpi.main{grid-column:span 2!important}}
@media screen{
body.rem-ui2 .fin-page-heading p{color:var(--rem-muted)!important}
body.rem-ui2 .fin-company-context{min-width:0!important}
body.rem-ui2 .c-dashboard-strip{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr))!important;gap:12px!important}
body.rem-ui2 .c-dashboard-item{background:#123228!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important}
body.rem-ui2 .c-dashboard-item span{color:var(--rem-muted)!important}
body.rem-ui2 .c-dashboard-item strong{color:var(--rem-gold)!important}
body.rem-ui2 :is(.c-filter-box,.c-batch-bar,.c-table-title){background:#123228!important;color:var(--rem-text)!important;border-color:var(--rem-line)!important}
body.rem-ui2 .c-text-action{color:var(--rem-gold)!important}
body.rem-ui2 .c-batch-bar{flex-wrap:wrap!important;gap:12px!important}
body.rem-ui2 :is(.c-batch-left,.c-batch-right,.c-cert-actions){display:flex;flex-wrap:wrap;gap:10px;min-width:0;max-width:100%}
body.rem-ui2 .c-doc-name{overflow-wrap:anywhere;word-break:break-word}
}
@media screen{
:root{--ui-green:#f2c419!important;--ui-green-deep:#ffd84d!important;--ui-green-ink:#15251a!important;--ui-green-soft:#17392d!important;--ui-gold:#f2c419!important;--ui-gold-soft:#38331c!important;--ui-gold-ink:#f5d875!important;--ui-paper:#071a15!important;--ui-ink:#edf5f1!important;--ui-muted:#b0c7bd!important;--ui-line:#34564b!important;--ui-line-soft:#29483c!important;--ui-danger:#ffb0a6!important;--ui-danger-soft:#3b2725!important}
body.rem-ui2 :is(.btn.primary,.btn.gold,.ui-btn:not(.ghost):not(.soft):not(.danger)){background:#f2c419!important;color:#15251a!important;border-color:#f2c419!important}
body.rem-ui2 :is(.btn.secondary,.btn.outline,.ui-btn.soft,.ui-btn.ghost){background:#17392d!important;color:#edf5f1!important;border-color:#34564b!important}
body.rem-ui2 .ui-btn.danger{background:#3b2725!important;color:#ffb0a6!important;border-color:#87584e!important}
body.rem-ui2[data-rem-module="calculadora"] .shell{margin:0 auto 24px!important;width:100%;max-width:1250px;padding:24px 28px!important}
body.rem-ui2[data-rem-module="calculadora"] .card{background:#0e2922!important;color:#edf5f1!important;border-color:#34564b!important;box-shadow:none!important}
body.rem-ui2[data-rem-module="calculadora"] .steps:before{background:#34564b!important}
body.rem-ui2[data-rem-module="calculadora"] .step.active .circle{background:#f2c419!important;color:#15251a!important;border-color:#f2c419!important}
@media(max-width:700px){body.rem-ui2[data-rem-module="calculadora"] .shell{padding:18px 14px!important}}
}
@media screen{
body.rem-ui2 .cp-exec{background:#15372e!important;border-color:#34564b!important;backdrop-filter:none}
body.rem-ui2 .exec-company-list{max-width:100%;min-width:0;overflow-x:auto;overscroll-behavior-x:contain}
body.rem-ui2 :is(.exec-company-name strong,.m-company strong){color:#edf5f1!important;overflow-wrap:anywhere}
body.rem-ui2 :is(.exec-pill,.m-status.on,.m-badge.ok){background:#153b2d!important;color:#93e4b7!important;border-color:#34564b!important}
body.rem-ui2 :is(.exec-pill.off,.m-status.off){background:#24363b!important;color:#b9cbd1!important;border-color:#34564b!important}
body.rem-ui2 .m-manage{color:#f2c419!important}body.rem-ui2 .m-delete{color:#ffb0a6!important}
@media(max-width:700px){body.rem-ui2 .exec-schedule-grid{grid-template-columns:minmax(0,1fr)!important}}
}
@media screen{body.rem-ui2 .exec-summary-number{background:transparent!important;border:0!important;padding:0!important;color:var(--rem-gold)!important}}
@media screen{
.rem-environments{border-top:1px solid #34564b;margin-top:14px;padding-top:12px}.rem-environments>summary{padding:12px 13px;font-weight:650;font-size:13px;color:#edf5f1;cursor:pointer;border-radius:9px;background:#123228}.rem-environments>summary:hover{background:#1b4132}.rem-environments-list{padding-top:5px}.rem-environments[open]>summary{color:#f2c419}
body.rem-ui2 .tool-card{display:flex;flex-direction:column;gap:8px;min-height:230px;position:relative;padding:22px!important;transition:border-color .15s,box-shadow .15s}
body.rem-ui2 .tool-card:hover{border-color:#b8a74c!important;box-shadow:0 8px 26px #0004!important}
body.rem-ui2 .tool-icon{display:grid;place-items:center;width:44px;height:44px;border:1px solid #5b6038;border-radius:12px;background:#28391e!important;color:#f2c419!important;margin-bottom:10px}
body.rem-ui2 .tool-icon .rem-icon{width:24px;height:24px}.tool-icon svg{width:24px;height:24px}
body.rem-ui2 .tool-card h3{font-size:18px!important;margin:0!important}
body.rem-ui2 .tool-card p{font-size:13px!important;color:#b0c7bd!important;margin:0 0 10px!important;flex:1;min-height:0!important}
body.rem-ui2 .tool-card>strong{color:#f2c419!important;margin-top:auto}
.rem-external-note{font-size:11px;color:#b0c7bd;display:block;margin-top:4px}
.rem-access-search{margin:18px 0 22px}.rem-access-search>label{display:block;font-size:13px;font-weight:600;color:#b0c7bd;margin-bottom:8px}.rem-access-search-row{display:flex;gap:8px}.rem-access-search-row input{flex:1;min-width:0}.rem-access-empty{padding:20px;border:1px dashed #48695b;border-radius:12px;color:#b0c7bd}
body.rem-ui2 :is(.fin-filter-form,.fin-filter-grid,.fin-filter-grid-compact,.fin-flow-filter,.fin-dre-filter,.fin-inad-filter,.fin-mov-filter,.fin-rec-filter,.fin-recon-filter,.fin-transfer-filter-grid,.fin-fat-filter-grid,.fin-approval-filter,.fin-audit-filter,.fin-cat-filter,.fin-cc-filter,.fin-conc-filter,.fin-report-filter){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,180px),1fr))!important;gap:12px!important;min-width:0}
body.rem-ui2 :is(.fin-filter-form,.fin-flow-filter,.fin-dre-filter,.fin-inad-filter,.fin-mov-filter,.fin-rec-filter,.fin-transfer-filter-grid,.fin-fat-filter-grid,.fin-approval-filter,.fin-audit-filter,.fin-cat-filter,.fin-cc-filter,.fin-conc-filter,.fin-report-filter)>*{min-width:0!important;max-width:100%}
body.rem-ui2 :is(.fin-flow-scroll,.fin-inad-scroll,.fin-cc-scroll,.fin-fat-scroll){max-width:100%;min-width:0;overflow:auto;overscroll-behavior-x:contain}
body.rem-ui2 :is(.fin-filter-actions-nowrap,.fin-filter-actions){display:flex;flex-wrap:wrap!important;align-items:end;gap:8px;max-width:100%}
body.rem-ui2 .cal-grid{min-width:0!important;grid-template-columns:repeat(7,minmax(0,1fr))!important}
body.rem-ui2 :is(.cal-day,.cal-weekday){min-width:0;overflow:hidden}
body.rem-ui2 .cal-day:focus-visible{outline-offset:-3px}
body.rem-ui2 .money{position:relative;min-width:0}
body.rem-ui2 .money input{padding-left:42px!important;text-align:right}
@media(max-width:700px){body.rem-ui2 :is(.fin-filter-form,.fin-filter-grid,.fin-filter-grid-compact,.fin-flow-filter,.fin-dre-filter,.fin-inad-filter,.fin-mov-filter,.fin-rec-filter,.fin-recon-filter,.fin-transfer-filter-grid,.fin-fat-filter-grid,.fin-approval-filter,.fin-audit-filter,.fin-cat-filter,.fin-cc-filter,.fin-conc-filter,.fin-report-filter){grid-template-columns:minmax(0,1fr)!important}}
}
@media screen{
.rem-menu-backdrop{display:none}
body.rem-ui2 .file-wrap{min-width:0;max-width:100%}
body.rem-ui2 .file-wrap :is(span,strong){overflow-wrap:anywhere;white-space:normal}
body.rem-ui2 :is(.admin-nav a,.cp-links a,.ui-portal){color:#f2c419!important}
@media(max-width:1100px){body.rem-menu-open{overflow:hidden!important}.rem-menu-backdrop:not([hidden]){display:block;position:fixed;inset:0;z-index:125;border:0;background:#020b08aa;cursor:pointer}}
}
@media screen{
.rem-module-group{margin:3px 0;border:1px solid #29483c;border-radius:10px;overflow:hidden}.rem-module-group>summary{color:#b0c7bd;font:600 12px/1.5 "Segoe UI",Arial,sans-serif;cursor:pointer;padding:12px 14px;background:#102d23}.rem-module-group[open]>summary{color:#f2c419;background:#183a2c}.rem-module-group .rem-nav-link{margin:3px 5px;font-size:12px!important;padding:10px 11px!important;min-height:40px!important}.rem-module-group .rem-icon{width:18px;height:18px;flex-basis:18px}.rem-module-group .rem-icon svg{width:18px;height:18px}
}
