.nf-expense-editor{position:relative;--editor-document-width:48%;color:var(--nf-text,#192d4c)}
.nf-editor-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:8px;padding-right:130px;min-height:42px}.nf-editor-heading h1{font-size:21px;margin:0}.nf-editor-heading small{color:#52627a}.nf-editor-heading .badge{font-size:11px;vertical-align:middle}.nf-editor-tools{display:flex;flex-wrap:wrap;gap:6px}.nf-editor-read{position:absolute;right:0;top:4px}.nf-editor-workspace{display:grid;grid-template-columns:minmax(300px,var(--editor-document-width)) minmax(360px,1fr);gap:12px;height:calc(100dvh - 165px);min-height:480px}.nf-editor-original,.nf-editor-data{border:1px solid #dce3ee;border-radius:10px;background:#fff;min-width:0;min-height:0;margin:0;overflow:hidden;display:flex;flex-direction:column}.nf-editor-original{resize:horizontal;max-width:100%;overflow:auto}.nf-editor-document-heading{display:flex;align-items:center;justify-content:space-between;padding:8px 10px;gap:8px}.nf-editor-original .nf-document-list{display:flex;gap:5px;padding:0 8px;max-height:62px;overflow:auto;flex-shrink:0}.nf-editor-original .nf-document-item{font-size:12px;min-width:0;padding:5px 8px;overflow-wrap:anywhere}.nf-editor-original .nf-preview-toolbar{display:flex;flex-wrap:wrap;gap:5px;padding:5px 8px;flex-shrink:0;font-size:12px}.nf-editor-original .nf-preview-toolbar[hidden]{display:none}.nf-editor-original .nf-preview-toolbar input{width:48px;padding:3px;height:28px}.nf-editor-original .nf-preview-status{font-size:12px;padding:5px 8px;min-height:0;flex-shrink:0}.nf-editor-original .nf-preview-stage{min-height:0;flex:1;height:auto;overflow:auto;padding:6px;background:#eef1f6;align-items:start}.nf-editor-original .nf-preview-canvas,.nf-editor-original .nf-preview-image{max-width:none}.nf-editor-attach{font-size:12px;padding:6px 10px;flex-shrink:0}.nf-editor-content{overflow:auto;min-height:0;padding:10px 12px;flex:1;scrollbar-gutter:stable}.nf-editor-content fieldset{min-width:0}.nf-editor-reading{font-size:12px;padding:7px 9px;border-radius:6px;background:#eef4ff;margin-bottom:8px}.nf-editor-warning{background:#fff4d8;color:#754a00}.nf-editor-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 10px}.nf-expense-editor label{display:block;margin:0;font-size:12px;font-weight:600;min-width:0}.nf-expense-editor .form-control,.nf-expense-editor .form-select{min-width:0;padding:5px 7px;font-size:14px;min-height:31px;height:auto;line-height:1.25}.nf-expense-editor .form-control:focus{box-shadow:0 0 0 2px #255ed833}.nf-expense-editor .btn{min-height:30px;padding:5px 9px;line-height:1.25}.nf-editor-label{display:flex;justify-content:space-between;align-items:center;gap:6px}.nf-editor-link{border:0;background:transparent;color:#2259dc;font-size:12px;padding:2px 3px;text-decoration:underline;min-height:22px}.nf-editor-concept{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.4fr);gap:8px;margin:7px 0}.nf-editor-amounts{display:grid;grid-template-columns:1fr .65fr 1fr 1.15fr;gap:7px}.nf-editor-gross input{font-weight:700;background:#eef4ff;color:#173f9a}.nf-editor-line{border-bottom:1px solid #e1e7ef;padding-bottom:3px;margin-bottom:4px}.nf-editor-tax-details{font-size:12px;margin-top:5px}.nf-editor-tax-details summary{color:#52627a}.nf-editor-tax-details[open] .nf-editor-fields{margin-top:6px}.nf-editor-line>[data-editor-remove]{float:right}.nf-editor-line:only-child>[data-editor-remove]{display:none}.nf-editor-line-actions{display:flex;justify-content:space-between;align-items:center;font-size:12px;gap:8px;margin:5px 0}.nf-editor-treatment{grid-template-columns:1.1fr .8fr .8fr 1fr;align-items:end}.nf-editor-check{display:flex!important;align-items:center;gap:5px;min-height:31px}.nf-editor-check input{margin:0}.nf-editor-more,.nf-editor-evidence{font-size:12px;margin-top:8px;border-top:1px solid #e1e7ef;padding-top:5px}.nf-editor-more[open] .nf-editor-fields{margin-top:7px}.nf-editor-wide{grid-column:1/-1}.nf-editor-footer{display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;padding:8px 10px;background:#fff;border-top:1px solid #dce3ee;flex-shrink:0;font-size:11px}.nf-editor-footer>div{display:flex;gap:5px;flex-wrap:wrap}.nf-editor-footer [data-editor-save-status]{color:#21643d}.nf-editor-mobile{display:none}.nf-editor-difference{display:flex;align-items:center;gap:6px;margin:6px 0;font-weight:400!important}.nf-editor-difference input{flex-shrink:0}.nf-editor-focus .nf-sidebar{width:64px}.nf-editor-focus.nf-authenticated .nf-workspace-main{margin-left:64px}.nf-editor-focus .nf-workspace-content{padding:10px 14px}.nf-editor-focus .nf-workspace-footer{display:none}.nf-editor-focus .nf-sidebar .nf-brand-name,.nf-editor-focus .nf-sidebar .nf-sidebar-footer,.nf-editor-focus .nf-sidebar .nf-nav-label{display:none}.nf-expense-editor .nf-control-help-trigger{display:none}.nf-editor-data .nf-autocomplete-results{z-index:1100}.nf-editor-invalid{border-color:#b42318!important}.nf-editor-save-error{color:#b42318!important}
@media(max-width:1100px){.nf-editor-heading{align-items:start}.nf-editor-tools [data-editor-focus]{display:none}.nf-editor-treatment{grid-template-columns:repeat(2,minmax(0,1fr))}.nf-editor-footer>div .btn{font-size:12px}}
.nf-editor-focus .nf-sidebar .nf-brand{font-size:0}.nf-editor-focus .nf-sidebar .nf-brand-mark{font-size:16px}.nf-editor-focus .nf-navigation>a,.nf-editor-focus .nf-navigation>details>summary{font-size:0;justify-content:center;padding:12px}.nf-editor-focus .nf-navigation .nf-icon{width:20px;height:20px;flex-shrink:0}.nf-editor-focus .nf-sidebar-bottom,.nf-editor-focus .nf-navigation>details>a{display:none}
.nf-expense-editor .nf-control-help-button{display:none}.nf-expense-editor [data-apply-product],.nf-expense-editor [data-lookup]+.btn-link{padding:0;min-height:19px;font-size:11px;margin:0}.nf-expense-editor .nf-control-help-wrap{display:contents}
.nf-editor-status-row{display:grid;grid-template-columns:minmax(0,1fr) 145px;gap:8px;margin-bottom:7px;align-items:end}.nf-editor-status-row .nf-editor-reading{margin:0}.nf-editor-heading>div:first-child{min-width:0}.nf-editor-heading small{display:block;max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:800px){.nf-editor-focus.nf-authenticated .nf-workspace-main{margin-left:0}.nf-editor-focus .nf-sidebar{width:var(--nf-sidebar-width,224px)}.nf-editor-heading{padding-right:0;flex-wrap:wrap}.nf-editor-read{position:static;margin-top:6px}.nf-editor-mobile{display:flex;gap:6px;margin-bottom:7px}.nf-editor-workspace{grid-template-columns:1fr;height:auto;min-height:0}.nf-editor-workspace[data-editor-view=data] .nf-editor-original{display:none}.nf-editor-workspace[data-editor-view=document] .nf-editor-data{display:none}.nf-editor-data{min-height:60vh}.nf-editor-original{height:70vh;resize:none}.nf-editor-content{overflow:visible}.nf-editor-footer{position:sticky;bottom:0}.nf-editor-amounts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(pointer:coarse){.nf-expense-editor .form-control,.nf-expense-editor .form-select{font-size:16px;min-height:44px}.nf-expense-editor .btn,.nf-editor-link{min-height:44px}}
@media(min-width:801px) and (max-height:750px){.nf-editor-workspace{height:calc(100dvh - 155px);min-height:390px}.nf-editor-content{padding:7px 9px}.nf-editor-reading{padding:5px 7px;margin-bottom:5px}.nf-editor-fields{gap:5px 7px}.nf-editor-concept{margin:5px 0}.nf-editor-more,.nf-editor-evidence{margin-top:5px}}
