@media screen{
#header-branches{position:relative;flex:0 0 auto;z-index:70;font-size:12px}#header-branches>summary{cursor:pointer;list-style:none;border:1px solid #a7bdd4;border-radius:6px;padding:8px 11px;background:#edf4ff;color:#173254;font-weight:700}#header-branches>div{position:absolute;right:0;top:100%;min-width:200px;max-height:350px;overflow:auto;background:white;border:1px solid #ccd7e3;box-shadow:0 5px 18px #10203b33}#header-branches>div>button{display:block!important;width:100%!important;text-align:left!important;border:0!important;border-bottom:1px solid #dbe3ef!important;border-radius:0!important;background:white!important;color:#172b49!important;padding:9px!important;font-size:12px!important}#header-branches>div>button:hover{background:#eef2ff!important}#header-branches[hidden]{display:none!important}
.promotion-workspace{width:calc(100vw - 30px)!important;max-width:none!important;height:calc(100dvh - 30px)!important;max-height:none!important;padding:12px!important;border-radius:8px!important;display:flex;flex-direction:column}.promotion-workspace:not([open]){display:none}.promotion-workspace>header{padding:8px 12px!important;background:#172b49!important;flex-shrink:0}.promotion-workspace>[data-content]{min-height:0;overflow:auto;flex:1}.promotion-workspace button{padding:5px 9px!important;min-height:28px!important;border-radius:4px!important;font-size:11px!important}.promotion-workspace label{font-size:11px!important;margin:3px 0!important}.promotion-workspace input:not([type=checkbox]),.promotion-workspace select{padding:6px!important;border-radius:4px!important;min-height:30px!important;font-size:12px!important}.promotion-meta{display:grid;grid-template-columns:2fr 1.5fr 1fr 1fr 1.4fr 1.4fr;gap:7px}.promotion-search{position:relative;margin:7px 0}.promotion-search>[data-suggestions]{position:absolute;background:white;z-index:4;box-shadow:0 5px 18px #172b4922;max-height:220px;overflow:auto;width:100%}.promotion-search [data-suggestions] button{display:block;width:100%;text-align:left;background:#f1f5f9;color:#172b49;border-bottom:1px solid #ccd7e3}.promotion-search [hidden]{display:none!important}.promotion-table-scroll{max-height:calc(100dvh - 330px);overflow:auto;border:1px solid #d8e1ed}.promotion-workspace td:nth-child(n+4):nth-child(-n+6){width:120px}.promotion-workspace td input{margin:0!important;width:100%!important;max-width:130px}.promotion-bottom{display:flex;gap:6px;align-items:center}.promotion-workspace .promotion-export{background:#226344}.promotion-workspace .promotion-list article{display:grid;grid-template-columns:2fr 1.5fr 2fr 3fr;align-items:center;padding:7px;margin:0;border-radius:0;border:1px solid #d8e1ed;background:white;font-size:12px}.promotion-workspace .promotion-list article:nth-child(even){background:#f1f5f9}.promotion-workspace .promotion-list article>div{display:flex;gap:3px;flex-wrap:wrap}.promotion-active{display:flex!important;gap:6px;align-items:center}@media(max-width:950px){.promotion-meta{grid-template-columns:repeat(3,minmax(0,1fr))}.promotion-workspace .promotion-list article{grid-template-columns:1fr 1fr}.promotion-table-scroll table{min-width:850px}}
}
@media screen{#embedded-page-host>.promotion-workspace.embedded-page{display:flex!important;flex-direction:column!important;height:100%!important;width:100%!important;overflow:hidden!important}#embedded-page-host #promotions-workspace #promotion-form{display:flex;flex-direction:column;height:100%;min-height:0}#embedded-page-host #promotions-workspace .promotion-table-scroll{flex:1;min-height:120px;max-height:none}#embedded-page-host #promotions-workspace .promotion-meta,#embedded-page-host #promotions-workspace .promotion-search,#embedded-page-host #promotions-workspace .promotion-bottom{flex-shrink:0}#embedded-page-host #promotions-workspace [data-content]{overflow:auto;min-height:0;flex:1}}
@media screen{.promotion-items{grid-column:1/-1;font-size:11px}.promotion-items summary{cursor:pointer;padding:5px;color:#36547a}.promotion-meta:has([name=value]:disabled){grid-template-columns:2fr 1.5fr 1fr 1.5fr 1.5fr}.promotion-items table{margin:4px 0}.promotion-workspace [hidden]{display:none!important}@media(max-width:950px){.promotion-meta:has([name=value]:disabled){grid-template-columns:repeat(3,minmax(0,1fr))}}}
/* Keep the global branch menu above in-page business workspaces. */
@media screen{
body.has-embedded-page #app-header{position:relative!important;z-index:40!important;overflow:visible!important}
#app-header-row,#header-controls{overflow:visible!important}
#header-branches>div{z-index:80;max-height:min(350px,60dvh)}
}
