/* Groundwork demo: practice buttons and the frame that runs demo.html. */
.gw-embed { display: flex; flex-direction: column; gap: 12px; }
.gw-embed__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.gw-embed__tabs { display: inline-flex; gap: 4px; padding: 4px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.gw-embed__tab {
  min-height: 40px; padding: 0 18px; border: 0; border-radius: 7px; background: transparent;
  color: var(--text-2); font: 500 15px/1 var(--font-body); cursor: pointer;
}
.gw-embed__tab:hover { color: var(--text); }
.gw-embed__tab[aria-pressed="true"] { background: var(--accent); color: var(--bg); }
.gw-embed__tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.gw-embed__page { margin-left: auto; }
.gw-embed__frame { display: block; width: 100%; height: 760px; border: 1px solid var(--border); border-radius: 12px; background: #101a24; }
.tool-page__body { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.tool-page .gw-embed { flex: 1; min-height: 0; padding: 16px 24px 24px; }
.tool-page .gw-embed__frame { flex: 1; height: auto; min-height: 0; }
