/* Release notices stay outside the diagram and its exports. */
body{display:flex;flex-direction:column;height:100vh;height:100dvh;min-height:0;overflow:auto}
#app-header{flex:none}
.editor{flex:1;height:auto;min-height:calc(var(--toolbar-height,60px) + 340px)}
.privacy-notice{margin:0;padding:9px 24px;background:#edf8f4;border-bottom:1px solid #cfdfd9;color:#254c43;font-size:12px;line-height:1.55}
.privacy-notice strong{margin-right:5px}
.workspace-notice{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 24px;background:#eef4f8;border-bottom:1px solid #cddae3;color:#243d50;font-size:13px;line-height:1.5}
.workspace-notice[hidden]{display:none}
.workspace-notice p{margin:0;max-width:950px;overflow-wrap:anywhere}
.notice-actions{display:flex;gap:8px;flex-wrap:wrap;flex:none}
.workspace-notice.warning{background:#fff3e7;border-color:#deba8e;color:#693d16}
.workspace-notice .button{flex:none}
.backup-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0}
.backup-help{font-size:12px;color:var(--muted);line-height:1.6}
.editor.is-read-only #diagram .node,.editor.is-read-only #diagram .edge-label,.editor.is-read-only #diagram .region-header{cursor:pointer}
.editor.is-read-only .entity-size-handles,.editor.is-read-only .bend-handle,.editor.is-read-only .attachment-handle,.editor.is-read-only .region-resize{display:none}
html[data-theme="dark"] .privacy-notice{background:#152e2c;color:#c5eee3;border-color:#325650}
html[data-theme="dark"] .workspace-notice{background:#213442;color:#dcebf3;border-color:#445767}
html[data-theme="dark"] .workspace-notice.warning{background:#422f1b;color:#ffe3bd;border-color:#826244}
html[data-theme="dark"] .backup-help{color:var(--ui-secondary)}
@media(max-width:680px){.privacy-notice{padding:8px 12px}.workspace-notice{padding:10px 12px;align-items:flex-start;flex-wrap:wrap}.notice-actions{width:100%}.workspace-notice .button{font-size:12px}}
@media print{#app-header{display:none}.editor{display:block;flex:none;height:80vh;min-height:0}body{display:block;height:auto}}
