/* Controles LumenFlow: os campos HTML originais preservam dados e validação. */
.lf-control{position:relative;display:inline-flex;flex-direction:column;min-width:0;max-width:100%;width:100%;vertical-align:middle;font-size:14px;font-weight:600;line-height:1.45}
.lf-control>.lf-native-control{position:absolute!important;width:1px!important;height:1px!important;min-width:0!important;min-height:0!important;padding:0!important;margin:-1px!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;pointer-events:none!important}
.lf-control-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:0;width:100%;min-height:43px;padding:10px 12px;border:1px solid #cddde4;border-radius:9px;background:#fcfefe;color:#274e60;font:inherit;font-weight:650;text-align:left;cursor:pointer;box-shadow:0 1px 2px #173d4904;transition:border-color .14s,box-shadow .14s,background .14s}
.lf-control-trigger:hover:not(:disabled){border-color:#89bec7;background:#fff}
.lf-control-trigger:focus-visible,.lf-control-open>.lf-control-trigger{outline:0;border-color:#009eaa;background:#fff;box-shadow:0 0 0 3px #009eaa1c}
.lf-control-trigger[aria-invalid=true]{border-color:#c95565;box-shadow:0 0 0 3px #c9556514}
.lf-control-trigger:disabled{background:#f1f5f6;border-color:#dfe8eb;color:#8aa0a9;cursor:not-allowed;box-shadow:none}
.lf-control-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.lf-control-trigger>svg{width:19px;height:19px;flex:0 0 19px;color:#7395a0;stroke-linecap:round;stroke-linejoin:round}
.lf-control-open>.lf-control-trigger>svg{color:#008b98}
.lf-control-error{display:block;margin-top:6px;font-size:12px;font-weight:650;color:#ad3b4d;line-height:1.5}
.grid-controls>.lf-control{width:auto;min-width:160px;max-width:300px}
.toolbar>.lf-control{width:auto;min-width:180px}
.line-item>.lf-control .lf-control-trigger{font-size:13px}
.lf-picker{position:fixed;inset:auto;margin:0;padding:7px;box-sizing:border-box;border:1px solid #d2e5e9;border-radius:14px;background:#fff;color:#274e60;font:14px/1.5 Nunito,"Segoe UI",Arial,sans-serif;box-shadow:0 18px 50px #07384426,0 3px 10px #0738440b;z-index:1000;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b6d8df transparent}
.lf-picker[popover]:not(:popover-open){display:none}
.lf-picker:popover-open{display:block}
.lf-picker::backdrop{background:transparent;pointer-events:none}
.lf-picker *{box-sizing:border-box}
.lf-picker button,.lf-picker input{font-family:inherit}
.lf-picker-search{padding:4px 4px 9px;border-bottom:1px solid #e8f0f3;margin-bottom:5px}
.lf-picker-search input{display:block;width:100%;max-width:none;min-height:39px;border:1px solid #d8e8eb;border-radius:8px;background:#f5fafb;padding:8px 11px;font-size:13px;color:#274e60;outline:none}
.lf-picker-search input:focus{background:#fff;border-color:#009eaa;outline:0;box-shadow:0 0 0 2px #009eaa16}
.lf-options{max-height:330px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:2px;outline:none}
.lf-option{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 11px;min-height:38px;border-radius:7px;color:#456875;font-size:13px;font-weight:650;cursor:pointer;overflow-wrap:anywhere}
.lf-option[aria-selected=true]{background:#e7f6f7;color:#007c89;font-weight:800}
.lf-option.lf-option-focused{background:#eff8fa;box-shadow:inset 0 0 0 1px #a8d8df;color:#076d7c}
.lf-option[aria-selected=true].lf-option-focused{background:#ddf2f4;box-shadow:inset 0 0 0 1px #8bcbd3}
.lf-option[aria-disabled=true]{opacity:.5;cursor:not-allowed}
.lf-option-check{flex-shrink:0;font-size:15px;font-weight:900;color:#008d98}
.lf-option-group{padding:12px 11px 5px;font-size:10px;font-weight:850;letter-spacing:.8px;color:#7b95a0;text-transform:uppercase}
.lf-picker-empty{padding:23px 15px;text-align:center;font-size:13px;color:#78929c}
.lf-calendar{padding:13px;width:320px}
.lf-calendar-head{display:flex;align-items:center;justify-content:space-between;gap:6px;margin-bottom:13px}
.lf-calendar-nav,.lf-calendar-title{display:inline-flex;align-items:center;justify-content:center;min-height:34px;border:0;border-radius:8px;background:transparent;color:#386472;cursor:pointer;font:inherit}
.lf-calendar-nav{width:34px;padding:7px;flex:0 0 34px}
.lf-calendar-nav svg{width:19px;height:19px;stroke-linecap:round;stroke-linejoin:round}
.lf-calendar-title{padding:6px 10px;font-size:14px;font-weight:850}
.lf-calendar-nav:hover:not(:disabled),.lf-calendar-title:hover{background:#eaf7f8;color:#007d8a}
.lf-calendar-nav:disabled{color:#bdcdd2;cursor:not-allowed}
.lf-calendar-grid{display:grid;gap:4px}
.lf-days{grid-template-columns:repeat(7,minmax(0,1fr))}
.lf-months{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;padding:4px 0 9px}
.lf-years{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;padding:4px 0 9px}
.lf-weekday{display:flex;align-items:center;justify-content:center;height:25px;color:#91a6af;font-size:10px;font-weight:850}
.lf-calendar-cell{position:relative;display:inline-flex;align-items:center;justify-content:center;min-width:0;min-height:34px;padding:5px 2px;border:1px solid transparent;border-radius:8px;background:#fff;color:#345a69;font:inherit;font-size:13px;font-weight:700;cursor:pointer;font-variant-numeric:tabular-nums}
.lf-months .lf-calendar-cell,.lf-years .lf-calendar-cell{min-height:45px;font-size:13px}
.lf-calendar-cell.lf-outside{color:#a1b4bc}
.lf-calendar-cell:hover:not(:disabled){background:#eaf7f8;color:#007f8c;border-color:#c9e8ec}
.lf-calendar-cell[aria-current=date]{color:#007f8c;background:#eff9fa;font-weight:900}
.lf-calendar-cell[aria-current=date]:after{content:'';position:absolute;bottom:3px;width:3px;height:3px;border-radius:50%;background:currentColor}
.lf-calendar-cell[aria-pressed=true]{background:#008d9b;color:#fff;font-weight:850;box-shadow:0 2px 5px #008d9b26}
.lf-calendar-cell[aria-pressed=true]:hover:not(:disabled){background:#007b89;color:#fff;border-color:#007b89}
.lf-calendar-cell:disabled{color:#c4d0d5;background:transparent;cursor:not-allowed;box-shadow:none}
.lf-picker-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid #e7eff2;padding:10px 0 0;margin-top:10px}
.lf-picker-link{min-height:30px;padding:5px 9px;border:0;border-radius:7px;background:transparent;color:#00818f;font:inherit;font-size:12px;font-weight:800;cursor:pointer}
.lf-picker-link:hover:not(:disabled){background:#eaf7f8}
.lf-picker-link:disabled{color:#a4b8c0;cursor:not-allowed}
.lf-calendar button:focus-visible{outline:2px solid #008f9d;outline-offset:2px}
textarea{line-height:1.65;scrollbar-width:thin}
textarea:hover:not(:disabled):not(:focus){border-color:#9bbfc9}
input[type=checkbox],input[type=radio]{accent-color:#008e9b;cursor:pointer}
input[type=checkbox]:disabled,input[type=radio]:disabled{cursor:not-allowed;opacity:.5}
@media(max-width:760px){.grid-controls>.lf-control{flex:1 1 160px;max-width:none;min-width:0}.lf-control-trigger{min-height:43px}.lf-options{max-height:280px}.lf-picker{border-radius:12px}.lf-calendar-cell{min-height:36px}}
@media(prefers-reduced-motion:reduce){.lf-control-trigger{transition:none}}
@media(forced-colors:active){.lf-control-trigger,.lf-picker,.lf-option.lf-option-focused,.lf-calendar-cell{border:1px solid ButtonText}.lf-option[aria-selected=true],.lf-calendar-cell[aria-pressed=true]{background:Highlight;color:HighlightText}.lf-native-control{forced-color-adjust:none}}
