/* Embedded charts use the shared parent toolbar and retain their own symbol/OHLC legend. */
body.embed,body.embed[data-desk-density]{--top-h:0px}
body.embed .top{display:none!important}
body.embed .app{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr);grid-template-areas:"stage";height:100dvh}
body.embed .stage{padding:0!important;min-width:0;min-height:0}
body.embed .card{border:0;border-radius:0}
body.embed .legend{left:8px;top:6px;max-width:calc(100% - 72px)}
body.embed .lg-meta,body.embed .lg-star{display:none}
body.embed .lg-name{font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0}
body.embed .lg-ohlc{font-size:10px;gap:7px;white-space:nowrap;overflow-x:auto;scrollbar-width:none;pointer-events:auto}
body.embed .rail{top:6px;max-height:calc(100% - 12px)}
@media(max-width:767px), (max-width:1024px) and (max-height:500px) and (pointer:coarse){
 body.mobile-toolbar-mounted:not(.embed) #mobileToolbarRow>#symBtn{flex:0 1 auto;width:auto;max-width:calc(100% - 172px);min-width:0;touch-action:pan-y;user-select:none;-webkit-user-select:none}
 body.mobile-toolbar-mounted:not(.embed) #mobileToolbarRow #symName{flex:0 1 auto;width:auto;max-width:100%;min-width:0}
 body.mobile-toolbar-mounted:not(.embed) #mobileToolbarRow>#tfBtn{margin-left:auto}
}
