body.editor-screen-open{overflow:hidden!important}.editor-expanded{position:fixed!important;inset:10px!important;z-index:100!important;width:auto!important;max-width:none!important;height:calc(100dvh - 20px)!important;max-height:none!important;margin:0!important;background:#17131f!important;border:1px solid #745783!important;border-radius:12px!important;box-shadow:0 0 0 20px #100c18!important;overflow:auto!important;padding:10px!important}.editor-expand-button{margin-left:auto;flex-shrink:0;font-size:.73rem!important;white-space:nowrap}.editor-expanded .pilot-window-bar,.editor-expanded .workspace-bar,.editor-expanded .eclipse-toolbar{flex-wrap:wrap;gap:8px}.editor-expanded .pilot-editor,.editor-expanded .code-editor{min-height:55dvh!important}.editor-expanded textarea#pilot-code,.editor-expanded textarea#basic-code,.editor-expanded textarea#dev-code,.editor-expanded textarea#pilot-object-code,.editor-expanded textarea#pilot-behavior-code,.editor-expanded textarea#pilot-service-code{min-height:55dvh!important;height:55dvh!important;resize:vertical}.editor-expanded .pilot-lines{max-height:none!important;min-height:55dvh}.editor-expanded.dev-workspace,.editor-expanded.basic-editor,.editor-expanded#pilot-debug{display:grid!important;grid-template-columns:minmax(0,1.5fr) minmax(250px,1fr)!important;align-items:start!important}.editor-expanded.ef-word .ef-page{max-width:1100px;min-height:75dvh}.editor-expanded .ef-toolbar{top:0}.editor-expanded .eclipse-layout{min-height:65dvh}.editor-expanded .pilot-code,.editor-expanded .editor-panel{min-width:0}@media(max-width:750px){.editor-expanded.dev-workspace,.editor-expanded.basic-editor,.editor-expanded#pilot-debug{grid-template-columns:1fr!important}.editor-expanded{inset:4px!important;height:calc(100dvh - 8px)!important;padding:5px!important}.editor-expand-button{font-size:.68rem!important}}

.editor-expanded #cds-source{min-height:65dvh!important;height:65dvh!important}.editor-expanded .cds-editor-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap}

/* Optional classic SAP GUI inspired editor. Keep execution/debugging colours intact. */
.editor-appearance-button{flex-shrink:0;font-size:.73rem!important;white-space:nowrap}
.editor-sap{--eclipse-ink:#18212b;--eclipse-muted:#47596b;--eclipse-line:#9aafc1;border-color:#8c9fb2!important;border-radius:3px!important}
.editor-sap .workspace-bar,.editor-sap .pilot-window-bar,.editor-sap .eclipse-toolbar,.editor-sap .cds-project-toolbar{background:linear-gradient(#e4edf6,#bfcede)!important;color:#172e47!important;border-bottom:1px solid #8b9fb3;flex-wrap:wrap;gap:8px}
.editor-sap :is(.workspace-bar,.pilot-window-bar,.eclipse-toolbar,.cds-project-toolbar) :is(strong,span,small){color:#172e47!important}
.editor-sap :is(.workspace-bar,.pilot-window-bar,.eclipse-toolbar,.cds-project-toolbar) button{background:#eef3f7;color:#173951;border:1px solid #8299af;border-radius:3px;box-shadow:inset 0 1px #fff}
.editor-sap :is(.workspace-bar,.pilot-window-bar,.eclipse-toolbar,.cds-project-toolbar) button:hover{background:#fff3c8}
.editor-sap .editor-appearance-button[aria-pressed=true]{background:#fff1b9;border-color:#826300;color:#332700}
.editor-sap :is(.code-editor,.pilot-code,.eclipse-editor){background:#fffef2!important;color:#18212b}
.editor-sap textarea:is(#dev-code,#basic-code,#pilot-code,#pilot-object-code,#pilot-behavior-code,#pilot-service-code,#cds-source),.editor-sap .eclipse-editor textarea{background:#fffef2!important;color:#102b80!important;caret-color:#111!important;border-radius:0;font-family:Consolas,'Courier New',monospace!important;color-scheme:light}
.editor-sap textarea::selection{background:#b5d3f4;color:#111}
.editor-sap textarea:focus-visible{outline:2px solid #1760a1!important;outline-offset:-2px}
.editor-sap .pilot-gutter,.editor-sap .line-numbers,.editor-sap .editor-gutter{background:#e5eaf0!important;color:#45596b!important;border-right:1px solid #9aafc1}
.editor-sap .pilot-gutter :is(.current,.line-current){background:#ffe39a!important;color:#263749!important}
.editor-sap .pilot-gutter button[aria-pressed=true]{color:#b22020!important;font-weight:800}
@media(max-width:750px){.editor-appearance-button{font-size:.68rem!important}}
