:root{--bg:#fff;--fg:#212529;--muted:#6c757d;--border:#d0d7de;--panel:#f6f8fa;--card:#fff;--accent:#448;--link:#0d6efd;--error:#b42318;--ok:#1a7f37;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}body.elk-dark-mode{--bg:#333;--fg:#ddd;--muted:#a8a8a8;--border:#555;--panel:#2a2a2a;--card:#3a3a3a;--accent:#9a9ae6;--link:#60adff;--error:#ff8f80;--ok:#6fdd8b;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--bg);color:var(--fg);flex-direction:column;font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Helvetica Neue,Arial,Noto Sans,sans-serif;display:flex}a{color:var(--link)}a:hover{color:#0a58ca}body.elk-dark-mode a:hover{color:var(--link)}code{color:#d63384;word-wrap:break-word;font-family:SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:.875em}body.elk-dark-mode code{color:#f58fc0}.spacer{flex:1}.muted{color:var(--muted)}select,button{font:inherit;color:var(--fg);background:var(--bg);border:1px solid var(--border);border-radius:4px;padding:3px 8px}button{cursor:pointer}button:hover,select:hover{border-color:var(--accent)}button[aria-pressed=true]{background:var(--accent);color:var(--bg)}.navbar{background:var(--panel);border-bottom:1px solid var(--border);grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;min-height:56px;padding:8px 16px;display:grid}.navbar-brand{color:var(--link);white-space:nowrap;justify-self:start;align-items:center;gap:8px;padding:.3125rem 0;font-size:1.25rem;text-decoration:none;display:inline-flex}.navbar-brand:hover{color:#0a58ca}.navbar-title h1{white-space:nowrap;margin:0;font-size:1.25rem;font-weight:500}.navbar-right{justify-content:flex-end;align-items:center;gap:12px;display:flex}.logo-small{width:30px;height:30px}.elk-dark-mode .logo-small,.elk-dark-mode .logo-large{filter:invert(.85)hue-rotate(180deg)}.engine-badge{border:1px solid var(--border);background:var(--bg);color:var(--muted);white-space:nowrap;cursor:help;border-radius:999px;padding:2px 10px;font-size:14px;display:inline-block}.statusbar{background:var(--panel);border-top:1px solid var(--border);flex-wrap:nowrap;align-items:center;gap:12px;margin-top:24px;padding:16px;display:flex}#status{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;overflow:hidden}.footer-engine{white-space:nowrap}.statusbar button{color:var(--link);background:0 0;border:none;padding:0;text-decoration:underline}.statusbar button:hover{color:var(--accent)}.statusbar button[aria-pressed=true]{color:var(--link);background:0 0}#status.error{color:var(--error)}#status.ok{color:var(--ok)}.panes{flex:1;min-height:0;padding-top:24px;display:flex}.pane{flex:50%;min-width:0;position:relative}.editor-pane{border-right:1px solid var(--border)}#monaco-editor,.sprotty{position:absolute;inset:4px}.sprotty svg{width:100%;height:100%}.diagram-tools{z-index:2;opacity:0;flex-wrap:wrap;justify-content:flex-end;gap:4px;max-width:calc(100% - 16px);transition:opacity .15s;display:flex;position:absolute;top:8px;right:8px}.diagram-pane:hover .diagram-tools,.diagram-tools:focus-within{opacity:1}.diagram-tools button{opacity:.85;padding:2px 8px;font-size:12px}.diagram-tools button:hover{opacity:1}.loading-overlay{z-index:3;text-align:center;background:color-mix(in srgb, var(--bg) 80%, transparent);color:var(--muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:absolute;inset:0}.loading-overlay[hidden]{display:none}.spinner{border:6px solid #ddf;border-top-color:#448;border-radius:50%;width:36px;height:36px;animation:1.2s linear infinite spin}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body.examples-page{height:auto;min-height:100%}.examples-layout{flex:1;display:flex}.sidebar{background:#f8f9fa;flex:0 0 16.6667%;max-width:16.6667%;padding:0 12px}body.elk-dark-mode #monaco-editor,body.elk-dark-mode .sidebar{filter:invert(.8)hue-rotate(180deg)}.toc{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}.sidebar-heading{color:var(--muted);margin:.5rem 0 .25rem;padding:0;font-size:.75rem;font-weight:500;line-height:1.2}.toc>li{display:block}.sidebar-link{width:auto;max-width:100%;color:var(--link);text-align:center;vertical-align:middle;background:0 0;border:1px solid #0000;border-radius:.25rem;padding:0 .75rem;font-size:.9rem;line-height:1.5;text-decoration:underline;transition:color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;display:inline-block}@media (prefers-reduced-motion:reduce){.sidebar-link{transition:none}}.sidebar-link:hover{color:#0a58ca;border-color:#0000}.sidebar-link:focus{outline:0;box-shadow:0 0 0 .25rem #0d6efd40}.examples-main{flex:1;min-width:0;padding:24px 0 8px}.examples-panes{height:calc(50vh + 8px);min-height:240px;display:flex}.examples-panes .editor-pane{border-right:none}.example-doc{border-top:1px solid var(--border);margin:8px;padding-top:8px}.example-doc-col{width:50%;margin:0 auto;padding:4px}.example-doc h4{margin:0 0 .5rem;font-size:1.5rem;font-weight:500;line-height:1.2}#title-small{font-size:70%;font-weight:100}#title{font-size:1.9rem;font-weight:300;line-height:1.2}#example-description p,#example-description ul,#example-description ol{margin:0 0 1rem}#example-description ul,#example-description ol{padding-left:2rem}#example-description h1,#example-description h2,#example-description h3,#example-description h4,#example-description h5,#example-description h6{margin:0 0 .5rem;font-weight:500;line-height:1.2}#example-description h1{font-size:2.5rem}#example-description h2{font-size:2rem}#example-description h3{font-size:1.75rem}#example-description h4{font-size:1.5rem}#example-description h5{font-size:1.25rem}#example-description h6{font-size:1rem}#example-description pre{margin:0 0 1rem;font-size:.875em;overflow:auto}#example-description img{max-width:100%}body.landing{height:auto;min-height:100%;display:block}.landing-tools{align-items:center;gap:12px;display:flex;position:absolute;top:24px;right:24px}.landing-container{max-width:68rem;margin:0 auto;padding:48px 16px 32px}.landing-header{text-align:center;max-width:44rem;margin:0 auto 40px}.landing-header h1{margin:8px 0 12px;font-size:2.4rem;font-weight:500}.lead{font-size:1.2rem;font-weight:300}.logo-large{width:88px;height:88px}.cards{grid-template-columns:repeat(auto-fit,minmax(22rem,1fr));gap:24px;display:grid}.card{background:var(--card);border:1px solid var(--border);text-align:center;border-radius:6px;padding:16px 20px}.card h3{margin:4px 0 12px;font-size:1.5rem;font-weight:500}.card h5{margin:4px 0;font-size:1.1rem}.card-formats{grid-template-columns:1fr 1fr;font-size:.9em;display:grid}.card-formats>div{padding:0 12px}.card-formats>div+div{border-left:1px solid var(--border)}.card-disabled{color:var(--muted);border-style:dashed}.card-disabled h3{color:var(--muted)}.technologies{text-align:left;max-width:44rem;margin:40px auto 0}.technologies h4{margin:0 0 8px}.technologies dd{margin:0 0 10px 16px}@media (max-width:760px){.navbar{grid-template-columns:1fr auto}.navbar-title{display:none}.panes,.examples-panes{flex-direction:column}.examples-panes{height:auto}.examples-panes .pane{height:50vh}.editor-pane{border-right:none;border-bottom:1px solid var(--border)}.sidebar{display:none}.example-doc-col{width:100%}.card-formats{grid-template-columns:1fr}.card-formats>div+div{border-left:none;border-top:1px solid var(--border);padding-top:8px}.landing-tools{justify-content:flex-end;padding:12px 16px 0;position:static}}
