/* Página de laboratório no portal: cabeçalho compacto e laboratório ocupando a área útil.
   Usada apenas pelos laboratórios da base comum (lab-kit). Sem !important. */
body.lab-page{--lab-head:56px;--lab-bar:40px;background:#fbf6ef;overflow-x:hidden}
.lab-page .rosa-header.is-compact{height:var(--lab-head);max-width:none;padding:0 16px;gap:12px;border-bottom:1px solid #0b3d911f}
.lab-page .rosa-header.is-compact .brand-logo{width:120px;height:44px}
.lab-page .rosa-header.is-compact .header-actions{gap:10px}
.lab-page .rosa-header.is-compact .pointer-toggle{font-size:13px;min-height:40px}
.lab-page .rosa-header.is-compact .btn.small{min-height:38px;font-size:13px;padding:8px 14px}
.lab-page .rosa-header.is-compact .menu-toggle{width:40px;height:40px}
.lab-page .main-wrap{margin:0;min-height:0}
.lab-page .page-content{padding:0;max-width:none;min-height:0;margin:0}
.lab-page-bar{display:flex;align-items:center;gap:12px;min-height:var(--lab-bar);padding:4px 16px;background:#fffdf9;border-bottom:1px solid #0b3d911a;font-size:13px;white-space:nowrap;overflow:hidden}
.lab-crumbs{display:flex;align-items:center;gap:8px;min-width:0;color:#4a5b77;overflow:hidden;text-overflow:ellipsis}
.lab-crumbs a{color:#0b3d91;font-weight:600;text-decoration:none;border-radius:6px;padding:4px 2px}
.lab-crumbs a:hover{text-decoration:underline}
.lab-crumbs a:focus-visible{outline:3px solid #f4b400;outline-offset:2px}
.lab-page .lab-actions{display:flex;gap:8px;margin:0 0 0 auto;padding:0;background:none;border:0}
.lab-page .lab-actions .btn{min-height:32px;padding:5px 12px;font-size:13px}
.lab-draft{background:#fff4d6;color:#6b4800;border:1px solid #ecd39a;border-radius:999px;padding:2px 10px;font-weight:600}
.lab-container.is-kit{position:relative;border:0;border-radius:0;overflow:hidden;background:#fbf6ef;height:calc(100vh - var(--lab-head) - var(--lab-bar) - 2px);height:calc(100dvh - var(--lab-head) - var(--lab-bar) - 2px);min-height:520px}
.lab-container.is-kit iframe{display:block;width:100%;height:100%;border:0;background:#fbf6ef}
.lab-container.is-kit.is-projecting{position:fixed;inset:0;z-index:1200;height:100vh;height:100dvh;min-height:0}
.lab-container.is-kit:fullscreen{height:100vh;height:100dvh}
@media (max-width:700px){
  body.lab-page{--lab-head:52px;--lab-bar:36px}
  .lab-page .rosa-header.is-compact{padding:0 10px}
  .lab-page .rosa-header.is-compact .brand-logo{width:100px;height:38px}
  .lab-page .rosa-header.is-compact .pointer-toggle span{display:none}
  .lab-page-bar{padding:2px 10px}
  .lab-crumbs>span:nth-of-type(n+2){display:none}
  .lab-container.is-kit{min-height:480px}
}
