/* One header geometry across management, registers and catalogues. */
body[data-app-chrome]{--app-header-height:80px}
body[data-app-chrome] header.app-topbar{position:fixed!important;inset:0 0 auto 0!important;z-index:120!important;box-sizing:border-box!important;display:flex!important;align-items:center!important;gap:16px!important;width:100%!important;min-height:var(--app-header-height)!important;height:var(--app-header-height)!important;margin:0!important;padding:10px 22px!important;border:0!important;border-bottom:3px solid var(--ui-accent,#ff922e)!important;border-radius:0!important;background:var(--ui-header,#101317)!important;color:var(--ui-ink,#f3f4f6)!important;flex-wrap:nowrap!important}
body[data-app-chrome] .app-home{display:flex!important;align-items:center;justify-content:center;flex:0 0 54px!important;width:54px!important;height:54px!important;min-width:54px;margin:0!important;padding:0!important;background:#fff!important;border:0!important;border-radius:10px!important;overflow:hidden;text-decoration:none!important}
.app-home img{display:block;width:52px;height:48px;object-fit:contain}.app-home:focus-visible{outline:3px solid var(--ui-accent,#ff922e);outline-offset:4px}
body[data-app-chrome] .app-heading{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:4px}
body[data-app-chrome] header.app-topbar h1{font:650 24px/1.15 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:0!important;text-transform:none!important;color:var(--ui-ink,#f3f4f6)!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-app-chrome] .app-installation{font:500 12px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:.2px!important;text-transform:none!important;color:var(--ui-muted,#bbc1ca)!important;margin:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body[data-app-chrome] header.app-topbar #headerAccount{flex:0 1 auto!important;order:5!important;width:auto!important;min-width:0;max-width:40%;margin:0 0 0 auto!important;gap:12px!important;align-items:center!important}
body[data-app-chrome] header.app-topbar #headerAccount .operator-login{font-size:13px!important;max-width:240px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap!important}
.app-user-slot:empty{display:none}
body[data-app-chrome]:has(.app-topbar){box-sizing:border-box;padding-top:var(--app-header-height)!important}
body[data-app-chrome]:has(.app-topbar)>main{margin-top:0!important;padding-top:20px!important}
body[data-app-chrome]:has(.app-topbar):not(:has(>aside))>main{margin-left:auto!important;margin-right:auto!important}
body[data-app-chrome]>aside.app-sidebar{top:var(--app-header-height)!important;height:calc(100dvh - var(--app-header-height))!important;border-top:0!important;padding-top:14px!important}
body[data-app-chrome]>aside.app-sidebar>.brand,body[data-app-chrome]>aside.app-sidebar>.workspace{display:none!important}
.sidebar-brand-image{width:44px;height:44px;object-fit:contain;background:white;border-radius:8px}.kiosk-brand-image{width:54px;height:54px;object-fit:contain;background:white;border-radius:9px}
.page-tools{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:0 0 16px}.page-tools>p{margin:0;color:var(--ui-muted,#bbc1ca)}.page-tools #updated{margin-left:auto}.legacy-header-nodes,.sidebar-toggle,.access-menu-button,.access-menu-dialog,#mobileAdminBar,#mobileAdminMenu{display:none!important}
body[data-app-chrome] header.app-topbar nav,body[data-app-chrome] header.app-topbar>.sales-menu{display:none!important}
@media(max-width:760px){body[data-app-chrome]{--app-header-height:86px}body[data-app-chrome] header.app-topbar{padding:9px 12px!important;gap:10px!important}body[data-app-chrome] .app-home{width:44px!important;min-width:44px!important;height:48px!important;flex-basis:44px!important}.app-home img{width:42px;height:44px}body[data-app-chrome] header.app-topbar h1{font-size:18px!important}body[data-app-chrome] .app-installation{font-size:10px!important;white-space:normal;max-width:230px}body[data-app-chrome] header.app-topbar #headerAccount{max-width:30%;flex-direction:column!important;align-items:flex-end!important;gap:3px!important}body[data-app-chrome] header.app-topbar #headerAccount .operator-login{font-size:10px!important;max-width:110px}body[data-app-chrome] header.app-topbar #remoteInboxButton{font-size:10px!important;min-height:25px!important;padding:3px 5px!important}.page-tools{gap:8px}}
@media print{body[data-app-chrome] header.app-topbar,body[data-app-chrome]>aside.app-sidebar,.page-tools{display:none!important}body[data-app-chrome]:has(.app-topbar){padding-top:0!important}body[data-app-chrome]:has(.app-topbar)>main{margin-top:0!important;padding-top:0!important}}
.entry-main{display:flex;justify-content:center;max-width:none!important;padding:48px 20px!important}.entry-card{width:min(420px,100%);margin-top:40px;padding:28px;border:1px solid var(--ui-line,#42464d);border-radius:12px;background:var(--ui-surface,#191c21)}.entry-card h2{font-size:22px;margin:0 0 12px}.entry-card p{color:var(--ui-muted,#bbc1ca)}.entry-card label{display:flex;flex-direction:column;gap:8px}.entry-card input{padding:12px;border:1px solid #555;border-radius:6px;background:var(--ui-header,#101317);color:white;font:inherit}.entry-card button{padding:12px 24px;min-height:44px;background:var(--ui-accent,#ff922e);color:#111;border:0;border-radius:6px;font:600 15px system-ui}.entry-card #entryError{color:#ff9b99}
