/* Inline editor. Floating controls below override the legacy measured strip. */
.mn-site-editor470{box-sizing:border-box;font-family:Arial,"Heebo",sans-serif;direction:rtl}
.mn-editor470-pencil{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 10px;border:1px solid #8f714d;border-radius:9px;background:#22221f;color:#f5dab2;font-size:12px;cursor:pointer;white-space:nowrap}
.mn-editor470-pencil:hover,.mn-editor470-pencil[aria-pressed=true]{background:#493921}
.mn-editor470-pencil[hidden],.mn-editor470-panel[hidden],.mn-editor470-panel [hidden]{display:none!important}
html.mn-editor470-active{--mn-editor475-height:112px;scroll-padding-top:calc(var(--mn-editor475-height) + 100px)}
html.mn-editor470-active body{padding-top:var(--mn-editor475-height)!important}
html.mn-editor470-active .web-header{top:var(--mn-editor475-height)!important}
.mn-editor470-active:not(.mn-editor470-preview) :is(#landing,#app-root,.web-header,.mn-footer) :is(h1,h2,h3,h4,h5,h6,p,a,button,label,span,strong,em,b,bdi,li,small,figcaption,img,summary):not(.mn-site-editor470):hover{outline:1px dashed #8ac1ad;outline-offset:3px}
.mn-editor470-active:not(.mn-editor470-preview) [data-editor470-selected]{outline:2px solid #4da889!important;outline-offset:5px!important}
.mn-editor470-active [data-editor475-editable]{cursor:text!important;caret-color:currentColor;min-width:1ch;min-height:1em;-webkit-user-select:text!important;user-select:text!important;white-space:pre-wrap!important;overflow-wrap:anywhere}
.mn-editor470-active [data-editor475-editable] *{cursor:text!important;outline:none!important}
[data-editor475-rich]{white-space:pre-wrap!important;overflow-wrap:anywhere}
[data-editor470-multiline]{white-space:pre-line!important}
.mn-editor470-panel{position:fixed;z-index:2147483000;inset:0 0 auto;border-bottom:1px solid #bacdc3;background:#f8fbf9;color:#20382c;box-shadow:0 2px 14px #0826161a;text-align:right;font-size:13px;line-height:1.4;display:flex;flex-direction:column;isolation:isolate}
.mn-editor470-panel *{box-sizing:border-box}
.mn-editor470-bar{display:flex;gap:12px;align-items:center;justify-content:space-between;min-height:49px;padding:6px 18px;border-bottom:1px solid #e0e9e3;background:#fff;flex:none}
.mn-editor470-heading{display:flex;gap:12px;align-items:center;min-width:0;white-space:nowrap}
.mn-editor470-heading strong{font-size:14px}
.mn-editor470-heading span{font-size:11px;color:#607a6b}
.mn-editor470-actions{display:flex;align-items:center;gap:5px;flex:none}
.mn-editor470-panel button{font:inherit;font-size:12px;line-height:1.2;border:1px solid #d0ddd5;background:#fff;color:#244331;padding:6px 10px;border-radius:7px;min-height:32px;cursor:pointer;white-space:nowrap}
.mn-editor470-panel button:hover:not(:disabled){background:#edf5f0;border-color:#91b29f}
.mn-editor470-panel button:disabled,.mn-editor470-panel input:disabled,.mn-editor470-panel select:disabled{opacity:.42;cursor:default}
.mn-editor470-panel button.mn-editor470-primary{background:#277453;color:#fff;border-color:#277453;font-weight:700}
.mn-editor470-panel button.mn-editor470-primary:hover:not(:disabled){background:#1d6043}
.mn-editor470-panel button[data-editor-close]{font-size:23px;padding:0;width:32px}
.mn-editor470-panel button[data-editor-undo],.mn-editor470-panel button[data-editor-redo]{font-size:21px;padding:1px 8px}
.mn-editor470-panel button[aria-pressed=true]{background:#dcefe3;border-color:#86ab95;color:#1c5c3d}
.mn-editor475-format{display:flex;align-items:center;gap:7px;padding:7px 18px;min-height:47px;white-space:nowrap}
.mn-editor475-format label{display:block;margin:0;font-size:12px}
.mn-editor475-target{display:block;max-width:245px;min-width:80px;overflow:hidden;text-overflow:ellipsis;font-size:11px;color:#5c7465;margin-inline-end:auto}
.mn-editor475-group{display:flex;gap:3px;border-inline-start:1px solid #dce6df;border-inline-end:1px solid #dce6df;padding-inline:7px}
.mn-editor475-group button{min-width:31px;padding:4px;font-family:Georgia,serif;font-size:16px}
.mn-editor470-panel :is(input,select){display:block;width:100%;min-height:32px;border:1px solid #cbd9d0;border-radius:6px;background:#fff;color:#233d2e;padding:4px 6px;box-shadow:none;font-family:inherit;font-size:12px;line-height:1.35;max-width:none}
.mn-editor475-font{width:126px;flex:none}.mn-editor475-size{width:60px;flex:none}.mn-editor475-align{width:80px;flex:none}
.mn-editor475-color{width:34px;flex:none}.mn-editor470-panel input[type=color]{height:32px;padding:3px;cursor:pointer}
.mn-editor475-settings{position:relative;font-size:12px;flex:none}
.mn-editor475-settings>summary{padding:6px 10px;border:1px solid #cbd9d0;background:#fff;border-radius:7px;min-height:32px;cursor:pointer;list-style:none}
.mn-editor475-settings>summary:after{content:'⌄';margin-inline-start:7px}
.mn-editor475-settings[open]>summary{background:#e7f1eb}
.mn-editor475-settings-body{position:absolute;inset:calc(100% + 10px) auto auto 0;width:290px;max-height:min(65vh,450px);overflow:auto;overscroll-behavior:contain;padding:15px;display:grid;gap:12px;background:#fff;border:1px solid #c8d8ce;box-shadow:0 12px 35px #132d2329;border-radius:12px;white-space:normal}
.mn-editor475-settings-body label{display:grid;gap:5px;font-weight:600;color:#516b5b}
.mn-editor475-settings-body strong{font-size:13px;color:#294433}
.mn-editor475-settings-body input[type=file]{font-size:11px}
.mn-editor475-settings-body small{font-size:10px;font-weight:400}
.mn-editor470-status{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:2px 18px 5px;font-size:10px;color:#597363;min-height:20px;flex:none}
.mn-editor470-status button{font-size:11px;min-height:24px;padding:4px 7px}
.mn-editor470-status [data-editor-errors]{color:#9b2424;border-color:#d9a2a2}
.mn-editor470-panel [aria-invalid=true]{border-color:#b43131}
.mn-editor472-error{font-size:11px;font-weight:400;line-height:1.4;color:#a52525}
.mn-editor470-panel :is(button,input,select,summary):focus-visible,.mn-editor470-pencil:focus-visible{outline:2px solid #2b8261;outline-offset:2px}
.mn-editor475-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
@media(max-width:1100px){.mn-editor475-target{display:none}.mn-editor475-format{justify-content:flex-start}.mn-editor470-heading{display:grid;gap:0}.mn-editor470-heading span{font-size:10px}.mn-editor470-pencil span{display:none}.mn-editor470-pencil{padding:6px;min-width:31px;min-height:31px}}
@media(max-width:700px){html.mn-editor470-active{--mn-editor475-height:121px}.mn-editor470-bar{padding:6px 8px;gap:5px}.mn-editor470-heading strong{font-size:11px}.mn-editor470-heading span{max-width:95px;overflow:hidden;text-overflow:ellipsis;font-size:9px}.mn-editor470-actions{gap:3px}.mn-editor470-actions button{font-size:10px;padding:5px 6px;min-height:30px}.mn-editor470-actions [data-editor-cancel]{display:none}.mn-editor470-actions button[data-editor-close]{width:27px;min-width:27px}.mn-editor475-format{overflow-x:auto;overscroll-behavior-x:contain;padding:6px 8px;gap:5px;min-height:47px}.mn-editor475-font{width:108px}.mn-editor475-size{width:52px}.mn-editor475-align{width:65px}.mn-editor475-group{padding-inline:4px}.mn-editor475-settings-body{position:fixed;inset:var(--mn-editor475-height) 8px auto 8px;width:auto;max-height:55vh}.mn-editor470-status{padding:2px 8px 5px;font-size:9px;min-height:22px}.mn-editor470-status>span{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.web-header .web-header-actions>.mn-editor470-pencil{order:6}}
@media(prefers-reduced-motion:reduce){.mn-site-editor470 *{scroll-behavior:auto!important}}
body[data-surface=web] .mn-editor475-settings>summary,body[data-surface=web] .mn-editor475-settings-body{background:var(--theme-panel,#fff);color:var(--theme-text,#20382c);border-color:var(--theme-line,#c8d8ce)}
body[data-surface=web] .mn-editor475-settings[open]>summary{background:var(--theme-selected,#e7f1eb)}
body[data-surface=web] :is(.mn-editor475-target,.mn-editor475-settings-body label){color:var(--theme-muted,#597363)}
body[data-surface=web] .mn-editor475-settings-body strong{color:var(--theme-text,#294433)}
body[data-surface=web] .mn-editor475-group{border-color:var(--theme-line,#dce6df)}
body[data-surface=web] .mn-editor475-settings>summary:focus-visible{outline-color:var(--theme-accent,#2b8261)}

/* Only explicitly registered interface copy receives a pencil outline. */
.mn-editor470-active:not(.mn-editor470-preview) #app-root .studio-shell :is(h1,h2,h3,h4,h5,h6,p,a,button,label,span,strong,em,b,bdi,li,small,figcaption,img,summary):hover{outline:none}
.mn-editor470-active:not(.mn-editor470-preview) #app-root [data-editor477-available]:hover{outline:2px dashed #51b99a;outline-offset:3px;cursor:text}
.mn-editor470-active #app-root [data-editor470-selected]{outline:2px solid #219a71!important;outline-offset:3px}
.mn-editor470-active #app-root [data-editor477-available]{scroll-margin-top:200px}
.mn-editor475-target{max-width:min(100%,620px);white-space:normal;overflow-wrap:anywhere}
@media(max-width:700px){.mn-editor470-panel{max-height:48dvh;overflow-y:auto;overscroll-behavior:contain}.mn-editor475-target{flex-basis:100%;font-size:12px}.mn-editor470-heading{min-width:0}.mn-editor470-heading strong{font-size:14px}.mn-editor470-actions{flex-wrap:wrap;gap:5px}.mn-editor470-panel button{min-height:40px}}

/* Empty and low-opacity copy remains discoverable without publishing editor hints. */
.mn-editor470-active:not(.mn-editor470-preview) [data-editor483-available]{opacity:1!important;scroll-margin-top:calc(var(--mn-editor475-height,140px) + 100px)}
.mn-editor470-active:not(.mn-editor470-preview) [data-editor483-available]:hover{outline:1px dashed #41a889!important;outline-offset:3px;cursor:text}
.mn-editor470-active:not(.mn-editor470-preview) [data-editor483-empty]{display:inline-block!important;min-width:7ch;min-height:1.5em;border:1px dashed #599b86;border-radius:3px}
.mn-editor470-active:not(.mn-editor470-preview) [data-editor483-empty]:not(:focus)::before{content:'טקסט ריק';font:12px Arial,sans-serif;color:#527569;opacity:.9;pointer-events:none}
.mn-canonical483-optional:empty{display:none}
.mn-editor470-active [data-editor483-available][data-site-bind483]{outline-color:#aa873f}
.mn-editor470-panel textarea{box-sizing:border-box;width:100%;min-height:66px;padding:8px;border:1px solid var(--theme-line,#cbd9d0);border-radius:6px;background:var(--theme-panel,#fff);color:var(--theme-text,#233d2e);font:14px Arial,sans-serif;resize:vertical}
.mn-editor483-binding-note{margin:0;font-size:12px;line-height:1.6;color:var(--theme-muted,#597363)}
.mn-editor470-panel [data-editor-target]{transition:color .16s ease}
@media(prefers-reduced-motion:reduce){.mn-editor470-panel [data-editor-target]{transition:none}}
[data-site-bind483$=":answer"],[data-site-bind483$=":description"]{white-space:pre-line}

/* Explicit copy in dialogs and filters follows the same editing affordance. */
.mn-editor470-active:not(.mn-editor470-preview) [data-editor488-available]{scroll-margin-top:calc(var(--mn-editor475-height,140px) + 100px)}
.mn-editor470-active:not(.mn-editor470-preview) [data-editor488-available]:hover{outline:1px dashed #41a889!important;outline-offset:3px;cursor:text}
.mn-editor470-active:not(.mn-editor470-preview) select:has(option[data-editor488-available]):hover{outline:1px dashed #41a889!important;outline-offset:3px;cursor:text}
.mn-editor470-active:not(.mn-editor470-preview) select:has(option[data-editor470-selected]){outline:2px solid #219a71!important;outline-offset:3px}
.mn-editor470-panel textarea:disabled{opacity:.42;cursor:default}
.mn-editor470-panel textarea:focus-visible{outline:2px solid #2b8261;outline-offset:2px}

/* UPDATE492: direct page editing, with a compact stable command strip. */
.mn-editor470-panel{height:124px;max-height:none;overflow:visible}
.mn-editor470-bar{flex:0 0 50px;min-height:0}
.mn-editor475-format{flex:0 0 46px;min-height:0;padding-block:6px;overflow-x:auto;overflow-y:hidden;overscroll-behavior:contain}
.mn-editor475-target{max-width:330px;white-space:nowrap}
.mn-editor470-status{flex:0 0 28px;min-height:0;overflow:hidden}
.mn-editor470-status>span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}
.mn-editor475-settings{position:static}
.mn-editor475-settings-body{position:absolute;inset:100% 18px auto;width:auto;max-height:min(50svh,360px);grid-template-columns:repeat(3,minmax(150px,1fr));align-content:start;gap:10px 16px;z-index:2}
.mn-editor475-settings-body>strong,.mn-editor475-settings-body>.mn-editor483-binding-note{grid-column:1/-1}
html.mn-editor470-active{--mn-editor475-height:124px;scroll-behavior:auto!important;overflow-anchor:none}
html.mn-editor470-active body{overflow-anchor:none}
html.mn-editor470-active:not(.mn-editor470-preview) :is(button,[role="button"],a){pointer-events:auto!important}
html.mn-editor470-active [data-editor492-was-disabled]{cursor:text!important;opacity:.72}
html.mn-editor470-active [data-editor492-caption]{display:inline;min-width:1ch;vertical-align:baseline}
html.mn-editor470-active [data-editor492-caption][aria-invalid=true]{outline:2px solid #bd4242!important}
html.mn-editor470-active .school492-grant-label:has([data-editor475-editable]),html.mn-editor470-active .school492-grant-label[data-editor475-editable]{position:static!important;width:auto!important;height:auto!important;clip:auto!important;clip-path:none!important;overflow:visible!important;white-space:normal!important}
@media(max-width:1100px){.mn-editor475-target{display:none}}
@media(max-width:700px){
 .mn-editor470-panel{height:152px;min-height:152px;max-height:none;overflow:visible}
 .mn-editor470-bar{flex:0 0 78px;align-items:flex-start;padding:6px 8px;gap:5px}
 .mn-editor470-heading{padding-top:3px;max-width:110px;white-space:normal}
 .mn-editor470-heading strong{font-size:12px}
 .mn-editor470-actions{justify-content:flex-end;max-width:265px}
 .mn-editor470-actions button{min-height:30px;padding:5px 7px}
 .mn-editor475-format{flex:0 0 47px;min-height:0;padding:5px 8px}
 .mn-editor475-format button{min-height:32px}
 .mn-editor470-status{flex:0 0 27px;padding:2px 8px 4px}
 .mn-editor475-settings-body{inset:100% 8px auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:10px}
 html.mn-editor470-active{--mn-editor475-height:152px}
}

/* 599: a compact toolbar in the top layer, also inside native modal dialogs. */
html.mn-editor470-active{--mn-editor475-height:0px;scroll-padding-top:100px}
html.mn-editor470-active body{padding-top:0!important}
html.mn-editor470-active .web-header{top:0!important}
.mn-editor470-panel{display:none!important}
.mn-editor599-dock{position:fixed!important;inset:auto!important;left:18px!important;bottom:86px!important;top:auto!important;right:auto!important;width:48px!important;height:48px!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;overflow:visible!important;z-index:2147483647!important;box-shadow:none!important;isolation:isolate;pointer-events:none;color:#fff!important;direction:ltr!important}
.mn-editor599-dock[hidden]{display:none!important}
.mn-editor599-dock:popover-open{display:block!important}
.mn-editor599-dock::backdrop{background:transparent;pointer-events:none}
.mn-editor599-dock button{display:flex;align-items:center;justify-content:center;box-sizing:border-box!important;width:48px!important;min-width:48px!important;height:48px!important;min-height:48px!important;padding:12px!important;border:1px solid #ffffff55!important;border-radius:50%!important;box-shadow:0 3px 14px #0004!important;background:#176c60!important;color:#fff!important;cursor:pointer;pointer-events:auto;touch-action:manipulation;line-height:1!important;font:inherit;transition:transform .15s ease,background .15s ease}
.mn-editor599-dock button:focus-visible{outline:3px solid #f1bf5e!important;outline-offset:3px!important}
.mn-editor599-dock button:disabled{opacity:.5;cursor:default}
.mn-editor599-dock button[hidden]{display:none!important}
.mn-editor599-dock .mn-editor470-pencil{position:relative!important;display:flex!important;gap:0!important;background:#176c60!important}
.mn-editor599-dock.is-editing .mn-editor470-pencil{background:#275aa3!important}
.mn-editor599-dock.is-dirty .mn-editor470-pencil{background:#117644!important}
.mn-editor599-dock .mn-editor599-exit{position:absolute;left:0;bottom:58px;background:#c63740!important}
.mn-editor599-history{position:absolute;left:58px;bottom:0;display:flex;gap:8px;direction:ltr}
.mn-editor599-history button{background:#31434b!important}
.mn-editor599-dock .mn-editor599-reload{position:absolute;bottom:118px;left:0;width:190px!important;border-radius:12px!important;background:#8a4b12!important;font-size:12px!important}
.mn-editor599-status{position:absolute;left:58px;bottom:58px;width:max-content;max-width:min(250px,calc(100vw - 92px));max-height:90px;overflow:auto;padding:8px 10px;background:#17352ff2;color:#fff;border-radius:9px;font-size:12px;line-height:1.5;direction:rtl;text-align:right;pointer-events:auto;box-shadow:0 2px 12px #0002}
.mn-editor599-status[hidden]{display:none!important}
.mn-editor470-active [data-site-copy488]:empty{display:inline-block;min-width:1.5ch;min-height:1em;border:1px dashed #5d9e89}
@media(prefers-reduced-motion:reduce){.mn-editor599-dock button{transition:none}}

/* 603: selected-item settings remain reachable beside the floating editor.
   The inspector shares its top layer, so native modal dialogs cannot cover it. */
.mn-editor599-dock .mn-editor603-options{position:absolute;left:170px;bottom:0;background:#176c60!important;font-size:24px!important}
.mn-editor599-dock.has-options603>.mn-editor599-status{display:none!important}
.mn-editor599-dock.has-options603>.mn-editor470-panel:not([hidden]){display:flex!important;position:absolute!important;inset:auto!important;left:0!important;bottom:64px!important;top:auto!important;right:auto!important;width:min(560px,calc(100vw - 36px))!important;min-width:0!important;height:auto!important;min-height:0!important;max-height:calc(100dvh - 190px)!important;overflow:auto!important;overscroll-behavior:contain;pointer-events:auto;direction:rtl!important;background:var(--theme-panel,#f8fbf9)!important;color:var(--theme-text,#20382c)!important;border:1px solid var(--theme-line,#bacdc3)!important;border-radius:14px!important;padding:0!important;box-shadow:0 8px 30px #0004!important;z-index:2}
.mn-editor599-dock .mn-editor470-panel .mn-editor470-bar{min-height:48px;height:auto;flex:0 0 auto;align-items:center;flex-wrap:wrap;padding:8px 12px;gap:8px}
.mn-editor599-dock .mn-editor470-panel .mn-editor470-heading{display:grid;gap:3px;white-space:normal;max-width:none;padding:0}
.mn-editor599-dock .mn-editor470-panel .mn-editor470-actions{display:flex;flex-wrap:wrap;max-width:none;gap:5px}
.mn-editor599-dock .mn-editor470-panel button{position:static!important;inset:auto!important;display:inline-flex!important;align-items:center;justify-content:center;width:auto!important;min-width:32px!important;height:auto!important;min-height:36px!important;margin:0!important;padding:7px 10px!important;border-radius:7px!important;box-shadow:none!important;border:1px solid var(--theme-line,#cbd9d0)!important;background:var(--theme-panel,#fff)!important;color:var(--theme-text,#244331)!important;font:12px/1.4 Arial,sans-serif!important;white-space:normal!important}
.mn-editor599-dock .mn-editor470-panel button[hidden]{display:none!important}
.mn-editor599-dock .mn-editor470-panel button[data-editor-save]{background:#277453!important;color:#fff!important}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-format{display:flex;flex-wrap:wrap;align-items:center;flex:0 0 auto;height:auto;overflow:visible;padding:10px 12px;gap:8px;white-space:normal}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-target{display:block;flex:1 0 100%;max-width:none;white-space:normal}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-settings{display:block;flex:1 0 100%;min-width:0}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-settings[hidden]{display:none}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-settings-body{position:static;inset:auto;width:auto;max-height:none;overflow:visible;grid-template-columns:repeat(2,minmax(0,1fr));padding:10px 0 0;border:0;box-shadow:none;border-radius:0}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-settings-body>label{min-width:0}
.mn-editor599-dock .mn-editor470-panel .mn-editor475-settings-body>.mn-spacing502{grid-column:1/-1;min-width:0}
.mn-editor599-dock .mn-editor470-panel .mn-editor470-status{flex:0 0 auto;min-height:24px;height:auto;white-space:normal;overflow:visible;padding:6px 12px}
.mn-editor599-dock .mn-editor470-panel .mn-editor470-status>span{white-space:normal;overflow-wrap:anywhere}
@media(max-width:600px){
 .mn-editor599-dock.has-options603>.mn-editor470-panel:not([hidden]){position:fixed!important;left:8px!important;right:8px!important;top:12px!important;bottom:auto!important;width:auto!important;max-height:calc(100dvh - 180px)!important}
 .mn-editor599-dock .mn-editor470-panel .mn-editor475-settings-body{grid-template-columns:minmax(0,1fr)}
 .mn-editor599-dock .mn-editor470-panel :is(input,select,textarea){font-size:16px}
 .mn-editor599-dock .mn-editor470-panel button{min-height:40px!important}
}

/* MN617: only genuine data surfaces receive the protected-value affordance. */
html.mn-editor470-active:not(.mn-editor470-preview) [data-editor617-system-hover]{outline:2px dashed #c74b4b!important;outline-offset:3px;cursor:not-allowed!important}
html.mn-editor470-active:not(.mn-editor470-preview) :is(a,button,[role="button"]):has([data-editor477-available],[data-editor488-available]){cursor:text}
/* Source-caption wrappers are transparent to normal native/delegated actions. */
mn-copy488{display:inline;pointer-events:none}
html.mn-editor470-active:not(.mn-editor470-preview) mn-copy488{pointer-events:auto}
