/* ═══════════════════════════════════════════════════
   SlateEmbed.css — Zero-Copy Embed Shell for Gasolina Slate
   Activated exclusively via ?embed=slate inside an iframe.
   Uses canonical --lb-* design tokens only.
   ═══════════════════════════════════════════════════ */

html.slate-embed,
body.slate-embed {
    --lb-surface: #090b10;
    background: var(--lb-surface) !important;
    overflow: hidden;
}

/* Hide Lumber outer chrome when hosted inside Gasolina Slate */
html.slate-embed #lb-header,
html.slate-embed #lb-sidebar,
html.slate-embed .lb-sidebar,
html.slate-embed .lb-sidebar-ui,
html.slate-embed #lb-product-header,
html.slate-embed .product-rail,
html.slate-embed #quick-actions-container,
html.slate-embed #beta-lock-screen {
    display: none !important;
}

/* Expand workspace canvas edge-to-edge */
html.slate-embed main.wrap {
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
    width: 100vw !important;
    height: 100vh !important;
    inset: 0 !important;
}

html.slate-embed .page-shell-fullbleed {
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    padding: 0 !important;
}

/* Read-only mode for external Co-Producer review sessions */
body.slate-embed.slate-readonly .script-editor-textarea,
body.slate-embed.slate-readonly .se-page-shard,
body.slate-embed.slate-readonly #writers-room-script-title {
    pointer-events: none;
    caret-color: transparent;
}
