/* Shared star-only refresh logo and operation account controls. */
body[data-app] button.sb-refresh-brand.sb-refresh-brand.sb-refresh-brand{display:grid!important;place-items:center!important;flex:0 0 60px!important;width:60px!important;height:64px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important;border-radius:10px!important;cursor:pointer;transform:none!important}
body[data-app] .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand>span{display:block!important;position:relative!important;width:58px!important;height:60px!important;overflow:hidden!important}
body[data-app] .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{display:block!important;position:absolute!important;left:0!important;top:0!important;width:168px!important;max-width:none!important;height:auto!important;object-fit:initial!important;transform:none!important}
body[data-app] .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand:focus-visible{outline:2px solid #bb8bf4!important;outline-offset:3px}
body[data-app=admin] .sn-brand{justify-content:center!important}
body[data-app=operation] .sop-brand-logo-only{display:flex!important;justify-content:center!important;padding:12px!important;min-height:84px!important}
body[data-app=kitchen] .sk-minimal-top{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:16px!important}
body[data-app=operation] #starbyAdminLoggedUser{display:flex!important;align-items:center!important;gap:9px!important;min-width:0!important;max-width:230px!important;padding:0 8px!important;visibility:visible!important;opacity:1!important}
body[data-app=operation] #starbyAdminLoggedUser>span:last-child{display:block!important;min-width:0!important;max-width:170px!important}
body[data-app=operation] #starbyAdminLoggedUser strong{display:block!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-size:12px!important;color:var(--sop-ink,#f2edf9)!important}
body[data-app=operation] #starbyAdminLoggedUser small{display:block!important;font-size:10px!important;color:var(--sop-muted,#b9aecb)!important}
body[data-app=operation] #starbyAdminLoggedUser button.starby-profile-photo{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;flex:0 0 36px!important;padding:0!important;border-radius:50%!important;overflow:hidden!important;border:1px solid #78549a!important;background:#251933!important;color:#ceb1f4!important;cursor:pointer}
body[data-app=operation] .sop-topbar{flex-wrap:wrap!important;gap:14px!important}
body[data-app=operation] .sop-top-actions{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;min-width:0!important}
body[data-app=operation] :is(#operationCashOpenModal,#operationCashCloseModal,#operationGeneralOverviewModal).is-open{z-index:2200!important}
body[data-app=operation] .sop-overlay[hidden]{display:none!important}
body[data-app=operation] .sop-summary-content button{animation:none!important;transform:none!important;transition-property:color,background-color,border-color!important}
body[data-app=operation] #soundUnlockNotice#soundUnlockNotice{position:fixed!important;top:auto!important;right:auto!important;bottom:16px!important;left:260px!important;transform:none!important;width:max-content!important;max-width:calc(100vw - 32px)!important;z-index:90!important}
body[data-app=operation] #soundUnlockNotice#soundUnlockNotice::before,body[data-app=operation] #soundUnlockNotice#soundUnlockNotice::after{display:none!important}
@media(max-width:900px){body[data-app=operation] #soundUnlockNotice#soundUnlockNotice{left:16px!important;bottom:74px!important}}
@media(max-width:700px){body[data-app=operation] .sop-top-actions{width:100%!important;justify-content:flex-end!important}body[data-app=operation] #starbyAdminLoggedUser{max-width:190px!important}body[data-app=kitchen] .sk-minimal-top{gap:10px!important}}

.starby-profile-photo img,.sp-preview img{width:100%;height:100%;object-fit:cover;display:block}
.starby-profile-photo svg,.sp-preview svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round}
.starby-photo-dialog{box-sizing:border-box;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;margin:auto;padding:24px;border:1px solid #a881d54a;border-radius:18px;background:#181024;color:#eee5fb;box-shadow:0 24px 80px #0008;font-family:inherit}
.starby-photo-dialog::backdrop{background:#080411b8;backdrop-filter:blur(4px)}
.starby-photo-dialog header,.starby-photo-dialog footer,.sp-options{display:flex;align-items:center;justify-content:space-between;gap:12px}
.starby-photo-dialog h2{margin:0;font-size:19px;color:#f3ebff}
.starby-photo-dialog button{padding:10px 14px;border:1px solid #a881d540;border-radius:9px;background:#2b1c3f;color:#eee5fb;cursor:pointer;font:inherit;font-size:12px;box-shadow:none}
.starby-photo-dialog button:focus-visible{outline:2px solid #c4a0fa;outline-offset:3px}
.starby-photo-dialog button:disabled{opacity:.55;cursor:wait}
.starby-photo-dialog .sp-close{font-size:22px;padding:2px 10px;background:transparent}
.sp-preview{display:grid;place-items:center;width:110px;height:110px;margin:24px auto 16px;border-radius:50%;overflow:hidden;background:#352147;border:2px solid #9867cc;color:#ceb1f4}
.sp-preview svg{width:40px;height:40px}
.starby-photo-dialog p{font-size:12px;line-height:1.6;color:#baa8cd;text-align:center}
.sp-options{justify-content:center;flex-wrap:wrap}
.starby-photo-dialog .sp-message{min-height:38px;margin:14px 0}
.starby-photo-dialog footer{justify-content:flex-end;padding-top:16px;border-top:1px solid #a881d525}
.starby-photo-dialog .sp-save{background:#7940c8;border-color:#ab78eb;color:#fff}
/* Compact refresh star, without the large decorative brand card. */
body[data-app] button.sb-refresh-brand.sb-refresh-brand.sb-refresh-brand{flex-basis:44px!important;width:44px!important;height:44px!important;border-radius:8px!important}
body[data-app] .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand>span{width:38px!important;height:40px!important}
body[data-app] .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{width:110px!important}
body[data-app=operation] #operationSidebar .sop-brand.sop-brand-logo-only{min-height:56px!important;height:56px!important;margin:0 12px 8px!important;padding:6px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body[data-app=operation] #operationSidebar .sop-brand.sop-brand-logo-only::before,body[data-app=operation] #operationSidebar .sop-brand.sop-brand-logo-only::after{display:none!important}
body[data-app=admin] .sn-sidebar .sn-brand{min-height:64px!important;padding-top:10px!important;padding-bottom:10px!important}

/* Identidade orbital STARBY — V21. */
body[data-app] .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{position:static!important;width:100%!important;height:100%!important;object-fit:contain!important;max-width:100%!important}
body[data-app=admin] .sn-sidebar button.sb-refresh-brand.sb-refresh-brand.sb-refresh-brand{flex:1 1 auto!important;width:100%!important;min-width:0!important;max-width:184px!important;height:58px!important}
body[data-app=admin] .sn-sidebar .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand>span{width:100%!important;height:58px!important;display:grid!important;place-items:center!important}
html[data-admin-theme=light] body[data-app=admin] .sn-sidebar .sb-refresh-brand img{content:url('../../images/starby-orbital-light-v26.png')}
@media(min-width:901px){body[data-app=admin].sn-compact .sn-sidebar button.sb-refresh-brand.sb-refresh-brand.sb-refresh-brand{flex:0 0 44px!important;width:44px!important;height:44px!important}body[data-app=admin].sn-compact .sn-sidebar .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand>span{width:42px!important;height:42px!important}body[data-app=admin].sn-compact .sn-sidebar .sb-refresh-brand img{content:url('../../images/starby-orbital-symbol-v22.png')!important}}


/* V25: full logo in expanded menu, star only in compact menu. */
body[data-app=admin] .sn-sidebar .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{width:100%!important;max-width:180px!important;height:auto!important;max-height:56px!important;object-fit:contain!important;filter:none!important}
@media(min-width:901px){body[data-app=admin].sn-compact .sn-sidebar .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{width:40px!important;height:40px!important;max-width:40px!important}}

/* V26: preserve wordmark and larger tagline within sidebar. */
body[data-app=admin] .sn-sidebar .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{width:100%!important;max-width:188px!important;height:auto!important;max-height:56px!important;object-fit:contain!important}
@media(min-width:901px){body[data-app=admin].sn-compact .sn-sidebar .sb-refresh-brand.sb-refresh-brand.sb-refresh-brand img{width:40px!important;height:40px!important;max-width:40px!important}}
