/* 0.5.86 — editor-only hierarchy. Saved geometry and disabled/hidden controls remain authoritative. */
html[data-interface567] #modal.f586-editor,#nf-picker.f586-picker{--f586-ink:#163b4b;--f586-muted:#52697a;--f586-line:#d9e4ec;--f586-surface:#f5f8fa;--f586-teal:#087d89;--f586-warn:#b85b06;--f586-error:#a43131;color:var(--f586-ink)}
html[data-interface567] #modal.f586-editor:not(.fl26-preview-surface){width:min(860px,100vw)!important;max-width:100vw}
html[data-interface567] #modal.f586-editor.f517-drawer[open]{border-radius:18px 0 0 18px}
html[data-interface567] #modal.f586-editor::backdrop{background:#15374655;backdrop-filter:none}
html[data-interface567] #modal.f586-editor.f517-wide:not(.fl26-preview-surface){width:min(1060px,100vw)!important}
html[data-interface567] #modal.f586-editor>.modal-header{padding:22px 28px;min-height:96px;border-color:var(--f586-line);box-shadow:0 1px 0 #fff}
html[data-interface567] #modal.f586-editor>.modal-header h2{font-size:24px;line-height:1.25;font-weight:700;letter-spacing:-.025em;color:var(--f586-ink)}
html[data-interface567] #modal.f586-editor>.modal-header small{font-size:13px;line-height:1.45;color:var(--f586-muted)}
html[data-interface567] #modal.f586-editor>.modal-body{padding:22px 28px 28px;background:var(--f586-surface);font-size:14px;line-height:1.55}
html[data-interface567] #modal.f586-editor>.modal-footer{padding:16px 28px calc(16px + env(safe-area-inset-bottom));background:#fff;border-color:var(--f586-line);box-shadow:0 -4px 16px #163b4b05}
html[data-interface567] #modal.f586-editor .btn{min-height:44px;padding:10px 16px;border-color:#ccdce5;border-radius:10px;font-size:13px;font-weight:600;line-height:1.35;color:var(--f586-ink);gap:8px}
html[data-interface567] #modal.f586-editor .btn.primary{background:var(--f586-teal);border-color:var(--f586-teal);color:white;box-shadow:0 2px 5px #087d891c}
html[data-interface567] #modal.f586-editor .btn.primary:hover:not(:disabled){background:#066b76;border-color:#066b76}
html[data-interface567] #modal.f586-editor .btn.danger{background:#fff3f1;border-color:#e7b5b0;color:#9b2d26}
html[data-interface567] #modal.f586-editor .btn:disabled{opacity:.65;cursor:not-allowed;box-shadow:none}
html[data-interface567] #modal.f586-editor .icon-btn{border-radius:10px;min-height:44px;min-width:44px;border:1px solid var(--f586-line);color:var(--f586-muted);background:#fff}
html[data-interface567] #modal.f586-editor .f586-icon,#nf-picker.f586-picker .f586-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;vertical-align:middle;line-height:1}
html[data-interface567] #modal.f586-editor .f586-icon svg,#nf-picker.f586-picker .f586-icon svg{width:18px;height:18px;display:block}
html[data-interface567] #modal.f586-editor .f586-form{min-width:0}
html[data-interface567] #modal.f586-editor .f586-section-heading{display:flex;align-items:flex-start;gap:12px;padding:2px 0 18px;margin:0}
html[data-interface567] #modal.f586-editor .f586-section-heading>.f586-icon{width:38px;height:38px;border-radius:11px;background:#e5f1f3;border:1px solid #d4e7eb;color:#087582;margin-top:1px}
html[data-interface567] #modal.f586-editor .f586-section-heading h3{font-size:16px;font-weight:700;color:var(--f586-ink);line-height:1.4;margin:0 0 3px}
html[data-interface567] #modal.f586-editor .f586-section-heading p{font-size:12px;line-height:1.55;color:var(--f586-muted);margin:0}
html[data-interface567] #modal.f586-editor .nf-form-grid:not(.fl26-grid-custom){gap:20px 18px;align-items:start}
html[data-interface567] #modal.f586-editor .f517-essentials{padding:22px;background:#fff;border:1px solid var(--f586-line);border-radius:14px;box-shadow:0 2px 6px #163b4b04}
html[data-interface567] #modal.f586-editor .nf-field{gap:7px;font-size:13px;line-height:1.5;min-width:0}
html[data-interface567] #modal.f586-editor .nf-field>span{display:flex;align-items:center;flex-wrap:wrap;gap:4px;color:#294b5b;font-size:13px;line-height:1.45;font-weight:600;margin:0}
html[data-interface567] #modal.f586-editor .nf-field>span>.f586-required-mark{color:#b05212;font-weight:700}
html[data-interface567] #modal.f586-editor .nf-field>span>.f586-state{display:inline-flex;align-items:center;gap:4px;font-size:10px;line-height:1.4;font-weight:500;color:#58707e;border:1px solid #dce5eb;background:#edf2f5;padding:3px 6px;border-radius:5px;margin-left:3px}
html[data-interface567] #modal.f586-editor .nf-field>span>.f586-state .f586-icon svg{width:11px;height:11px}
html[data-interface567] #modal.f586-editor input:not([type=checkbox]):not([type=radio]):not([type=file]),html[data-interface567] #modal.f586-editor select,html[data-interface567] #modal.f586-editor textarea{font:inherit;font-size:14px;font-weight:400;line-height:1.45;min-height:46px;border:1px solid #bccfdc;border-radius:9px;background:#fff;color:#163b4b;padding:11px 12px;max-width:100%;box-sizing:border-box;box-shadow:0 1px 2px #163b4b03}
html[data-interface567] #modal.f586-editor textarea{min-height:110px;resize:vertical}
html[data-interface567] #modal.f586-editor input::placeholder,html[data-interface567] #modal.f586-editor textarea::placeholder{color:#6c7e8b;opacity:1}
html[data-interface567] #modal.f586-editor input:not([type=checkbox]):not([type=radio]):hover:not(:disabled):not([readonly]),html[data-interface567] #modal.f586-editor select:hover:not(:disabled),html[data-interface567] #modal.f586-editor textarea:hover:not(:disabled):not([readonly]){border-color:#809eaf}
html[data-interface567] #modal.f586-editor input[type=checkbox],html[data-interface567] #modal.f586-editor input[type=radio]{accent-color:var(--f586-teal);width:19px;height:19px;flex-shrink:0}
html[data-interface567] #modal.f586-editor input[readonly],html[data-interface567] #modal.f586-editor input:disabled,html[data-interface567] #modal.f586-editor select:disabled,html[data-interface567] #modal.f586-editor textarea[readonly],html[data-interface567] #modal.f586-editor textarea:disabled,html[data-interface567] #modal.f586-editor .nf-relation:disabled{background:#edf2f5;color:#506a79;border-color:#d7e1e8;opacity:1;box-shadow:none;cursor:default}
html[data-interface567] #modal.f586-editor .nf-field>small{font-size:11px;font-weight:400;line-height:1.5;color:#58717f;margin:0}
html[data-interface567] #modal.f586-editor .nf-field>small.i518-hint{font-size:12px;font-weight:400;color:#52697a;line-height:1.5}
html[data-interface567] #modal.f586-editor .nf-field>small.i518-error,html[data-interface567] #modal.f586-editor .i518-error{font-size:12px;font-weight:600;line-height:1.5;color:var(--f586-error)}
html[data-interface567] #modal.f586-editor .nf-relation{min-height:48px;padding:11px 12px;border:1px solid #bccfdc;border-radius:9px;background:#fff;color:#254b60;font-size:13px;line-height:1.5;gap:9px}
html[data-interface567] #modal.f586-editor .nf-relation:not(:disabled):hover{border-color:#70a2ad;background:#f4fafb}
html[data-interface567] #modal.f586-editor .nf-relation>svg:first-child{color:#087d89}
html[data-interface567] #modal.f586-editor .nf-relation>svg:last-child{color:#5d7888;width:17px;height:17px}
html[data-interface567] #modal.f586-editor .nf-relation>span{overflow-wrap:anywhere;min-width:0}
html[data-interface567] #modal.f586-editor .nf-coords{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
html[data-interface567] #modal.f586-editor .nf-coords input{min-width:0}
html[data-interface567] #modal.f586-editor .nf-fixed,html[data-interface567] #modal.f586-editor .nf-disabled{padding:13px 14px;border:1px solid #d7e1e8;background:#edf2f5;border-radius:9px;color:#506a79;font-size:13px;line-height:1.5}
html[data-interface567] #modal.f586-editor .f517-details{border:1px solid var(--f586-line);background:#fff;border-radius:12px;margin:18px 0 0;overflow:visible}
html[data-interface567] #modal.f586-editor .f517-details>summary{display:flex;align-items:center;gap:9px;min-height:52px;padding:14px 18px;font-size:13px;font-weight:650;color:#294b5b;list-style:none;border-radius:12px}
html[data-interface567] #modal.f586-editor .f517-details>summary::-webkit-details-marker{display:none}
html[data-interface567] #modal.f586-editor .f517-details>summary::after{content:'';width:7px;height:7px;border-right:1.5px solid #607d8d;border-bottom:1.5px solid #607d8d;transform:rotate(45deg);margin-left:auto;margin-right:3px;flex-shrink:0}
html[data-interface567] #modal.f586-editor .f517-details[open]>summary::after{transform:rotate(225deg)}
html[data-interface567] #modal.f586-editor .f517-details>summary>.f586-icon{color:#5a7c8f}
html[data-interface567] #modal.f586-editor .f517-details>summary:hover{background:#f9fbfc}
html[data-interface567] #modal.f586-editor .f517-details[open]>summary{border-bottom:1px solid #e8eef2;border-radius:12px 12px 0 0}
html[data-interface567] #modal.f586-editor .f517-details>.f517-section-body{padding:18px}
html[data-interface567] #modal.f586-editor .f517-technical{background:#f1f5f7}
html[data-interface567] #modal.f586-editor .f517-technical>summary{font-size:12px;font-weight:550;color:#52697a}
html[data-interface567] #modal.f586-editor .f517-guidance>summary{font-size:12px;font-weight:550;color:#52697a}
html[data-interface567] #modal.f586-editor .nf-questionnaire,html[data-interface567] #modal.f586-editor .nf-lines{padding:20px;margin:20px 0 0;background:white;border:1px solid var(--f586-line);border-radius:14px}
html[data-interface567] #modal.f586-editor .nf-questionnaire h3,html[data-interface567] #modal.f586-editor .nf-lines h3{display:flex;align-items:center;gap:9px;font-size:16px;line-height:1.4;margin:0 0 10px;color:var(--f586-ink)}
html[data-interface567] #modal.f586-editor .nf-questionnaire h3 .f586-icon,html[data-interface567] #modal.f586-editor .nf-lines h3 .f586-icon{color:#087d89}
html[data-interface567] #modal.f586-editor .nf-questionnaire>.nf-muted,html[data-interface567] #modal.f586-editor .nf-lines>.nf-muted{font-size:12px;color:#52697a;margin:0 0 18px;line-height:1.55}
html[data-interface567] #modal.f586-editor .nf-line{gap:10px;border-color:#e1e9ee;padding:16px 0}
html[data-interface567] #modal.f586-editor .nf-line-object{font-size:13px;line-height:1.5;overflow-wrap:anywhere}
html[data-interface567] #modal.f586-editor .nf-line label{font-size:12px}
html[data-interface567] #modal.f586-editor .ux667-form-help{display:flex;align-items:center;gap:14px;flex-wrap:wrap;background:transparent;border:0;padding:0;margin:0 0 18px;font-size:11px;line-height:1.4;color:#52697a}
html[data-interface567] #modal.f586-editor .f586-legend{display:inline-flex;gap:5px;align-items:center}
html[data-interface567] #modal.f586-editor .f586-legend>b{font-size:16px;color:#b05212;line-height:1}
html[data-interface567] #modal.f586-editor .f586-legend .f586-icon svg{width:13px;height:13px}
html[data-interface567] #modal.f586-editor .fl26-launchbar{border:1px solid var(--f586-line);background:#fff;border-radius:10px;padding:10px 12px;margin-bottom:20px;gap:12px;font-size:11px;color:#52697a}
html[data-interface567] #modal.f586-editor .fl26-launchbar .btn{font-size:11px;min-height:38px;padding:8px 12px}
html[data-interface567] #modal.f586-editor .i518-summary,html[data-interface567] #modal.f586-editor .ux667-field-errors{padding:16px 18px;margin:0 0 20px;border:1px solid #e4b4af;border-left:4px solid #a43131;background:#fff5f3;color:#842e2a;border-radius:12px;font-size:13px;line-height:1.6}
html[data-interface567] #modal.f586-editor .i518-summary>b,html[data-interface567] #modal.f586-editor .ux667-field-errors>b{font-size:14px;font-weight:700}
html[data-interface567] #modal.f586-editor .i518-summary button,html[data-interface567] #modal.f586-editor .ux667-field-errors button{color:#842e2a;font-size:13px;line-height:1.5;padding:8px 0;min-height:44px}
html[data-interface567] #modal.f586-editor input[aria-invalid=true],html[data-interface567] #modal.f586-editor select[aria-invalid=true],html[data-interface567] #modal.f586-editor textarea[aria-invalid=true]{border-color:#a43131!important;background:#fffafa;box-shadow:0 0 0 1px #a4313115}
html[data-interface567] #modal.f586-editor .nf-quality,html[data-interface567] #modal.f586-editor .nf-form-note,html[data-interface567] #modal.f586-editor .in582-edit-note{font-size:12px;line-height:1.6;border-radius:10px}
html[data-interface567] #modal.f586-editor .nf-quality{padding:14px 16px}
html[data-interface567] #modal.f586-editor .in582-edit-note{padding:14px 16px;background:#edf6f7;border:1px solid #c9dfe3;color:#315867;margin:0 0 18px}
html[data-interface567] #modal.f586-editor #in582-edit-error:empty{display:none}
html[data-interface567] #modal.f586-editor #in582-edit-error:not(:empty){padding:14px 16px;border:1px solid #e4b4af;border-left:4px solid #a43131;background:#fff5f3;border-radius:10px;color:#842e2a;font-size:13px;line-height:1.6}
html[data-interface567] #modal.f586-editor .f517-context{border:1px solid #c9dfe3;border-left:3px solid #087d89;background:#edf6f7;border-radius:12px;padding:16px;margin:0 0 20px}
html[data-interface567] #modal.f586-editor .f517-context b{font-size:15px;color:#163b4b}
html[data-interface567] #modal.f586-editor .f517-development{font-size:11px;line-height:1.6;color:#785c35}
html[data-interface567] #modal.f586-editor .f517-discard h3{font-size:22px}
html[data-interface567] #modal.f586-editor :focus-visible,#nf-picker.f586-picker :focus-visible{outline:3px solid #0b778c;outline-offset:3px}
html[data-interface567] #modal.f586-editor input:focus-visible,html[data-interface567] #modal.f586-editor select:focus-visible,html[data-interface567] #modal.f586-editor textarea:focus-visible{outline:2px solid #0b778c;outline-offset:2px;border-color:#0b778c}
#nf-picker.f586-picker{width:min(860px,100vw);max-width:100vw;background:#f5f8fa;color:#163b4b}
#nf-picker.f586-picker>header{padding:22px 28px;background:#fff;border-color:#d9e4ec}
#nf-picker.f586-picker>header h3{font-size:22px;color:#163b4b;line-height:1.35;margin:0}
#nf-picker.f586-picker>header small{color:#52697a;font-size:12px;line-height:1.6}
#nf-picker.f586-picker>.nf-picker-body{padding:22px 28px}
#nf-picker.f586-picker>footer{padding:16px 28px calc(16px + env(safe-area-inset-bottom));background:#fff;border-color:#d9e4ec}
#nf-picker.f586-picker button{border-radius:9px;min-height:44px;font-size:13px}
#nf-picker.f586-picker .btn.primary{background:#087d89;border-color:#087d89;color:white}
#nf-picker.f586-picker .nf-pick-item{padding:15px 16px;margin:8px 0;background:#fff;border-color:#d9e4ec;border-radius:11px;min-height:68px;font-size:13px;line-height:1.5;box-shadow:0 1px 3px #163b4b03}
#nf-picker.f586-picker .nf-pick-item>span{min-width:0;overflow-wrap:anywhere}
#nf-picker.f586-picker .nf-pick-item small{font-size:11px;color:#52697a;line-height:1.5}
#nf-picker.f586-picker .nf-pick-item:hover{border-color:#70a2ad;background:#f4fafb}
#nf-picker.f586-picker .nf-pick-item.selected{border-color:#087d89;background:#edf7f8;box-shadow:inset 3px 0 0 #087d89}
#nf-picker.f586-picker #nf-picker-search,#nf-picker.f586-picker #nf-source-search{gap:10px;margin:0 0 18px}
#nf-picker.f586-picker input{padding:11px 12px;border:1px solid #bccfdc;border-radius:9px;font-size:15px;min-height:46px;background:#fff;color:#163b4b}
#nf-picker.f586-picker .pill{font-size:11px;white-space:normal;text-align:center;line-height:1.4}
@media(max-width:700px){
 html[data-interface567] #modal.f586-editor:not(.fl26-preview-surface),html[data-interface567] #modal.f586-editor.f517-wide:not(.fl26-preview-surface),#nf-picker.f586-picker{width:100vw!important;max-width:100vw;border-radius:0!important}
 html[data-interface567] #modal.f586-editor>.modal-header,#nf-picker.f586-picker>header{padding:18px 16px calc(14px + env(safe-area-inset-top));min-height:86px;gap:10px}
 html[data-interface567] #modal.f586-editor>.modal-header h2{font-size:21px!important;line-height:1.3}
 html[data-interface567] #modal.f586-editor>.modal-header small{font-size:12px}
 html[data-interface567] #modal.f586-editor>.modal-body,#nf-picker.f586-picker>.nf-picker-body{padding:18px 16px 22px}
 html[data-interface567] #modal.f586-editor>.modal-footer,#nf-picker.f586-picker>footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom));gap:8px}
 html[data-interface567] #modal.f586-editor>.modal-footer>.btn.primary{flex:1;justify-content:center}
 html[data-interface567] #modal.f586-editor .btn{padding:11px 13px;font-size:13px}
 html[data-interface567] #modal.f586-editor .f517-essentials{padding:17px 14px;border-radius:12px}
 html[data-interface567] #modal.f586-editor .nf-form-grid:not(.fl26-grid-custom){grid-template-columns:minmax(0,1fr);gap:19px}
 html[data-interface567] #modal.f586-editor input:not([type=checkbox]):not([type=radio]):not([type=file]),html[data-interface567] #modal.f586-editor select,html[data-interface567] #modal.f586-editor textarea,#nf-picker.f586-picker input{font-size:16px}
 html[data-interface567] #modal.f586-editor .f586-section-heading{gap:10px;padding-bottom:14px}
 html[data-interface567] #modal.f586-editor .f586-section-heading h3{font-size:15px}
 html[data-interface567] #modal.f586-editor .f586-section-heading>.f586-icon{width:34px;height:34px;border-radius:9px}
 html[data-interface567] #modal.f586-editor .f517-details>summary{padding:14px;font-size:13px}
 html[data-interface567] #modal.f586-editor .f517-details>.f517-section-body{padding:16px 14px}
 html[data-interface567] #modal.f586-editor .nf-questionnaire,html[data-interface567] #modal.f586-editor .nf-lines{padding:17px 14px;border-radius:12px}
 html[data-interface567] #modal.f586-editor .nf-line{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
 html[data-interface567] #modal.f586-editor .nf-line-object{grid-column:1/-1}
 html[data-interface567] #modal.f586-editor .nf-line>.icon-btn{justify-self:end;align-self:end}
 html[data-interface567] #modal.f586-editor .nf-line input{width:100%;min-width:0}
 html[data-interface567] #modal.f586-editor .fl26-launchbar{align-items:center;padding:10px;gap:10px}
 html[data-interface567] #modal.f586-editor .fl26-launchbar .btn{min-height:44px;white-space:normal;max-width:145px}
 html[data-interface567] #modal.f586-editor .f586-state{font-size:10px}
 #nf-picker.f586-picker #nf-picker-search,#nf-picker.f586-picker #nf-source-search{display:grid;grid-template-columns:minmax(0,1fr) auto}
 #nf-picker.f586-picker #nf-picker-search input,#nf-picker.f586-picker #nf-source-search input{width:100%;min-width:0}
 #nf-picker.f586-picker .nf-pick-item{padding:14px 12px}
 #nf-picker.f586-picker .nf-pick-item>.pill{max-width:110px}
 #nf-picker.f586-picker>footer .btn{flex:1}
}
@media(prefers-reduced-motion:reduce){html[data-interface567] #modal.f586-editor *,#nf-picker.f586-picker *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(forced-colors:active){html[data-interface567] #modal.f586-editor .btn.primary,#nf-picker.f586-picker .btn.primary{border:2px solid ButtonText}html[data-interface567] #modal.f586-editor :focus-visible,#nf-picker.f586-picker :focus-visible{outline:2px solid Highlight}#nf-picker.f586-picker .nf-pick-item.selected{outline:2px solid Highlight}}
