/* Páginas separadas com a mesma identidade "Rota" do TRILHA: faixa verde com o T, nome e voltar.
   Só apresentação; links, botões e dados continuam os mesmos. */
body.order-entry-page{background:linear-gradient(180deg,#eef3e9 0,#f6f4ed 420px) fixed;overflow-x:clip}
body.order-entry-page header.topbar{position:relative;isolation:isolate;margin:-24px 0 24px;padding:14px 0;min-height:72px;border-bottom:0;color:#fff;gap:14px;background:#004b40}
body.order-entry-page header.topbar::before{content:"";position:absolute;z-index:-1;top:0;bottom:0;left:-100vmax;right:-100vmax;pointer-events:none;
 background:
  repeating-radial-gradient(circle at 70% -60px,transparent 0 38px,#ffffff08 38px 39px),
  linear-gradient(165deg,#00584b 0%,#004b40 50%,#003a32 100%)}
body.order-entry-page header.topbar::after{content:"";position:absolute;left:-100vmax;right:-100vmax;bottom:0;height:2px;
 background:repeating-linear-gradient(90deg,#9ff0c655 0 6px,transparent 6px 12px);pointer-events:none}
body.order-entry-page.trilha-ui header.topbar>a.shell-brand{display:flex;align-items:center;gap:9px;text-decoration:none;flex:none;border:0;border-radius:10px;padding:2px 4px;min-height:0;background:none;box-shadow:none;color:#fff;order:0;width:auto}
body.order-entry-page.trilha-ui header.topbar>a.shell-brand::before{content:none}
.shell-brand img{width:34px;height:34px;object-fit:contain}
.shell-word{display:grid;line-height:1;color:#fff}
body.order-entry-page header.topbar .shell-name{font-size:24px;font-weight:800;letter-spacing:.02em;color:#fff}
body.order-entry-page header.topbar .shell-by{font-size:10px;font-weight:500;justify-self:end;margin-top:2px;color:#a7d8c4}
.shell-by b{font-weight:800}
.shell-brand:focus-visible{outline:3px solid #df741b;outline-offset:3px}
body.order-entry-page header.topbar>strong{color:#fff}
body.order-entry-page header.topbar>span,body.order-entry-page header.topbar>#account,body.order-entry-page header.topbar>#actor{color:#cfe3da}
body.order-entry-page.trilha-ui header.topbar>a:not(.shell-brand),
body.order-entry-page.trilha-ui header.topbar>button{background:#ffffff14;border-color:#ffffff30;color:#fff;min-height:44px;padding:10px 14px;font-size:14px}
body.order-entry-page.trilha-ui header.topbar>a:not(.shell-brand){--action-icon:url('assets/ui-back.svg')}
body.order-entry-page.trilha-ui header.topbar>button#logoutButton{--action-icon:url('assets/ui-logout.svg')}
body.order-entry-page.trilha-ui header.topbar>:is(a,button):hover{background:#ffffff24}

/* Uma cor de destaque por tela: números das etapas em verde; o coral fica para a ação principal */
body.order-entry-page .progress-strip span,body.order-entry-page .step{background:#e3efe0;color:#004d43;box-shadow:inset 0 0 0 1px #b9cebf}
body.order-entry-page .progress-strip .active span,body.order-entry-page [aria-current] .step,body.order-entry-page .active>.step{background:#9ff0c6;color:#00382f;box-shadow:none}

@media(max-width:700px){
 body.order-entry-page header.topbar{margin:-18px 0 18px;padding:12px 0;gap:10px}
 body.order-entry-page header.topbar .shell-name{font-size:21px}
 body.order-entry-page header.topbar>:is(#account,#actor,#userName,#userRole){font-size:12px}
}
@media print{body.order-entry-page header.topbar{color:#004d43}body.order-entry-page header.topbar::before,body.order-entry-page header.topbar::after{content:none}}
/* A faixa do cabeçalho sangra para fora da tela: corta o excesso para o celular não alargar a página (a revisão abria no canto). */
html{overflow-x:clip}
