/* Pages for the engine workspaces: a header bar, then the workspace in a frame filling the
   window. Also the Playground panel that embeds the same workspace. */
.tool-page { height: 100vh; display: flex; flex-direction: column; }
.tool-page__bar {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px;
  padding: 14px 24px; border-bottom: 1px solid var(--border-soft);
}
.tool-page__back { text-decoration: none; font-size: 15px; padding: 10px 0; display: inline-flex; align-items: center; gap: 8px; }
.tool-page__title { font-size: 20px; margin: 0; }
.tool-page__note { margin: 0; font-size: 14px; }
.tool-frame { display: block; width: 100%; border: 0; background: #17130F; }
.tool-page .tool-frame { flex: 1; min-height: 0; }

.tool-embed { display: flex; flex-direction: column; gap: 10px; }
.tool-embed__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.tool-embed__bar a { margin-left: auto; }
.tool-embed .tool-frame { height: 760px; border: 1px solid var(--border); border-radius: 12px; }
