/* terminal-design/stage.html: the editor stage alone, inside the app's WebView. */
html, body { margin: 0; height: 100%; overflow: hidden; background: transparent; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; -webkit-touch-callout: none; }
.td-stage-page { position: fixed; inset: 0; }
.td-stage-page [data-td-stage], .td-stage-page .td-sheet-stage { position: absolute; inset: 0; height: 100% !important; padding: 0; background: transparent; }
/* The app has its own handle under the stage. */
.td-stage-page .td-stage-handle { display: none; }
/* ?mode=screen: the flat screen fills the page (the app draws the bezel around it). */
.td-stage-page .td-screen-only { border-radius: 0; }

/* Tifinagh is self-hosted so the iframe keeps its no-network CSP. */
@font-face {
  font-family: "Noto Sans Tifinagh";
  src: url("/fonts/noto-sans-tifinagh.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
  unicode-range: U+2D30-2D7F;
}
html[lang="rif"] .tdp-screen, html[lang="rif"] .tdp-kp, html[lang="rif"] .tdp-sumup {
  font-family: "Noto Sans Tifinagh", Arial, sans-serif;
}
